Files
a5767112-8745-484e-bb4b-8b5…/src/app/layout.tsx
2026-04-22 17:03:30 +00:00

57 lines
1.7 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 { Figtree } from "next/font/google";
import { Montserrat } from "next/font/google";
import { Poppins } from "next/font/google";
import { Merriweather } from "next/font/google";
export const metadata: Metadata = {
title: 'Global Mission - Empowering Children and Families Worldwide',
description: 'Join our mission to fight poverty and injustice. Your support provides clean water, healthcare, and education to communities in need around the world.',
openGraph: {
"title": "Global Mission - Empowering Children and Families Worldwide",
"description": "Join our mission to fight poverty and injustice. Your support provides clean water, healthcare, and education to communities in need around the world.",
"siteName": "Global Mission",
"type": "website"
},
};
const merriweather = Merriweather({
variable: "--font-merriweather", subsets: ["latin"],
weight: ["300", "400", "700", "900"],
});
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${merriweather.variable} antialiased`}>
<Tag />
{children}
<script
dangerouslySetInnerHTML={{
__html: `${getVisualEditScript()}`
}}
/>
</body>
</ServiceWrapper>
</html>
);
}