Files
2a0e5807-460d-458d-bcbb-aeb…/src/app/layout.tsx
2026-05-25 13:43:02 +00:00

41 lines
1.1 KiB
TypeScript

import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import { getVisualEditScript } from "@/utils/visual-edit-script";
import { Open_Sans } from "next/font/google";
export const metadata: Metadata = {
title: 'Audi Club Elite | Exclusive Automotive Community',
description: 'Join Audi Club Elite, an exclusive community for passionate Audi enthusiasts. Access track days, events, and premium automotive experiences.',
};
const openSans = Open_Sans({
variable: "--font-open-sans", subsets: ["latin"],
});
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${openSans.variable} antialiased`}>
{children}
<script
dangerouslySetInnerHTML={{
__html: `${getVisualEditScript()}`
}}
/>
</body>
</ServiceWrapper>
</html>
);
}