Update src/app/layout.tsx

This commit is contained in:
2026-03-07 11:47:44 +00:00
parent 722b5e1bc8
commit 6c5acf6825

View File

@@ -1,55 +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";
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({ variable: "--font-inter", subsets: ["latin"] });
export const metadata: Metadata = {
title: "Cosmic Atlas - Explore the Holographic Universe", description: "Navigate galaxies, stars, and planets through an interactive holographic universe. Discover celestial wonders with real-time cosmic data and recent discoveries.", keywords: "astronomy, space exploration, galaxies, exoplanets, cosmos, universe, celestial objects", metadataBase: new URL("https://cosmic-atlas.example.com"),
alternates: {
canonical: "https://cosmic-atlas.example.com"
},
openGraph: {
title: "Cosmic Atlas - Interactive Universe Explorer", description: "Explore the cosmos through a futuristic holographic interface. Discover galaxies, stars, and cosmic phenomena.", url: "https://cosmic-atlas.example.com", siteName: "Cosmic Atlas", type: "website"
},
twitter: {
card: "summary_large_image", title: "Cosmic Atlas - The Holographic Universe", description: "Your gateway to cosmic exploration through advanced 3D visualization and real-time astronomical data."
},
robots: {
index: true,
follow: true
}
};
title: "Cosmic Atlas", description: "Navigate the cosmic atlas and explore galaxies, stars, and planets"};
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.variable}>{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1417,7 +1382,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}