Update src/app/layout.tsx

This commit is contained in:
2026-03-08 22:24:32 +00:00
parent 3782a4c02d
commit 03f62ec21d

View File

@@ -1,17 +1,17 @@
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import { Inter } from "next/font/google";
import "./globals.css";
import ServiceWrapper from "@/providers/serviceWrapper/ServiceWrapper";
import { Tag } from "@/components/shared/Tag";
const geist = Geist({
variable: "--font-geist-sans", subsets: ["latin"],
});
const geistMono = Geist_Mono({
variable: "--font-geist-mono", subsets: ["latin"],
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 Platform", description: "Find your dream job in the Netherlands across all 12 provinces. Connect with top employers and build your career with Jobee."};
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."};
export default function RootLayout({
children,
@@ -20,18 +20,18 @@ export default function RootLayout({
}) {
return (
<html lang="en" suppressHydrationWarning>
<body className={`${geist.variable} ${geistMono.variable}`}>
{children}
<body className={`${inter.variable}`}>
<ServiceWrapper>
<Tag />
{children}
</ServiceWrapper>
<script
dangerouslySetInnerHTML={{
__html: `
if (localStorage.theme === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
document.documentElement.classList.add('dark')
} else {
document.documentElement.classList.remove('dark')
}
`,
}}
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"
/>
<script