Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6ba3043c07 | |||
| 9a2e4e590d | |||
| 270bd8f33a | |||
| 5e059d4ce7 | |||
| ae2196264c |
@@ -1,73 +1,20 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Halant } from "next/font/google";
|
|
||||||
import { Inter } from "next/font/google";
|
import { Inter } from "next/font/google";
|
||||||
import { Manrope } from "next/font/google";
|
|
||||||
import "./globals.css";
|
import "./globals.css";
|
||||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
||||||
import Tag from "@/tag/Tag";
|
|
||||||
|
|
||||||
const halant = Halant({
|
const inter = Inter({ subsets: ["latin"] });
|
||||||
variable: "--font-halant",
|
|
||||||
subsets: ["latin"],
|
|
||||||
weight: ["300", "400", "500", "600", "700"],
|
|
||||||
});
|
|
||||||
|
|
||||||
const inter = Inter({
|
|
||||||
variable: "--font-inter",
|
|
||||||
subsets: ["latin"],
|
|
||||||
});
|
|
||||||
|
|
||||||
const manrope = Manrope({
|
|
||||||
variable: "--font-manrope",
|
|
||||||
subsets: ["latin"],
|
|
||||||
});
|
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "Emergency Plumber Toronto | Magnum Plumbing & Gas",
|
title: "Magnum Plumbing & Gas - Emergency Plumbing Services in Toronto", description: "24/7 emergency plumbing and gas services in Toronto. Fast response, licensed professionals, 100+ five-star reviews."};
|
||||||
description: "24/7 emergency plumbing services in Toronto. Fast response, fair pricing, 100+ 5-star reviews. Licensed professionals for all your plumbing needs.",
|
|
||||||
keywords: "emergency plumber Toronto, plumbing services, drain cleaning, water heater repair, gas line repair",
|
|
||||||
metadataBase: new URL("https://magnumplumbing.ca"),
|
|
||||||
alternates: {
|
|
||||||
canonical: "https://magnumplumbing.ca",
|
|
||||||
},
|
|
||||||
openGraph: {
|
|
||||||
title: "Emergency Plumber Toronto | Magnum Plumbing & Gas",
|
|
||||||
description: "Fast, reliable plumbing service from trusted professionals. 24/7 emergency response available.",
|
|
||||||
siteName: "Magnum Plumbing and Gas",
|
|
||||||
type: "website",
|
|
||||||
images: [
|
|
||||||
{
|
|
||||||
url: "http://img.b2bpic.net/free-photo/portrait-attractive-hispanic-handyman-writing-work-estimate-before-fixing-kitchen-sink_662251-2690.jpg",
|
|
||||||
alt: "Professional plumber at work",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
twitter: {
|
|
||||||
card: "summary_large_image",
|
|
||||||
title: "Emergency Plumber Toronto | Magnum Plumbing & Gas",
|
|
||||||
description: "24/7 emergency plumbing services. Fast response, fair pricing, trusted by 100+ Toronto customers.",
|
|
||||||
images: ["http://img.b2bpic.net/free-photo/portrait-attractive-hispanic-handyman-writing-work-estimate-before-fixing-kitchen-sink_662251-2690.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={inter.className}>{children}
|
||||||
<body
|
|
||||||
className={`${halant.variable} ${inter.variable} ${manrope.variable} antialiased`}
|
|
||||||
>
|
|
||||||
<Tag />
|
|
||||||
{children}
|
|
||||||
|
|
||||||
<script
|
<script
|
||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
__html: `
|
__html: `
|
||||||
@@ -1435,7 +1382,6 @@ export default function RootLayout({
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</body>
|
</body>
|
||||||
</ServiceWrapper>
|
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -132,9 +132,11 @@ export default function HomePage() {
|
|||||||
title: "Gas Line Repair", description: "Safe gas line installation, repair, and leak detection services", imageSrc: "http://img.b2bpic.net/free-photo/male-worker-operating-machinery-factory_107420-96043.jpg", imageAlt: "gas line repair detection safety", button: { text: "Learn More", href: "/services/gas-repair" },
|
title: "Gas Line Repair", description: "Safe gas line installation, repair, and leak detection services", imageSrc: "http://img.b2bpic.net/free-photo/male-worker-operating-machinery-factory_107420-96043.jpg", imageAlt: "gas line repair detection safety", button: { text: "Learn More", href: "/services/gas-repair" },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Faucet & Fixture Installation", description: "Modern fixture upgrades and professional installation services", imageSrc: "http://img.b2bpic.net/free-photo/man-rinsing-dish-rack-with-pullout-sprayer-by-sink-flow-control_169016-69395.jpg", imageAlt: "faucet fixture installation modern"},
|
title: "Faucet & Fixture Installation", description: "Modern fixture upgrades and professional installation services", imageSrc: "http://img.b2bpic.net/free-photo/man-rinsing-dish-rack-with-pullout-sprayer-by-sink-flow-control_169016-69395.jpg", imageAlt: "faucet fixture installation modern", button: { text: "Learn More", href: "/services/faucet-fixture" },
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: "Toilet Repair & Replacement", description: "Fast toilet repairs and high-efficiency replacement options", imageSrc: "http://img.b2bpic.net/free-photo/male-plumber-working-fix-problems-client-s-house_23-2150990705.jpg?_wi=1", imageAlt: "toilet repair plumbing bathroom"},
|
title: "Toilet Repair & Replacement", description: "Fast toilet repairs and high-efficiency replacement options", imageSrc: "http://img.b2bpic.net/free-photo/male-plumber-working-fix-problems-client-s-house_23-2150990705.jpg?_wi=1", imageAlt: "toilet repair plumbing bathroom", button: { text: "Learn More", href: "/services/toilet-repair" },
|
||||||
|
},
|
||||||
]}
|
]}
|
||||||
gridVariant="two-columns-alternating-heights"
|
gridVariant="two-columns-alternating-heights"
|
||||||
animationType="slide-up"
|
animationType="slide-up"
|
||||||
@@ -278,4 +280,4 @@ export default function HomePage() {
|
|||||||
</div>
|
</div>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user