Merge version_2 into main #4
@@ -1,76 +1,28 @@
|
||||
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";
|
||||
import { Geist, Geist_Mono } from "next/font/google";
|
||||
import "@/styles/globals.css";
|
||||
|
||||
const halant = Halant({
|
||||
variable: "--font-halant",
|
||||
subsets: ["latin"],
|
||||
weight: ["300", "400", "500", "600", "700"],
|
||||
const geist = Geist({
|
||||
variable: "--font-geist-sans", subsets: ["latin"],
|
||||
});
|
||||
|
||||
const inter = Inter({
|
||||
variable: "--font-inter",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
const sourceSans3 = Source_Sans_3({
|
||||
variable: "--font-source-sans-3",
|
||||
subsets: ["latin"],
|
||||
const geistMono = Geist_Mono({
|
||||
variable: "--font-geist-mono", subsets: ["latin"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "KY Auto | Trusted Car Repair & Servicing in Singapore",
|
||||
description: "Professional automotive repair and car servicing in Singapore. Expert technicians, genuine parts, 100% satisfaction guaranteed. Call now for engine repair, aircon service, gearbox repair and more.",
|
||||
keywords: "car repair Singapore, auto service near me, engine repair, car maintenance, vehicle servicing, accident repair, aircon service",
|
||||
metadataBase: new URL("https://kyauto.sg"),
|
||||
alternates: {
|
||||
canonical: "https://kyauto.sg",
|
||||
},
|
||||
openGraph: {
|
||||
title: "KY Auto | Expert Car Repair & Servicing",
|
||||
description: "Professional automotive repair and servicing with 15+ years experience. Certified technicians, fair pricing, guaranteed quality.",
|
||||
url: "https://kyauto.sg",
|
||||
siteName: "KY Auto",
|
||||
images: [
|
||||
{
|
||||
url: "http://img.b2bpic.net/free-photo/different-type-tools-especially-wrenches-are-hanging-wall-workshop_613910-15268.jpg",
|
||||
alt: "KY Auto Professional Workshop",
|
||||
},
|
||||
],
|
||||
type: "website",
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image",
|
||||
title: "KY Auto | Trusted Car Repair & Servicing",
|
||||
description: "Expert automotive repair services in Singapore. Call +65 6123 4567 for professional car servicing.",
|
||||
images: [
|
||||
"http://img.b2bpic.net/free-photo/different-type-tools-especially-wrenches-are-hanging-wall-workshop_613910-15268.jpg",
|
||||
],
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
};
|
||||
title: "KY Auto - Professional Car Repair & Servicing in Singapore", description: "Trusted automotive repair and servicing experts with 15+ years of experience. Certified technicians, genuine parts, and 100% customer satisfaction."};
|
||||
|
||||
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 className={`${geist.variable} ${geistMono.variable} antialiased`}>
|
||||
{children}
|
||||
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1438,7 +1390,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ export default function HomePage() {
|
||||
variant: "radial-gradient"}}
|
||||
buttons={[
|
||||
{
|
||||
text: "Call Now: +65 6123 4567", href: "tel:+6561234567"},
|
||||
text: "Get Quick Repair", href: "tel:+6561234567"},
|
||||
{
|
||||
text: "Book Service", href: "/services"},
|
||||
]}
|
||||
@@ -181,4 +181,4 @@ export default function HomePage() {
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user