Update src/app/layout.tsx

This commit is contained in:
2026-03-04 08:29:58 +00:00
parent 7590f0838b
commit 792b37d1ec

View File

@@ -1,45 +1,20 @@
import type { Metadata } from "next";
import { Public_Sans } from "next/font/google";
import { Inter } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
const publicSans = Public_Sans({
variable: "--font-public-sans", subsets: ["latin"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Cyberbullying Prevention & Digital Safety Resources", description: "Learn how to recognize, prevent, and respond to cyberbullying. Access educational resources, support communities, and protection strategies for a safer digital world.", keywords: "cyberbullying, digital safety, online harassment, internet safety, cyberbullying prevention, online protection", openGraph: {
title: "SafeWeb - Stop Cyberbullying Together", description: "Comprehensive resources and strategies to protect yourself and others from cyberbullying. Join our community.", type: "website", siteName: "SafeWeb"
},
twitter: {
card: "summary_large_image", title: "Cyberbullying Prevention & Digital Safety", description: "Learn how to protect yourself online and support others affected by cyberbullying."
},
robots: {
index: true,
follow: true
}
};
title: "SafeWeb | Digital Safety & Cyberbullying Prevention", description: "Learn how to recognize, report, and protect yourself from cyberbullying. Empower yourself with knowledge, resources, and community support for a safer digital world."};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${publicSans.variable} ${inter.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={inter.className}>{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1407,7 +1382,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}