perf(smoothness): eliminate scroll lag via responsive WebP hero, native 120Hz smooth scroll, intersection observer navbar, and removing 50+ backdrop-filter blur bottlenecks

This commit is contained in:
2026-11-05 17:15:36 +05:30
parent 44cb60ecfe
commit d13008b334
11 changed files with 73 additions and 174 deletions
-2
View File
@@ -4,7 +4,6 @@ import './globals.css';
import { getSiteConfig } from '@/lib/config/loader';
import { Navbar } from '@/components/ui/Navbar';
import { Footer } from '@/components/ui/Footer';
import { SmoothCursor } from '@/components/magicui/smooth-cursor';
import { SmoothScrollProvider } from '@/components/ui/SmoothScrollProvider';
const poppinsFont = Poppins({
@@ -96,7 +95,6 @@ export default function RootLayout({
</head>
<body className="min-h-screen flex flex-col antialiased selection:bg-blue-600 selection:text-white bg-[#FAF8F5] text-slate-900 relative font-sans">
<SmoothScrollProvider>
<SmoothCursor />
<a href="#main-content" className="skip-link">Skip to main content</a>
<Navbar config={config} currentLocale="en" />
<main id="main-content" className="flex-1">{children}</main>