perf: eliminate high CPU/GPU load, remove smooth cursor, remove canvas particles, throttle scroll handler
This commit is contained in:
@@ -5,7 +5,6 @@ import { getSiteConfig } from '@/lib/config/loader';
|
||||
import { Navbar } from '@/components/ui/Navbar';
|
||||
import { Footer } from '@/components/ui/Footer';
|
||||
import { SmoothScrollProvider } from '@/components/ui/SmoothScrollProvider';
|
||||
import { SmoothCursor } from '@/components/magicui/smooth-cursor';
|
||||
|
||||
const poppinsFont = Poppins({
|
||||
subsets: ['latin'],
|
||||
@@ -95,7 +94,6 @@ export default function RootLayout({
|
||||
/>
|
||||
</head>
|
||||
<body className="min-h-screen flex flex-col antialiased bg-paper text-ink relative font-sans overflow-x-clip">
|
||||
<SmoothCursor />
|
||||
<SmoothScrollProvider>
|
||||
<a href="#main-content" className="skip-link">Skip to main content</a>
|
||||
<Navbar config={config} currentLocale="en" />
|
||||
|
||||
Reference in New Issue
Block a user