Skip to content

Commit e7246a9

Browse files
authored
Merge pull request #1054 from codeRIT/bh-1046
Added "view gallery" button
2 parents c94e497 + 9d3a2b0 commit e7246a9

2 files changed

Lines changed: 33 additions & 24 deletions

File tree

index.html

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,16 @@ <h2>What is a Hackathon?</h2>
131131
<p>Students work in teams and mentors are present to offer help. Sponsors attend to help, recruit, and promote their products. Teams compete in different categories and prizes are awarded, but everyone learns and everyone wins!</p>
132132
<p>Come spend 24 hours with us at BrickHack and dedicate time to learn, collaborate, build, and innovate.</p>
133133
</div>
134-
<a href="https://mlh.io/" id="mlh" target="_blank" rel="noopener noreferrer">
135-
<div>
134+
<div id="hackathon-buttons">
135+
<a href="https://mlh.io/" id="mlh" target="_blank" rel="noopener noreferrer">
136136
<i class="fas fa-arrow-right"></i>
137137
<p>Visit Major League Hacking (MLH)</p>
138-
</div>
139-
</a>
138+
</a>
139+
<a href="javascript:void(0);" id="gallery" rel="noopener noreferrer">
140+
<i class="fas fa-tools"></i>
141+
<p>Gallery (coming soon!)</p>
142+
</a>
143+
</div>
140144
</div>
141145
</section>
142146
<section id="schedule">

sass/main.scss

Lines changed: 25 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -357,29 +357,34 @@ nav {
357357
}
358358
}
359359

360-
#mlh {
361-
@include button;
362-
@include button-effect($light-blue);
363-
background-color: $light-blue;
364-
margin: 0 auto;
365-
padding: 30px;
366-
border-radius: 20px;
360+
#hackathon-buttons {
361+
display: flex;
362+
flex-direction: column;
363+
margin: 0px auto;
364+
align-items: flex-start;
367365

368-
i, p {
369-
display: inline;
370-
}
366+
#mlh, #gallery {
367+
@include button;
368+
@include button-effect($light-blue);
369+
display: flex;
370+
align-items: center;
371+
background-color: $light-blue;
372+
margin: 24px 0px;
373+
padding: 30px;
374+
border-radius: $img-border-radius;
375+
width: 100%;
371376

372-
p {
373-
font-size: 1.2em;
374-
font-weight: $font-medium;
375-
}
377+
p {
378+
margin: 0px;
379+
font-size: 1.2em;
380+
font-weight: $font-medium;
381+
}
376382

377-
// TODO: Needs better alignment.
378-
i.fa-arrow-right {
379-
font-size: 1.6em;
380-
color: $red;
381-
vertical-align: text-bottom;
382-
padding-right: 10px;
383+
i.fa-arrow-right, i.fa-tools {
384+
font-size: 1.6em;
385+
color: $red;
386+
padding-right: 10px;
387+
}
383388
}
384389
}
385390
}

0 commit comments

Comments
 (0)