Files
8287e8ee-fd4e-4ef6-8ffe-8f6…/src/app/layout.tsx
2026-04-05 16:36:37 +00:00

52 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 { getVisualEditScript } from "@/utils/visual-edit-script";
import { Mulish } from "next/font/google";
export const metadata: Metadata = {
title: 'Yoz Yogurt | Fresh, Fun, Frozen Yogurt',
description: 'Yoz Yogurt offers creamy, customizable frozen yogurt with dairy-free and low-calorie options. Visit us for the ultimate treat!',
openGraph: {
"title": "Yoz Yogurt",
"description": "Creamy. Fresh. Yours.",
"siteName": "Yoz Yogurt"
},
};
const mulish = Mulish({
variable: "--font-mulish",
subsets: ["latin"],
});
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={`${mulish.variable} ${inter.variable} antialiased`}>
{children}
<script
dangerouslySetInnerHTML={{
__html: `${getVisualEditScript()}`
}}
/>
</body>
</ServiceWrapper>
</html>
);
}