49 lines
1.5 KiB
TypeScript
49 lines
1.5 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 { Libre_Baskerville } from "next/font/google";
|
||
import { Poppins } from "next/font/google";
|
||
|
||
|
||
|
||
export const metadata: Metadata = {
|
||
title: 'Caphe am Eberstein | Dein Brunch & Kaffee Spot in Pforzheim',
|
||
description: 'Entdecke das Caphe am Eberstein in Pforzheim – moderner Brunch, Egg Drop Sandwiches, Specialty Coffee und eine gemütliche Atmosphäre in der Nordstadt.',
|
||
openGraph: {
|
||
"title": "Caphe am Eberstein | Pforzheims gemütlicher Treffpunkt",
|
||
"siteName": "Caphe am Eberstein",
|
||
"type": "website"
|
||
},
|
||
};
|
||
|
||
|
||
const poppins = Poppins({ variable: "--font-poppins", subsets: ["latin"], weight: ["400", "600", "700"] });
|
||
const inter = Inter({ variable: "--font-inter", subsets: ["latin"] });
|
||
|
||
export default function RootLayout({
|
||
children,
|
||
}: Readonly<{
|
||
children: React.ReactNode;
|
||
}>) {
|
||
return (
|
||
<html lang="en" suppressHydrationWarning>
|
||
<ServiceWrapper>
|
||
<body className={`${poppins.variable} ${inter.variable} antialiased`}>
|
||
<Tag />
|
||
{children}
|
||
<script
|
||
dangerouslySetInnerHTML={{
|
||
__html: `${getVisualEditScript()}`
|
||
}}
|
||
/>
|
||
</body>
|
||
</ServiceWrapper>
|
||
</html>
|
||
);
|
||
}
|