Skip to content

Commit 752a560

Browse files
jbriones1jbriones1
authored andcommitted
Updating with PR#114: Frosh 2025 MVP
1 parent 249f77d commit 752a560

File tree

13 files changed

+48545
-0
lines changed

13 files changed

+48545
-0
lines changed
259 KB
Loading

frosh/2025/images/mountains.png

1.14 MB
Loading

frosh/2025/images/mountains.svg

Lines changed: 24373 additions & 0 deletions
Loading

frosh/2025/images/mountains_small.svg

Lines changed: 22945 additions & 0 deletions
Loading

frosh/2025/images/reeds-width.png

588 KB
Loading

frosh/2025/images/reeds-width.svg

Lines changed: 289 additions & 0 deletions
Loading

frosh/2025/index.html

Lines changed: 456 additions & 0 deletions
Large diffs are not rendered by default.

frosh/2025/main.js

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
function reedsParting() {
2+
const scrollTrigger = {
3+
trigger: '.hero',
4+
start: 'top top',
5+
end: 'bottom top',
6+
toggleActions: 'play none reverse none',
7+
scrub: true
8+
};
9+
10+
gsap.to('.reeds > .left', {
11+
x: '-100vw',
12+
scrollTrigger
13+
});
14+
15+
gsap.to('.reeds > .right', {
16+
x: '100vw',
17+
scrollTrigger
18+
});
19+
}
20+
21+
window.addEventListener('load', _ => {
22+
gsap.registerPlugin(ScrollTrigger, ScrollSmoother);
23+
reedsParting();
24+
});

frosh/2025/reset.min.css

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
*,
2+
*::before,
3+
*::after {
4+
box-sizing: border-box;
5+
}
6+
7+
body,
8+
h1,
9+
h2,
10+
h3,
11+
h4,
12+
p,
13+
figure,
14+
blockquote,
15+
dl,
16+
dd {
17+
margin: 0;
18+
}
19+
20+
ul[role='list'],
21+
ol[role='list'] {
22+
list-style: none;
23+
}
24+
25+
html:focus-within {
26+
scroll-behavior: smooth;
27+
}
28+
29+
body {
30+
min-height: 100vh;
31+
text-rendering: optimizeSpeed;
32+
line-height: 1.5;
33+
}
34+
35+
a:not([class]) {
36+
text-decoration-skip-ink: auto;
37+
}
38+
39+
img,
40+
picture {
41+
max-width: 100%;
42+
display: block;
43+
}
44+
45+
input,
46+
textarea,
47+
select {
48+
font: inherit;
49+
}
50+
51+
@media (prefers-reduced-motion: reduce) {
52+
html:focus-within {
53+
scroll-behavior: auto;
54+
}
55+
56+
*,
57+
*::before,
58+
*::after {
59+
animation-duration: 0.01ms !important;
60+
animation-iteration-count: 1 !important;
61+
transition-duration: 0.01ms !important;
62+
scroll-behavior: auto !important;
63+
}
64+
}

0 commit comments

Comments
 (0)