Files
5e421c1a-7628-474a-8f69-9eb…/src/app/layout.tsx
2026-05-15 08:37:02 +00:00

49 lines
1.5 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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>
);
}