Update src/app/layout.tsx
This commit is contained in:
@@ -1,19 +1,21 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Geist, Geist_Mono } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import ServiceWrapper from "@/components/service/ServiceWrapper";
|
||||
import { Tag } from "@/components/ui/tag";
|
||||
'use client';
|
||||
|
||||
const geistSans = Geist({
|
||||
variable: "--font-geist-sans", subsets: ["latin"],
|
||||
});
|
||||
import type { Metadata } from 'next';
|
||||
import { Inter_Tight } from 'next/font/google';
|
||||
import './globals.css';
|
||||
import { ServiceWrapper } from '@/context/ServiceWrapper';
|
||||
import { Tag } from '@/components/tag';
|
||||
|
||||
const geistMono = Geist_Mono({
|
||||
variable: "--font-geist-mono", subsets: ["latin"],
|
||||
const interTight = Inter_Tight({
|
||||
variable: '--font-inter-tight',
|
||||
subsets: ['latin'],
|
||||
weight: ['100', '200', '300', '400', '500', '600', '700', '800', '900'],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "CarLed - Petrolhead Community", description: "Discover the passion and innovation behind CarLed, celebrating the petrolhead community."};
|
||||
title: 'Create Next App',
|
||||
description: 'Generated by create next app',
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
@@ -22,14 +24,19 @@ export default function RootLayout({
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<body
|
||||
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
|
||||
>
|
||||
<body className={`${interTight.variable} antialiased`}>
|
||||
<ServiceWrapper>
|
||||
<Tag />
|
||||
{children}
|
||||
</ServiceWrapper>
|
||||
<script async src="https://cdn.splitbee.io/sb.js"></script>
|
||||
<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"
|
||||
/>
|
||||
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
|
||||
Reference in New Issue
Block a user