feat(ui): add liquid glass lens cursor and ultra-smooth Lenis scrolling
This commit is contained in:
+8
-5
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user