Skip to content

Added a new hero section with a clipped background, GSAP animations for the landing page hero section, and responsive dark mode support for the decorative 100xDevs text. #1812

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"embla-carousel-react": "^8.0.0",
"framer-motion": "^11.3.28",
"fuse.js": "^7.0.0",
"gsap": "^3.12.7",
"hammerjs": "^2.0.8",
"ioredis": "^5.4.1",
"jose": "^5.2.2",
Expand Down
8 changes: 8 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added public/fonts/font-head.woff2
Binary file not shown.
36 changes: 35 additions & 1 deletion src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@
body {
@apply bg-background text-foreground;
}
@font-face {
font-family: "font-head";
src: url("/fonts/font-head.woff2") format("woff2");
}
}

.vjs-tech {
Expand Down Expand Up @@ -406,4 +410,34 @@

.vjs-text-track-cue {
display: none !important;
}
}

/* CSS styles for the floating navbar */
/* Extra shadow for floating effect */
.floating-nav {
position: fixed;
top: 0;
left: 0;
right: 0;
width: 100%;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Mobile adjustment */
@media (max-width: 640px) {
.floating-nav {
left: 0;
right: 0;
}
}

/* CSS styles for the font-head */
.font-head {
font-family: font-head, sanf-serif;
}

.special-font b {
font-family: "font-head";
font-feature-settings: "ss01" on;
}

Loading