Update src/app/layout.tsx

This commit is contained in:
2026-03-10 14:40:35 +00:00
parent 665a5121b0
commit 8a4bfefbe4

View File

@@ -1,28 +1,54 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Open_Sans } 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 { Open_Sans } from "next/font/google";
export const metadata: Metadata = {
title: "Webild components 2",
description: "Generated by create next app",
};
const halant = Halant({
variable: "--font-halant",
subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
const openSans = Open_Sans({
variable: "--font-open-sans",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "PartyHost - Host & Discover Amazing Parties",
description: "PartyHost makes party hosting easy. Discover venues, manage guests, coordinate events, and celebrate together. Join 50K+ party organizers.",
keywords: "party hosting, event planning, venue booking, party management, event coordination, celebration platform",
metadataBase: new URL("https://partyhost.com"),
alternates: {
canonical: "https://partyhost.com",
},
openGraph: {
title: "PartyHost - Host & Discover Amazing Parties",
description: "PartyHost makes party hosting easy. Discover venues, manage guests, coordinate events, and celebrate together.",
type: "website",
siteName: "PartyHost",
url: "https://partyhost.com",
},
twitter: {
card: "summary_large_image",
title: "PartyHost - Host & Discover Amazing Parties",
description: "PartyHost makes party hosting easy. Discover venues, manage guests, coordinate events, and celebrate together.",
},
robots: {
index: true,
follow: true,
},
};
export default function RootLayout({
children,
}: Readonly<{
@@ -31,7 +57,9 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${inter.variable} ${openSans.variable} antialiased`}>
<body
className={`${halant.variable} ${inter.variable} ${openSans.variable} antialiased`}
>
<Tag />
{children}
<script
@@ -43,4 +71,4 @@ export default function RootLayout({
</ServiceWrapper>
</html>
);
}
}