Files
3d78cbb2-8827-4fe2-b2fb-d42…/src/app/layout.tsx
2026-04-06 16:16:51 +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 { getVisualEditScript } from "@/utils/visual-edit-script";
import { Open_Sans } from "next/font/google";
export const metadata: Metadata = {
title: 'Paws Haven Pet Shelter',
description: 'Find your new best friend at Paws Haven. We offer shelter and care to pets in need. Adopt a dog or cat today.',
openGraph: {
"title": "Paws Haven Pet Shelter",
"description": "Find your new best friend at Paws Haven.",
"siteName": "Paws Haven",
"type": "website"
},
};
const openSans = Open_Sans({
variable: "--font-open-sans",
subsets: ["latin"],
});
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${openSans.variable} antialiased`}>
{children}
<script
dangerouslySetInnerHTML={{
__html: `${getVisualEditScript()}`
}}
/>
</body>
</ServiceWrapper>
</html>
);
}