70 lines
2.0 KiB
TypeScript
70 lines
2.0 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Halant } from "next/font/google";
|
|
import { Inter } from "next/font/google";
|
|
import "./globals.css";
|
|
import "@/lib/gsap-setup";
|
|
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
import Tag from "@/tag/Tag";
|
|
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
|
import { Montserrat } from "next/font/google";
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'Kevin 94 community - Car Enthusiast Community',
|
|
description: 'Join Kevin 94 community, the ultimate Discord server for car enthusiasts. Connect with fellow gearheads, share builds, discuss tuning, and explore the world of automotive passion.',
|
|
keywords: ["car enthusiasts, discord server, automotive community, car builds, tuning, car meets, racing, classic cars, supercars"],
|
|
openGraph: {
|
|
"title": "Drive Tribe Discord",
|
|
"description": "Your ultimate online hub for car enthusiasts.",
|
|
"url": "https://www.yourdomain.com",
|
|
"siteName": "Drive Tribe",
|
|
"images": [
|
|
{
|
|
"url": "http://img.b2bpic.net/free-photo/gray-coupe-road-focus_417767-24.jpg",
|
|
"alt": "Sports car on a racing track"
|
|
}
|
|
],
|
|
"type": "website"
|
|
},
|
|
twitter: {
|
|
"card": "summary_large_image",
|
|
"title": "Drive Tribe Discord",
|
|
"description": "Connect with fellow car enthusiasts on Drive Tribe!",
|
|
"images": [
|
|
"http://img.b2bpic.net/free-photo/gray-coupe-road-focus_417767-24.jpg"
|
|
]
|
|
},
|
|
robots: {
|
|
"index": true,
|
|
"follow": true
|
|
},
|
|
};
|
|
|
|
const montserrat = Montserrat({
|
|
variable: "--font-montserrat",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<ServiceWrapper>
|
|
<body className={`${montserrat.variable} antialiased`}>
|
|
<Tag />
|
|
{children}
|
|
<script
|
|
dangerouslySetInnerHTML={{
|
|
__html: `${getVisualEditScript()}`
|
|
}}
|
|
/>
|
|
</body>
|
|
</ServiceWrapper>
|
|
</html>
|
|
);
|
|
}
|