perf: eliminate high CPU/GPU load, remove smooth cursor, remove canvas particles, throttle scroll handler

This commit is contained in:
Vaishno Singh
2026-11-07 02:25:00 +05:30
parent 58056f39f1
commit 4441c3aee3
4 changed files with 35 additions and 37 deletions
-2
View File
@@ -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" />