update: add smooth scroll

This commit is contained in:
BunyodL 2025-04-27 18:59:40 +05:00
parent 9cc3e70b47
commit 3cabf35be6

View File

@ -22,7 +22,12 @@ export default function RootLayout({
children: React.ReactNode; children: React.ReactNode;
}>) { }>) {
return ( return (
<html lang='en' suppressHydrationWarning> <html
lang='en'
suppressHydrationWarning
className='scroll-smooth'
style={{ scrollBehavior: 'smooth' }}
>
<body className={`${inter.className} antialiased`}> <body className={`${inter.className} antialiased`}>
<Providers> <Providers>
<Header /> <Header />