Update src/app/layout.tsx

This commit is contained in:
2026-03-11 12:23:01 +00:00
parent 5ee2dff900
commit 3918096f7a

View File

@@ -1,24 +1,62 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Source_Sans_3 } from "next/font/google";
import "./globals.css";
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";
const halant = Halant({
variable: "--font-halant",
subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
export const metadata: Metadata = {
title: "Webild components 2",
description: "Generated by create next app",
};
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
const sourceSans3 = Source_Sans_3({
variable: "--font-source-sans-3",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Family Square - Connect & Share with Your Family",
description: "Family Square is a modern platform where families connect, organize events, share memories, and stay close together. Join thousands of families already using Family Square.",
keywords: "family platform, family connection, family messaging, event planning, photo sharing, family app",
metadataBase: new URL("https://familysquare.com"),
alternates: {
canonical: "https://familysquare.com",
},
openGraph: {
title: "Family Square - Connect & Share with Your Family",
description: "Bring your family closer together with messaging, event planning, photo sharing, and more.",
type: "website",
siteName: "Family Square",
images: [
{
url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnbxEPiQ6fsuB7Y8ohmufnVsIJ/uploaded-1773231692717-0wdcmtlb.png",
alt: "Family Square Logo",
},
],
},
twitter: {
card: "summary_large_image",
title: "Family Square - Connect & Share with Your Family",
description: "Bring your family closer together with messaging, event planning, and photo sharing.",
images: [
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnbxEPiQ6fsuB7Y8ohmufnVsIJ/uploaded-1773231692717-0wdcmtlb.png",
],
},
robots: {
index: true,
follow: true,
},
};
export default function RootLayout({
children,
}: Readonly<{
@@ -27,7 +65,9 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${sourceSans3.variable} antialiased`}>
<body
className={`${halant.variable} ${inter.variable} ${sourceSans3.variable} antialiased`}
>
<Tag />
{children}
<script
@@ -39,4 +79,4 @@ export default function RootLayout({
</ServiceWrapper>
</html>
);
}
}