Updated CSS styles
This commit is contained in:
+15
-24
@@ -4,6 +4,7 @@ import "aos/dist/aos.css"
|
||||
import { Toaster } from "react-hot-toast";
|
||||
import Header from "./components/Header"
|
||||
import Footer from "./components//Footer"
|
||||
import AosInit from "./components/AosInit"
|
||||
import Script from "next/script"
|
||||
export default function RootLayout({
|
||||
children,
|
||||
@@ -21,35 +22,25 @@ export default function RootLayout({
|
||||
|
||||
<body>
|
||||
<Toaster position="top-right" />
|
||||
<AosInit />
|
||||
<Header />
|
||||
|
||||
{children}
|
||||
|
||||
|
||||
<Footer />
|
||||
{/* ✅ 1. Bootstrap */}
|
||||
<Script
|
||||
src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"
|
||||
strategy="afterInteractive"
|
||||
/>
|
||||
|
||||
{/* ✅ 2. Swiper JS (MISSING THA) */}
|
||||
<Script
|
||||
src="https://cdn.jsdelivr.net/npm/swiper@10/swiper-bundle.min.js"
|
||||
strategy="afterInteractive"
|
||||
/>
|
||||
|
||||
{/* ✅ 3. AOS JS */}
|
||||
<Script
|
||||
src="https://unpkg.com/aos@2.3.4/dist/aos.js"
|
||||
strategy="afterInteractive"
|
||||
/>
|
||||
|
||||
{/* ✅ 4. TERA main.js (LAST) */}
|
||||
<Script
|
||||
src="/assets/js/main.js"
|
||||
strategy="afterInteractive"
|
||||
/>
|
||||
<Footer />
|
||||
<Script
|
||||
src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"
|
||||
strategy="afterInteractive"
|
||||
/>
|
||||
<Script
|
||||
src="https://cdn.jsdelivr.net/npm/swiper@10/swiper-bundle.min.js"
|
||||
strategy="afterInteractive"
|
||||
/>
|
||||
<Script
|
||||
src="/assets/js/main.js"
|
||||
strategy="afterInteractive"
|
||||
/>
|
||||
</body>
|
||||
</html>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user