Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b8a010cf91 | |||
| 58caa3a1fe | |||
| ca537f65ff | |||
| d7fa071f48 | |||
| 09bc8be460 |
@@ -1,76 +1,28 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Halant } from "next/font/google";
|
import { Geist, Geist_Mono } from "next/font/google";
|
||||||
import { Inter } from "next/font/google";
|
import "@/styles/globals.css";
|
||||||
import { Source_Sans_3 } from "next/font/google";
|
|
||||||
import "./globals.css";
|
|
||||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
||||||
import Tag from "@/tag/Tag";
|
|
||||||
|
|
||||||
const halant = Halant({
|
const geist = Geist({
|
||||||
variable: "--font-halant",
|
variable: "--font-geist-sans", subsets: ["latin"],
|
||||||
subsets: ["latin"],
|
|
||||||
weight: ["300", "400", "500", "600", "700"],
|
|
||||||
});
|
});
|
||||||
|
|
||||||
const inter = Inter({
|
const geistMono = Geist_Mono({
|
||||||
variable: "--font-inter",
|
variable: "--font-geist-mono", subsets: ["latin"],
|
||||||
subsets: ["latin"],
|
|
||||||
});
|
|
||||||
|
|
||||||
const sourceSans3 = Source_Sans_3({
|
|
||||||
variable: "--font-source-sans-3",
|
|
||||||
subsets: ["latin"],
|
|
||||||
});
|
});
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "KY Auto | Trusted Car Repair & Servicing in Singapore",
|
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."};
|
||||||
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,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
children,
|
children,
|
||||||
}: Readonly<{
|
}: {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
}>) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<html lang="en" suppressHydrationWarning>
|
<html lang="en">
|
||||||
<ServiceWrapper>
|
<body className={`${geist.variable} ${geistMono.variable} antialiased`}>
|
||||||
<body
|
{children}
|
||||||
className={`${halant.variable} ${inter.variable} ${sourceSans3.variable} antialiased`}
|
|
||||||
>
|
|
||||||
<Tag />
|
|
||||||
{children}
|
|
||||||
|
|
||||||
<script
|
<script
|
||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
__html: `
|
__html: `
|
||||||
@@ -1438,7 +1390,6 @@ export default function RootLayout({
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</body>
|
</body>
|
||||||
</ServiceWrapper>
|
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ export default function HomePage() {
|
|||||||
variant: "radial-gradient"}}
|
variant: "radial-gradient"}}
|
||||||
buttons={[
|
buttons={[
|
||||||
{
|
{
|
||||||
text: "Call Now: +65 6123 4567", href: "tel:+6561234567"},
|
text: "Get Quick Repair", href: "tel:+6561234567"},
|
||||||
{
|
{
|
||||||
text: "Book Service", href: "/services"},
|
text: "Book Service", href: "/services"},
|
||||||
]}
|
]}
|
||||||
@@ -181,4 +181,4 @@ export default function HomePage() {
|
|||||||
</div>
|
</div>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user