Files
6faaa212-2ede-424e-84be-4bf…/src/app/layout.tsx
2026-05-06 19:01:10 +00:00

49 lines
1.3 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 { Source_Sans_3 } from "next/font/google";
export const metadata: Metadata = {
title: 'Hot n Tasty Roll | Best Delicious Rolls in Town',
description: 'Experience the ultimate roll experience. Hand-crafted, fresh ingredients, lightning fast delivery.',
openGraph: {
"title": "Hot n Tasty Roll",
"description": "Fresh, hot, and tasty rolls delivered fast.",
"siteName": "Hot n Tasty"
},
};
const sourceSans3 = Source_Sans_3({
variable: "--font-source-sans-3",
subsets: ["latin"],
});
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${sourceSans3.variable} antialiased`}>
<Tag />
{children}
<script
dangerouslySetInnerHTML={{
__html: `${getVisualEditScript()}`
}}
/>
</body>
</ServiceWrapper>
</html>
);
}