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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user