Skip to content
Merged
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
4 changes: 4 additions & 0 deletions app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
}

html {
/* Preserve the desktop composition at the 1344px reference width.
Tailwind's rem-based type, spacing, and container widths then grow together.
Keep the user's default font size on smaller screens. */
font-size: max(100%, calc(100vw / 84));
scroll-behavior: smooth;
scroll-padding-top: 4rem;
}
Expand Down
2 changes: 1 addition & 1 deletion components/AsciiHero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default function AsciiHero() {
src={gpkTriangleLogo}
alt="Graphics Programming Knights logo"
className="w-full h-full object-contain"
sizes="(min-width: 1280px) 512px, (min-width: 1024px) 45vw, (min-width: 640px) 384px, 288px"
sizes="(min-width: 1344px) 38vw, (min-width: 1280px) 512px, (min-width: 1024px) 45vw, (min-width: 640px) 384px, 288px"
priority
/>

Expand Down
2 changes: 1 addition & 1 deletion components/HeroSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function HeroSection() {
className="inline-flex shrink-0 items-center gap-2 rounded-full bg-accent px-6 py-3 text-lg font-medium text-text-primary transition-colors hover:bg-accent-light focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-accent-light"
>
Join Us
<FaDiscord size={28} />
<FaDiscord className="h-7 w-7" />
</a>

{/* Icons Row */}
Expand Down
Loading