Update src/app/layout.tsx
This commit is contained in:
@@ -1,57 +1,20 @@
|
||||
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 "@/styles/globals.css";
|
||||
|
||||
const halant = Halant({
|
||||
variable: "--font-halant", subsets: ["latin"],
|
||||
weight: ["300", "400", "500", "600", "700"],
|
||||
});
|
||||
|
||||
const inter = Inter({
|
||||
variable: "--font-inter", subsets: ["latin"],
|
||||
});
|
||||
|
||||
const sourceSans3 = Source_Sans_3({
|
||||
variable: "--font-source-sans-3", subsets: ["latin"],
|
||||
});
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "ROBLOX - Create, Play, Build the Metaverse", description: "Unleash your imagination on ROBLOX. Create immersive games, build virtual worlds, and connect with millions of players. Start creating for free today.", keywords: "Roblox, game creation, gaming platform, virtual worlds, game development, metaverse, online games, creative gaming", metadataBase: new URL("https://www.roblox.com"),
|
||||
alternates: {
|
||||
canonical: "https://www.roblox.com"},
|
||||
openGraph: {
|
||||
title: "ROBLOX - Create, Play, Build the Metaverse", description: "Unleash your imagination on ROBLOX. Create immersive games, build virtual worlds, and connect with millions of players.", url: "https://www.roblox.com", siteName: "ROBLOX", type: "website", images: [
|
||||
{
|
||||
url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AXh6Q9ikDhVuL94nONEpErjgVP/a-stunning-immersive-roblox-game-world-s-1772744755243-0aba7a93.png", alt: "ROBLOX Gaming Platform"},
|
||||
],
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image", title: "ROBLOX - Create, Play, Build the Metaverse", description: "Unleash your imagination on ROBLOX. Create immersive games and connect with millions.", images: ["https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AXh6Q9ikDhVuL94nONEpErjgVP/a-stunning-immersive-roblox-game-world-s-1772744755243-0aba7a93.png"],
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
};
|
||||
title: "ROBLOX - Create, Play, Earn", description: "Unleash your imagination on ROBLOX. Build immersive worlds, create thrilling games, and connect with millions of players globally."};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${halant.variable} ${inter.variable} ${sourceSans3.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="en">
|
||||
<body className={inter.className}>{children}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1419,7 +1382,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user