Update src/app/layout.tsx
This commit is contained in:
@@ -1,75 +1,20 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Halant } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import { Nunito } 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 nunito = Nunito({
|
||||
variable: "--font-nunito",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "My Wings 2025 - Aviation Community for Flight Simulator Pilots",
|
||||
description: "Join My Wings 2025, the ultimate aviation community for flight simulator pilots and aviation enthusiasts. Connect globally, share flights, explore screenshots, and join virtual airlines.",
|
||||
keywords: "flight simulator community, aviation, virtual pilots, flight sharing, online flight community, aviation enthusiasts",
|
||||
metadataBase: new URL("https://mywings2025.com"),
|
||||
alternates: {
|
||||
canonical: "https://mywings2025.com",
|
||||
},
|
||||
openGraph: {
|
||||
title: "My Wings 2025 - Aviation Community",
|
||||
description: "Connect with thousands of pilots and aviation fans. Share your flights, screenshots, and aviation passion with the global community.",
|
||||
siteName: "My Wings 2025",
|
||||
type: "website",
|
||||
images: [
|
||||
{
|
||||
url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AZOKYVQEv29x5TDOnVaCy7ceUF/a-stunning-cinematic-view-of-a-commercia-1772796625376-b6098995.png",
|
||||
alt: "Airplane flying through beautiful sky",
|
||||
},
|
||||
],
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image",
|
||||
title: "My Wings 2025 - Aviation Community",
|
||||
description: "The ultimate flight simulator and aviation community platform for pilots worldwide.",
|
||||
images: [
|
||||
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AZOKYVQEv29x5TDOnVaCy7ceUF/a-stunning-cinematic-view-of-a-commercia-1772796625376-b6098995.png",
|
||||
],
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
};
|
||||
title: "My Wings 2025", description: "Join the most vibrant flight simulator and virtual airline community"};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${halant.variable} ${inter.variable} ${nunito.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="en">
|
||||
<body className={inter.className}>{children}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1437,7 +1382,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user