Switch to version 1: modified src/app/layout.tsx

This commit is contained in:
2026-03-04 10:18:39 +00:00
parent f978d2992f
commit 264fa8c8d8

View File

@@ -1,20 +1,43 @@
import type { Metadata } from "next";
import { Montserrat } from "next/font/google";
import { Inter } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
const inter = Inter({ subsets: ["latin"] });
const montserrat = Montserrat({
variable: "--font-montserrat", subsets: ["latin"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Vitaliy - Celebrate Your Authentic Self", description: "Join a vibrant community dedicated to pride, inclusion, and empowerment. Together, we create spaces where everyone belongs."};
title: "Vitaliy - Celebrate Your Authentic Self", description: "Join a vibrant LGBTQ+ community dedicated to pride, inclusion, and empowerment. Connect, grow, and celebrate with thousands of like-minded individuals.", keywords: "LGBTQ+, pride, community, inclusion, support, networking, events", robots: {
index: true,
follow: true,
},
openGraph: {
title: "Vitaliy - LGBTQ+ Community Platform", description: "Create safe spaces for authentic self-expression, connection, and growth.", siteName: "Vitaliy", type: "website"},
twitter: {
card: "summary_large_image", title: "Vitaliy - Celebrate Your Authentic Self", description: "Join the vibrant LGBTQ+ community dedicated to pride and empowerment."},
};
export default function RootLayout({
children,
}: {
}: Readonly<{
children: React.ReactNode;
}) {
}>) {
return (
<html lang="en">
<body className={inter.className}>{children}
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${montserrat.variable} ${inter.variable} antialiased`}
>
<Tag />
{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1382,6 +1405,7 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}
}