Update src/app/layout.tsx

This commit is contained in:
2026-03-08 22:27:21 +00:00
parent 4f745c93c3
commit 4ff558d745

View File

@@ -1,17 +1,16 @@
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "./styles/variables.css";
import "./styles/base.css";
import "./globals.css";
import ServiceWrapper from "@/providers/serviceWrapper/ServiceWrapper";
import { Tag } from "@/components/shared/Tag";
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
});
export const metadata: Metadata = {
title: "Jobee - Dutch Job Listings & Recruitment Platform", description:
"Find your dream job in the Netherlands with Jobee. Browse thousands of opportunities across all 12 Dutch provinces and connect with top employers."};
title: "Jobee - Find Your Dream Job in the Netherlands", description:
"Discover thousands of job opportunities across all 12 Dutch provinces. Connect with top employers and build your career with Jobee."};
export default function RootLayout({
children,
@@ -21,17 +20,22 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<body className={`${inter.variable}`}>
<ServiceWrapper>
<Tag />
{children}
</ServiceWrapper>
{children}
<script
async
src="https://cdn.jsdelivr.net/npm/gsap@3.12.2/dist/gsap.min.js"
/>
<script
async
src="https://cdn.jsdelivr.net/npm/gsap@3.12.2/dist/ScrollTrigger.min.js"
dangerouslySetInnerHTML={{
__html: `
(function() {
try {
const theme = localStorage.getItem('theme') || 'light';
if (theme === 'dark') {
document.documentElement.classList.add('dark');
} else {
document.documentElement.classList.remove('dark');
}
} catch (e) {}
})()
`,
}}
/>
<script