Skip to content

Commit d737aac

Browse files
authoredApr 5, 2022
Merge pull request #16 from HackGT/timeline2022
Added timeline from HackGT 1 to HackGT 7 with ChakraUI support
2 parents d238019 + bec5976 commit d737aac

25 files changed

+325
-47
lines changed
 

‎components/navbar.tsx

+1-5
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,7 @@ export default function NavBar() {
6262
className={`${styles.line} ${styles.top}`}
6363
d="m 70,33 h -40 c 0,0 -8.5,-0.149796 -8.5,8.5 0,8.649796 8.5,8.5 8.5,8.5 h 20 v -20"
6464
/>
65-
<path
66-
fill="#fff"
67-
className={`${styles.line} ${styles.middle}`}
68-
d="m 70,50 h -40"
69-
/>
65+
<path fill="#fff" className={`${styles.line} ${styles.middle}`} d="m 70,50 h -40" />
7066
<path
7167
fill="#fff"
7268
className={`${styles.line} ${styles.bottom}`}

‎pages/events.tsx

+12-22
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@ const previousEvents = [
6262
},
6363
{
6464
name: "HackGTeeny",
65-
description:
66-
"HackGT’s inaugural HackGTeeny, a hackathon geared towards beginners",
65+
description: "HackGT’s inaugural HackGTeeny, a hackathon geared towards beginners",
6766
coverImage: "hackgteeny.jpg",
6867
},
6968
];
@@ -75,21 +74,14 @@ export default function Events(props: Props) {
7574
<div className="max-width-600">
7675
<Text as="h1">Events</Text>
7776
<Text>
78-
Hackathons are 36-hour events where students from across the country
79-
come together for a weekend to create anything that shows off their
80-
creativity and passion for development. You may choose any platform,
81-
programming language, or format to show how you re-imagine
77+
Hackathons are 36-hour events where students from across the country come together for a
78+
weekend to create anything that shows off their creativity and passion for development.
79+
You may choose any platform, programming language, or format to show how you re-imagine
8280
solutions.
8381
</Text>
8482
</div>
8583
<div className="splash-hex hex-container">
86-
<Hex
87-
x="59%"
88-
y="10%"
89-
size={200}
90-
color="rgba(255,255,255,0.35)"
91-
rotation={13}
92-
/>
84+
<Hex x="59%" y="10%" size={200} color="rgba(255,255,255,0.35)" rotation={13} />
9385
<Hex
9486
x="45%"
9587
y="20%"
@@ -127,23 +119,21 @@ export default function Events(props: Props) {
127119
HackGT
128120
</Text>
129121
<Text mb="3">
130-
HackGT is our annual flagship hackathon where students from across the
131-
country come together to celebrate creativity and innovation. We
132-
provide resources, workshops, and mentorship to allow students
133-
transform their imagination into reality.
122+
HackGT is our annual flagship hackathon where students from across the country come
123+
together to celebrate creativity and innovation. We provide resources, workshops, and
124+
mentorship to allow students transform their imagination into reality.
134125
</Text>
135-
<Link href="https://2021.hack.gt">
126+
<Link href="/timeline">
136127
<Button colorScheme="purple">Learn More</Button>
137128
</Link>
138129

139130
<Text as="h3" mb="3" mt="10">
140131
Catalyst
141132
</Text>
142133
<Text mb="3">
143-
Catalyst is HexLab’s community outreach event for high school students
144-
with limited STEAM exposure. Participants at Catalyst have the
145-
opportunity to learn about Computer Science and other related fields
146-
as a career path as well as be able to receive mentorship from
134+
Catalyst is HexLab’s community outreach event for high school students with limited STEAM
135+
exposure. Participants at Catalyst have the opportunity to learn about Computer Science
136+
and other related fields as a career path as well as be able to receive mentorship from
147137
industry professionals and Georgia Tech alumni.{" "}
148138
</Text>
149139
<Link href="https://catalyst.hack.gt">

‎pages/timeline.module.css

+71
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
.topContainer {
2+
display: flex;
3+
}
4+
5+
@media (max-width: 700px) {
6+
.topContainer {
7+
display: flex;
8+
width: 150vw;
9+
text-align: center;
10+
margin-top: 5vh;
11+
}
12+
}
13+
14+
.event {
15+
width: 80%;
16+
min-height: 40%;
17+
border-left: 4px solid var(--color-blue);
18+
margin: 0 auto;
19+
padding: 2%;
20+
}
21+
22+
.event h2 {
23+
margin: 0;
24+
}
25+
26+
.eventDescription {
27+
width: 50%;
28+
height: 50%;
29+
}
30+
31+
.mediaContainer {
32+
flex: 1;
33+
}
34+
35+
.imageContainer {
36+
display: flex;
37+
flex-wrap: wrap;
38+
flex-direction: row;
39+
align-items: flex-start;
40+
padding: 0px;
41+
width: 100%;
42+
}
43+
44+
.image {
45+
margin-right: 20px;
46+
margin-top: 20px;
47+
margin-bottom: 20px;
48+
max-height: 300px;
49+
}
50+
51+
.buttonContainer {
52+
display: flex;
53+
flex-direction: row;
54+
align-items: flex-start;
55+
padding: 0px;
56+
margin: 1rem;
57+
}
58+
59+
.buttonContainer > * {
60+
margin-right: 1rem;
61+
}
62+
63+
.customMargin {
64+
margin-bottom: 100rem;
65+
padding-bottom: 100rem;
66+
}
67+
68+
.timelineStyle {
69+
margin-top: 8rem;
70+
margin-bottom: 8rem;
71+
}

0 commit comments

Comments
 (0)