Files
b77b686f-dbc6-4a5b-9374-4bc…/src/app/layout.tsx
2026-05-12 21:13:53 +00:00

48 lines
1.4 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 { getVisualEditScript } from "@/utils/visual-edit-script";
import { Mulish } from "next/font/google";
export const metadata: Metadata = {
title: 'The Table on Main | River Falls Diner',
description: 'River Falls\' favorite diner for breakfast and brunch. Enjoy homemade pies, signature cinnamon rolls, and hearty classics in a cozy atmosphere.',
openGraph: {
"title": "The Table on Main | River Falls Diner",
"description": "Join us for River Falls' best breakfast and brunch. Fresh pies, cinnamon rolls, and local favorite classics.",
"siteName": "The Table on Main"
},
};
const mulish = Mulish({
variable: "--font-mulish",
subsets: ["latin"],
});
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${mulish.variable} antialiased`}>
{children}
<script
dangerouslySetInnerHTML={{
__html: `${getVisualEditScript()}`
}}
/>
</body>
</ServiceWrapper>
</html>
);
}