Update src/app/layout.tsx

This commit is contained in:
2026-03-04 01:06:00 +00:00
parent 4fe6b727f0
commit 632059e785

View File

@@ -1,67 +1,20 @@
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import { Open_Sans } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
const openSans = Open_Sans({
variable: "--font-open-sans",
subsets: ["latin"],
});
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Eternal Transport - Premium Logistics & Transportation Solutions",
description: "Professional freight, cargo, and logistics services with real-time tracking, specialized handling, and reliable delivery. Trust Eternal Transport for your supply chain needs.",
keywords: "logistics, transportation, freight services, cargo delivery, supply chain, real-time tracking",
metadataBase: new URL("https://eternaltransport.com"),
alternates: {
canonical: "https://eternaltransport.com",
},
openGraph: {
title: "Eternal Transport - Premium Logistics Solutions",
description: "Reliable, efficient, and professional transportation and logistics services across the region.",
url: "https://eternaltransport.com",
siteName: "Eternal Transport",
type: "website",
images: [
{
url: "http://img.b2bpic.net/free-photo/fleet-commercial-delivery-vans-trucks-white-background_84443-73999.jpg",
alt: "Eternal Transport Fleet",
},
],
},
twitter: {
card: "summary_large_image",
title: "Eternal Transport - Premium Logistics Solutions",
description: "Professional transportation and logistics services with real-time tracking.",
images: ["http://img.b2bpic.net/free-photo/fleet-commercial-delivery-vans-trucks-white-background_84443-73999.jpg"],
},
robots: {
index: true,
follow: true,
},
};
title: "Create Next App", description: "Generated by create next app"};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${inter.variable} ${openSans.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={inter.className}>{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1429,7 +1382,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}
}