animation fixed in section

This commit is contained in:
2026-06-29 16:52:46 +05:30
parent 9449accea6
commit 114b49570b
36 changed files with 2308 additions and 1301 deletions

View File

@@ -1,5 +1,8 @@
import type { Metadata, Viewport } from "next";
import "./globals.css";
import { MotionProvider } from "@/components/layout/MotionProvider";
import { PremiumNavbar } from "@/components/layout/PremiumNavbar";
import { PremiumFooter } from "@/components/layout/PremiumFooter";
const jost = { variable: "font-display" };
const jostBody = { variable: "font-body" };
@@ -70,6 +73,7 @@ export default function RootLayout({
<html
lang="en"
className={`${jost.variable} ${jostBody.variable}`}
data-scroll-behavior="smooth"
suppressHydrationWarning
>
<head>
@@ -86,7 +90,15 @@ export default function RootLayout({
/>
</head>
<body className="bg-[#E8DCF2] text-on-surface font-body antialiased" suppressHydrationWarning>
{children}
<MotionProvider>
<div className="min-h-screen bg-white font-body text-[#16001D] antialiased flex flex-col">
<PremiumNavbar />
<main className="w-full overflow-x-hidden bg-white">
{children}
</main>
<PremiumFooter />
</div>
</MotionProvider>
</body>
</html>
);