add smooth scrolling

This commit is contained in:
topsinoty
2026-06-04 18:42:03 +03:00
parent d13f0b657f
commit 71dab30ec9

View File

@@ -18,7 +18,7 @@ export default function RootLayout({
children: React.ReactNode; children: React.ReactNode;
}) { }) {
return ( return (
<html suppressHydrationWarning> <html suppressHydrationWarning data-scroll-behavior="smooth" className="scroll-smooth">
<body <body
className={`${workSans.className} antialiased bg-[#EEE5E5] dark:bg-[#0E0F19]`} className={`${workSans.className} antialiased bg-[#EEE5E5] dark:bg-[#0E0F19]`}
> >