From 2dc83c59a46f9955f6f1284c6df2d9302dc9d90d Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 5 Mar 2026 01:51:24 +0000 Subject: [PATCH 1/3] Add src/app/contact/page.tsx --- src/app/contact/page.tsx | 107 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 107 insertions(+) create mode 100644 src/app/contact/page.tsx diff --git a/src/app/contact/page.tsx b/src/app/contact/page.tsx new file mode 100644 index 0000000..49f11ab --- /dev/null +++ b/src/app/contact/page.tsx @@ -0,0 +1,107 @@ +"use client"; + +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen'; +import ContactSplitForm from '@/components/sections/contact/ContactSplitForm'; +import FooterBaseCard from '@/components/sections/footer/FooterBaseCard'; +import { useRouter } from 'next/navigation'; + +export default function ContactPage() { + const router = useRouter(); + + const handleSubmit = (data: Record) => { + console.log('Contact form submitted:', data); + // Here you would typically send the data to a backend service + // For now, we'll just log it and redirect + alert('Thank you for contacting us! We will get back to you soon.'); + router.push('/'); + }; + + return ( + + + +
+ +
+ + +
+ ); +} From 07259f3545058622770ba65f796b9946ef213dd3 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 5 Mar 2026 01:51:24 +0000 Subject: [PATCH 2/3] Update src/app/layout.tsx --- src/app/layout.tsx | 58 ++++------------------------------------------ 1 file changed, 5 insertions(+), 53 deletions(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 9ecb30b..7e902f2 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,64 +1,17 @@ import type { Metadata } from "next"; -import { Halant } from "next/font/google"; -import { Inter } from "next/font/google"; -import { Manrope } from "next/font/google"; -import { DM_Sans } 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"], -}); - -const manrope = Manrope({ - variable: "--font-manrope", subsets: ["latin"], -}); - -const dmSans = DM_Sans({ - variable: "--font-dm-sans", subsets: ["latin"], -}); export const metadata: Metadata = { - title: "Premium Mobile Car Detailing Ottawa | OnSpot - 24/7 Service", description: "Professional mobile car detailing in Ottawa. We come to you! 5-star rated, 24/7 availability. Interior & exterior detailing, deep cleaning, stain removal. Book now.", keywords: "mobile car detailing Ottawa, professional car detailing, car wash Ottawa, interior detailing, exterior detailing, mobile auto detailing, 24/7 car service", metadataBase: new URL("https://onspotdetailing.ca"), - alternates: { - canonical: "https://onspotdetailing.ca" - }, - openGraph: { - title: "Premium Mobile Car Detailing in Ottawa", description: "Professional car detailing service that comes to you. 5-star rated. Available 24/7. Book your appointment today!", url: "https://onspotdetailing.ca", siteName: "OnSpot Mobile Detailing", type: "website", images: [ - { - url: "http://img.b2bpic.net/free-photo/man-car-clean-using-brush-clean-up-all-details-inside-vehicle_1303-30586.jpg", alt: "Premium car detailing service" - } - ] - }, - twitter: { - card: "summary_large_image", title: "Premium Mobile Car Detailing in Ottawa", description: "Professional detailing service. 5-star rated. We come to you! 24/7 availability.", images: ["http://img.b2bpic.net/free-photo/man-car-clean-using-brush-clean-up-all-details-inside-vehicle_1303-30586.jpg"] - }, - robots: { - index: true, - follow: true - } -}; + title: "OnSpot Mobile Detailing", description: "Premium mobile car detailing in Ottawa. Professional interior and exterior detailing. 5-Star Rated. Available 24/7."}; export default function RootLayout({ children, -}: Readonly<{ +}: { children: React.ReactNode; -}>) { +}) { return ( - - - - - {children} - + + {children}