From 2bee14e17df93a4341c295e2b11b0929f2b7fa06 Mon Sep 17 00:00:00 2001 From: Mike Karl Date: Tue, 28 Oct 2025 20:26:55 +0100 Subject: [PATCH] Enhance Navbar styling and adjust Section component padding for improved layout; add will-change property to polka class in global CSS for better performance. --- app/components/section.tsx | 2 +- app/globals.css | 1 + app/navbar.tsx | 7 +------ 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/app/components/section.tsx b/app/components/section.tsx index aff3821..45e512d 100644 --- a/app/components/section.tsx +++ b/app/components/section.tsx @@ -19,7 +19,7 @@ export default function Section({ const variantClasses = { default: "bg-stone-900", - hero: "polka pt-20 lg:pt-40", + hero: "polka pt-32 lg:pt-40", minimal: "bg-transparent" }; diff --git a/app/globals.css b/app/globals.css index fa289b6..ebf49fc 100644 --- a/app/globals.css +++ b/app/globals.css @@ -16,6 +16,7 @@ body { .polka{ overflow: hidden; + will-change: transform; } .polka::before{ diff --git a/app/navbar.tsx b/app/navbar.tsx index aaa4899..d69f725 100644 --- a/app/navbar.tsx +++ b/app/navbar.tsx @@ -66,7 +66,7 @@ export default function Navbar() { {/* Mobile Menu */}
-
+
{navItems.map((item) => ( ))} -
- -