Update src/app/layout.tsx

This commit is contained in:
2026-03-07 12:53:32 +00:00
parent 89630bd505
commit 061852b53d

View File

@@ -1,52 +1,16 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } 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"],
});
export const metadata: Metadata = {
title: "Al Hajis Auto Repair Garage | Expert Car Service in Al Ain", description: "Professional auto repair services in Al Ain, UAE. Expert mechanics, honest pricing, fast service. Mechanical repairs, engine diagnostics, battery replacement, and emergency roadside assistance.", keywords: "auto repair Al Ain, car service, mechanical repair, engine diagnostics, battery replacement, transmission repair, mobile mechanic, roadside assistance UAE", metadataBase: new URL("https://alhajisgarage.ae"),
alternates: {
canonical: "https://alhajisgarage.ae"},
openGraph: {
title: "Al Hajis Auto Repair Garage | Expert Car Service in Al Ain", description: "Trusted auto repair service in Al Ain. Professional mechanics, honest pricing, fast turnaround. Mechanical repairs, diagnostics, emergency help available.", url: "https://alhajisgarage.ae", siteName: "Al Hajis Auto Repair Garage", type: "website", images: [
{
url: "http://img.b2bpic.net/free-photo/mechanic-using-control-box_107420-95946.jpg", alt: "Al Hajis Auto Repair Garage - Professional automotive service center"},
],
},
twitter: {
card: "summary_large_image", title: "Al Hajis Auto Repair Garage | Expert Car Service in Al Ain", description: "Professional auto repair in Al Ain. Experienced mechanics, fair pricing, emergency assistance 24/7.", images: ["http://img.b2bpic.net/free-photo/mechanic-using-control-box_107420-95946.jpg"],
},
robots: {
index: true,
follow: true,
},
};
title: "Al Hajis Auto Repair Garage - Professional Car Repair in Al Ain", description: "Expert auto repair services in Al Ain, UAE. Professional mechanics, honest pricing, and fast service for all car repairs and maintenance."};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body>{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1414,7 +1378,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}