Files
dc7eaa00-e157-4d84-83e4-8e9…/src/app/layout.tsx
2026-03-12 18:26:05 +00:00

77 lines
2.2 KiB
TypeScript

import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Montserrat } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script";
const halant = Halant({
variable: "--font-halant",
subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
const montserrat = Montserrat({
variable: "--font-montserrat",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "DNK Motorcycle Club - Ride the Open Road",
description: "Join DNK Motorcycle Club - a community of passionate riders dedicated to brotherhood, freedom, and the motorcycle lifestyle. Explore our fleet and upcoming events.",
keywords: "motorcycle club, riders, community, events, bikes, motorcycle lifestyle",
openGraph: {
title: "DNK Motorcycle Club",
description: "Experience brotherhood and freedom with DNK. Your journey starts here.",
url: "https://dnkmotorcycleclub.com",
siteName: "DNK Motorcycle Club",
type: "website",
images: [
{
url: "http://img.b2bpic.net/free-photo/motorcycle-engine-close-up_1398-286.jpg",
alt: "DNK Motorcycle Club"
}
]
},
twitter: {
card: "summary_large_image",
title: "DNK Motorcycle Club",
description: "Join the brotherhood. Ride the open road.",
images: ["http://img.b2bpic.net/free-photo/motorcycle-engine-close-up_1398-286.jpg"]
},
robots: {
index: true,
follow: true
}
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${montserrat.variable} antialiased`}
>
<Tag />
{children}
<script
dangerouslySetInnerHTML={{
__html: `${getVisualEditScript()}`
}}
/>
</body>
</ServiceWrapper>
</html>
);
}