Skip to content

Commit 04d555d

Browse files
authored
Add discord button to hero (#1155)
* Add discord button to registration; no mobile * Add discord link * Mobile button progress * More buton * Remove stray comment
1 parent a72c5bb commit 04d555d

File tree

2 files changed

+65
-48
lines changed

2 files changed

+65
-48
lines changed

index.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,11 @@
5858
<!-- Background images due to easier positioning. -->
5959
<div id="hero-text">
6060
<p id="bh7">BRICKHACK 7</p>
61-
<p id="premiere">RIT's Premiere Hackathon</p>
62-
<p id="dates">FEB 20-21 | ROCHESTER INSTITUTE OF TECHNOLOGY</p>
63-
<a id="register" href="https://apply.brickhack.io/users/sign_up">REGISTER</a>
61+
<p id="dates">FEB 20-21 | RIT DIGITAL HACKATHON</p>
62+
<div id="action-buttons">
63+
<a id="register" href="https://apply.brickhack.io/users/sign_up">REGISTER</a>
64+
<a id="discord" href="https://discord.gg/4xjWuSeP9Q">DISCORD</a>
65+
</div>
6466
</div>
6567
</div>
6668
<div id="desk-container" class="rellax" data-rellax-speed="0" data-rellax-desktop-speed="-8">

sass/main.scss

Lines changed: 60 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ $title-size: 3em;
4141
text-decoration: none;
4242
user-select: none;
4343
padding: 10px 20px;
44-
border-radius: 50px;
44+
border-radius: 20px;
4545
display: inline-block;
4646
color: white;
4747
cursor: pointer;
@@ -191,28 +191,37 @@ nav {
191191
// This lets the different h elements
192192
// appear to be equally spaced.
193193
line-height: 0.7;
194-
margin-bottom: 30px;
194+
margin-bottom: 40px;
195195
}
196196

197197
#bh7 {
198-
font-size: 5.4em;
198+
font-size: 6em;
199199
font-weight: $font-extrabold;
200200
}
201201

202-
#premiere {
203-
font-size: 2.5em;
204-
font-weight: $font-medium;
205-
}
206-
207202
#dates {
208-
font-size: 1.3em;
209-
font-weight: $font-regular;
203+
font-size: 2em;
204+
font-weight: $font-extrabold;
210205
}
211206

212-
#register {
213-
@include button;
214-
padding: 10px 80px;
215-
font-size: 2em;
207+
#action-buttons {
208+
display: flex;
209+
justify-content: space-between;
210+
width: 80%;
211+
212+
#register, #discord {
213+
@include button;
214+
font-size: 2.3em;
215+
width: 48%;
216+
text-align: center;
217+
}
218+
219+
#discord {
220+
background-color: $dark-blue;
221+
&:hover {
222+
background-color: lighten($dark-blue, 5%);
223+
}
224+
}
216225
}
217226

218227
// Hero Graphics
@@ -1231,18 +1240,6 @@ footer {
12311240
}
12321241

12331242
#hero {
1234-
#bh7 {
1235-
font-size: 6.4em;
1236-
}
1237-
1238-
#premiere {
1239-
font-size: 3em;
1240-
}
1241-
1242-
#dates {
1243-
font-size: 1.6em;
1244-
}
1245-
12461243
#register {
12471244
font-size: 2.3em;
12481245
}
@@ -1271,18 +1268,13 @@ footer {
12711268
}
12721269

12731270
#hero {
1274-
12751271
#bh7 {
12761272
font-size: 5.0em;
12771273
}
12781274

1279-
#premiere {
1280-
font-size: 2.0em;
1281-
}
1282-
1283-
#dates {
1284-
font-size: 1.1em;
1285-
}
1275+
// #dates {
1276+
// font-size: 1.7em;
1277+
// }
12861278

12871279
#shapes {
12881280
right: -100px;
@@ -1384,6 +1376,20 @@ footer {
13841376

13851377
@media screen and (max-width: 1220px) {
13861378

1379+
#hero {
1380+
#dates {
1381+
font-size: 1.5em;
1382+
}
1383+
1384+
#action-buttons {
1385+
width: 70%;
1386+
1387+
#register, #discord {
1388+
font-size: 1.7em;
1389+
}
1390+
}
1391+
}
1392+
13871393
#hackathon #hackathon-content #hackathon-buttons {
13881394
width: 100%;
13891395
}
@@ -1512,16 +1518,20 @@ footer {
15121518
font-size: 4.2em;
15131519
}
15141520

1515-
#premiere {
1516-
font-size: 2.0em;
1521+
#hero-text {
1522+
margin-top: 10vh;
15171523
}
15181524

15191525
#dates {
1520-
font-size: 1.1em;
1526+
font-size: 1.5em;
15211527
}
15221528

1523-
#hero-text {
1524-
margin-top: 10vh;
1529+
#action-buttons {
1530+
width: 60%;
1531+
1532+
#register, #discord {
1533+
font-size: 1.2em;
1534+
}
15251535
}
15261536

15271537
#desk-container {
@@ -1718,18 +1728,23 @@ footer {
17181728

17191729
p {
17201730
line-height: 0.4;
1731+
margin-bottom: 25px;
17211732
}
17221733

17231734
#bh7 {
1724-
font-size: 2.4em;
1735+
font-size: 3em;
17251736
}
17261737

1727-
#premiere {
1728-
font-size: 1.5em;
1738+
#dates {
1739+
font-size: 1em;
17291740
}
17301741

1731-
#dates {
1732-
font-size: 0.7em;
1742+
#action-buttons {
1743+
width: 80%;
1744+
1745+
#register, #discord {
1746+
font-size: 1.2em;
1747+
}
17331748
}
17341749

17351750
#desk-container {
@@ -1832,7 +1847,7 @@ footer {
18321847

18331848
@media screen and (max-width: 320px) {
18341849

1835-
#hero #premiere {
1850+
#hero #dates {
18361851
font-size: 1.2em;
18371852
}
18381853
}

0 commit comments

Comments
 (0)