feat(ui): add liquid glass lens cursor and ultra-smooth Lenis scrolling

This commit is contained in:
2026-11-05 11:18:35 +05:30
parent 7b5f21061a
commit b7238e7e1b
4 changed files with 261 additions and 47 deletions
+8 -5
View File
@@ -5,6 +5,7 @@ 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({
subsets: ['latin'],
@@ -94,11 +95,13 @@ 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">
<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>
<Footer config={config} currentLocale="en" />
<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>
<Footer config={config} currentLocale="en" />
</SmoothScrollProvider>
</body>
</html>
);