Skip to content

Commit a39a839

Browse files
Company button (#17)
1 parent 8a2dd02 commit a39a839

File tree

2 files changed

+15
-12
lines changed

2 files changed

+15
-12
lines changed

src/sections/Hero/index.tsx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,22 @@ const Hero: React.FC = () => {
3535
<div className={s.heroInfo}>
3636
<div>Price Center West Ballroom</div>
3737
<div>October 17th, 2023 (10am to 4pm)</div>
38+
<div className={s.heroSubtitle}>Register Today!</div>
3839
<a
3940
className={s.registerButton}
4041
href="https://acmurl.com/space-registration"
4142
target="_blank"
4243
rel="noopener noreferrer"
4344
>
44-
Student Registration
45+
Students
46+
</a>
47+
<a
48+
className={s.registerButton}
49+
href="https://acmurl.com/space-company-registration"
50+
target="_blank"
51+
rel="noopener noreferrer"
52+
>
53+
Companies
4554
</a>
4655
</div>
4756
</div>

src/sections/Hero/style.module.scss

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
.heroTitle {
99
position: absolute;
1010
width: 100%;
11-
top: 18%;
11+
top: 15%;
1212
z-index: 1;
1313
}
1414

@@ -38,27 +38,19 @@
3838
position: absolute;
3939
height: 100vh;
4040
width: 100vw;
41-
margin-top: 11vw;
41+
margin-top: 14vw;
4242
padding: 0 2rem;
4343
z-index: 2;
4444
text-shadow: 0 0 4px vars.$black;
4545

46-
.heroSubtitle {
47-
line-height: 100%;
48-
margin-top: 6rem;
49-
color: vars.$white;
50-
font-size: 40px;
51-
font-weight: bolder;
52-
}
53-
5446
.heroInfo {
5547
color: vars.$white;
5648
font-size: 20px;
5749
}
5850

5951
.heroSubtitle {
6052
line-height: 100%;
61-
margin-top: 5vw;
53+
margin-top: max(2rem, 2vw);
6254
color: vars.$white;
6355
font-size: 40px;
6456
font-weight: bolder;
@@ -80,6 +72,8 @@
8072
border-radius: 9.86667px;
8173
display: inline-block;
8274
margin-top: 1rem;
75+
margin-left: 0.5rem;
76+
margin-right: 0.5rem;
8377
font-size: 1.5rem;
8478
transition: 0.3s ease;
8579

0 commit comments

Comments
 (0)