42 lines
1.2 KiB
TypeScript
42 lines
1.2 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Fredoka } from "next/font/google";
|
|
import { Sora } from "next/font/google";
|
|
import "./globals.css";
|
|
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
import Tag from "@/tag/Tag";
|
|
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'Rising Saddle Ranch | Urban Youth Ranch Experiences',
|
|
description: 'Transformative ranch programs for urban youth. Build leadership, confidence, and responsibility through hands-on horse experiences. Book your group experience today.',
|
|
};
|
|
|
|
const fredoka = Fredoka({
|
|
variable: "--font-fredoka", subsets: ["latin"],
|
|
});
|
|
|
|
const sora = Sora({
|
|
variable: "--font-sora", subsets: ["latin"],
|
|
});
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<ServiceWrapper>
|
|
<body className={`${fredoka.variable} ${sora.variable} antialiased`}>
|
|
<Tag />
|
|
{children}
|
|
<script
|
|
dangerouslySetInnerHTML={{
|
|
__html: `${getVisualEditScript()}`
|
|
}}
|
|
/>
|
|
</body>
|
|
</ServiceWrapper>
|
|
</html>
|
|
);
|
|
} |