70 lines
2.4 KiB
TypeScript
70 lines
2.4 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Halant } from "next/font/google";
|
|
import { Inter } from "next/font/google";
|
|
import "./globals.css";
|
|
import "@/lib/gsap-setup";
|
|
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
import Tag from "@/tag/Tag";
|
|
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
|
import { Nunito } from "next/font/google";
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'Shine Bright Headlights | Expert Headlight Restoration',
|
|
description: 'Professional headlight restoration services to enhance visibility, safety, and the appearance of your vehicle. Get crystal clear headlights today!',
|
|
keywords: ["headlight restoration, car headlights, headlight repair, foggy headlights, yellow headlights, auto detailing, headlight cleaning, car care, vehicle maintenance"],
|
|
openGraph: {
|
|
"title": "Shine Bright Headlights | Expert Headlight Restoration",
|
|
"description": "Professional headlight restoration services to enhance visibility, safety, and the appearance of your vehicle. Get crystal clear headlights today!",
|
|
"url": "https://www.shinebrightheadlights.com",
|
|
"siteName": "Shine Bright Headlights",
|
|
"images": [
|
|
{
|
|
"url": "http://img.b2bpic.net/free-photo/traffic-with-long-exposure-light-trails-cars_181624-55713.jpg",
|
|
"alt": "Before and after restored car headlights"
|
|
}
|
|
],
|
|
"type": "website"
|
|
},
|
|
twitter: {
|
|
"card": "summary_large_image",
|
|
"title": "Shine Bright Headlights | Expert Headlight Restoration",
|
|
"description": "Professional headlight restoration services to enhance visibility, safety, and the appearance of your vehicle. Get crystal clear headlights today!",
|
|
"images": [
|
|
"http://img.b2bpic.net/free-photo/traffic-with-long-exposure-light-trails-cars_181624-55713.jpg"
|
|
]
|
|
},
|
|
robots: {
|
|
"index": true,
|
|
"follow": true
|
|
},
|
|
};
|
|
|
|
const nunito = Nunito({
|
|
variable: "--font-nunito",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<ServiceWrapper>
|
|
<body className={`${nunito.variable} antialiased`}>
|
|
<Tag />
|
|
{children}
|
|
<script
|
|
dangerouslySetInnerHTML={{
|
|
__html: `${getVisualEditScript()}`
|
|
}}
|
|
/>
|
|
</body>
|
|
</ServiceWrapper>
|
|
</html>
|
|
);
|
|
}
|