Update src/app/layout.tsx

This commit is contained in:
2026-03-04 23:41:46 +00:00
parent 65756858e1
commit d30acde041

View File

@@ -1,69 +1,17 @@
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"],
});
export const metadata: Metadata = {
title: "BlasaCar - Safe Ride Sharing Between Moroccan Cities",
description: "Skip WhatsApp chaos. BlasaCar is Morocco's trusted platform for intercity ride sharing. Instant booking, verified drivers, transparent pricing. Join 50K+ users today.",
keywords: "ride sharing Morocco, intercity rides, carpooling, safe travel, taxi alternative",
robots: {
index: true,
follow: true,
},
openGraph: {
title: "BlasaCar - Book Rides in Seconds",
description: "Safe, verified ride sharing between Moroccan cities. No more Facebook groups.",
type: "website",
siteName: "BlasaCar",
images: [
{
url: "http://img.b2bpic.net/free-vector/travel-booking-app-interface-set_23-2148590978.jpg",
alt: "BlasaCar ride sharing platform",
},
],
},
twitter: {
card: "summary_large_image",
title: "BlasaCar - Book Rides in Seconds",
description: "Safe ride sharing between Moroccan cities",
images: ["http://img.b2bpic.net/free-vector/travel-booking-app-interface-set_23-2148590978.jpg"],
},
};
title: "BlasaCar - Ride Sharing for Morocco", description: "Skip the WhatsApp chaos. Book rides in seconds."};
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>{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1431,7 +1379,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}
}