From 446792903e12014c6d17f48aba7c8f7478266a1e Mon Sep 17 00:00:00 2001 From: bender Date: Sat, 7 Mar 2026 13:34:17 +0000 Subject: [PATCH 1/3] Update src/app/book-appointment/page.tsx --- src/app/book-appointment/page.tsx | 80 +++++++++++++++++++++---------- 1 file changed, 55 insertions(+), 25 deletions(-) diff --git a/src/app/book-appointment/page.tsx b/src/app/book-appointment/page.tsx index 4d09229..1520ee9 100644 --- a/src/app/book-appointment/page.tsx +++ b/src/app/book-appointment/page.tsx @@ -2,9 +2,10 @@ import { useState } from "react"; import { Calendar, Phone, Mail, User, MessageSquare, Stethoscope } from "lucide-react"; import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; -import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline"; +import NavbarStyleApple from "@/components/navbar/NavbarStyleApple/NavbarStyleApple"; import FooterLogoReveal from "@/components/sections/footer/FooterLogoReveal"; import Textarea from "@/components/form/Textarea"; +import ButtonHoverBubble from "@/components/button/ButtonHoverBubble"; interface FormData { fullName: string; @@ -76,7 +77,9 @@ export default function BookAppointmentPage() { } }; - const handleChange = (e: React.ChangeEvent) => { + const handleChange = ( + e: React.ChangeEvent + ) => { const { name, value } = e.target; setFormData((prev) => ({ ...prev, @@ -112,33 +115,45 @@ export default function BookAppointmentPage() { headingFontWeight="semibold" > -
+
-

Book Your Appointment

-

Schedule your visit to Rehoboth Dental Clinic

+

+ Book Your Appointment +

+

+ Schedule your visit to Rehoboth Dental Clinic +

{submitted && (
-

✓ Your appointment request has been submitted successfully! We'll contact you shortly to confirm your booking.

+

+ ✓ Your appointment request has been submitted successfully! We'll + contact you shortly to confirm your booking. +

)} -
+
{/* Full Name */}
@@ -158,7 +173,9 @@ export default function BookAppointmentPage() { } text-foreground placeholder-foreground/50`} placeholder="Enter your full name" /> - {errors.fullName &&

{errors.fullName}

} + {errors.fullName && ( +

{errors.fullName}

+ )}
{/* Email */} @@ -179,7 +196,9 @@ export default function BookAppointmentPage() { } text-foreground placeholder-foreground/50`} placeholder="your.email@example.com" /> - {errors.email &&

{errors.email}

} + {errors.email && ( +

{errors.email}

+ )}
{/* Phone */} @@ -200,7 +219,9 @@ export default function BookAppointmentPage() { } text-foreground placeholder-foreground/50`} placeholder="+250 792 891 566" /> - {errors.phone &&

{errors.phone}

} + {errors.phone && ( +

{errors.phone}

+ )}
{/* Service Type */} @@ -228,7 +249,9 @@ export default function BookAppointmentPage() { - {errors.serviceType &&

{errors.serviceType}

} + {errors.serviceType && ( +

{errors.serviceType}

+ )}
{/* Preferred Date */} @@ -248,12 +271,16 @@ export default function BookAppointmentPage() { : "border-background-accent focus:ring-2 focus:ring-primary-cta/20" } text-foreground`} /> - {errors.preferredDate &&

{errors.preferredDate}

} + {errors.preferredDate && ( +

{errors.preferredDate}

+ )}
{/* Preferred Time */}
- + - {errors.preferredTime &&

{errors.preferredTime}

} + {errors.preferredTime && ( +

{errors.preferredTime}

+ )}
@@ -299,12 +328,13 @@ export default function BookAppointmentPage() { {/* Submit Button */}
- +
@@ -57,7 +55,8 @@ export default function ContactPage() { Visit Us

- 68 KG 208 Street
+ 68 KG 208 Street +
Kigali, Rwanda

@@ -72,7 +71,10 @@ export default function ContactPage() { Call Us

- + +250 792 891 566

@@ -88,7 +90,10 @@ export default function ContactPage() { Email

- + info@rehobothdental.com

@@ -104,9 +109,15 @@ export default function ContactPage() { Clinic Hours
-

Monday - Saturday: 8:00 AM - 8:00 PM

-

Sunday: Closed

-

Emergency services available 24/7

+

+ Monday - Saturday: 8:00 AM - 8:00 PM +

+

+ Sunday: Closed +

+

+ Emergency services available 24/7 +

@@ -128,20 +139,36 @@ export default function ContactPage() { {/* Contact Form Section */} -
- + { + console.log("Form submitted:", data); + }} />
From f794a0101ec49eb6343fdfee364e3815432851a9 Mon Sep 17 00:00:00 2001 From: bender Date: Sat, 7 Mar 2026 13:34:19 +0000 Subject: [PATCH 3/3] Update src/app/layout.tsx --- src/app/layout.tsx | 71 ++++++---------------------------------------- 1 file changed, 9 insertions(+), 62 deletions(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 41f08d8..8e4eed4 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,26 +1,14 @@ import type { Metadata } from "next"; import { Inter } from "next/font/google"; -import "./globals.css"; +import "./styles/variables.css"; +import "./styles/base.css"; -const inter = Inter({ variable: "--font-inter", subsets: ["latin"] }); +const inter = Inter({ + variable: "--font-inter", subsets: ["latin"], +}); export const metadata: Metadata = { - title: "Rehoboth Dental Clinic - Professional Dental Care in Kigali", description: "Experience exceptional dental care at Rehoboth Dental Clinic in Kigali. We offer comprehensive dental services including checkups, cleanings, orthodontics, teeth whitening, and emergency care. Book your appointment today!", keywords: "dental clinic, dental care, dentist in Kigali, teeth cleaning, orthodontics, teeth whitening, emergency dental care, professional dentistry", authors: [{ name: "Rehoboth Dental Clinic" }], - openGraph: { - title: "Rehoboth Dental Clinic - Professional Dental Care in Kigali", description: "Experience exceptional dental care at Rehoboth Dental Clinic. Comprehensive services for your smile and oral health.", type: "website", url: "https://rehobothdental.com", images: [ - { - url: "https://img.b2bpic.net/free-photo/happy-female-dentist-pointing-digital-tablet-screen-female-patient-clinic_23-2147879186.jpg", width: 1200, - height: 630, - alt: "Rehoboth Dental Clinic"}, - ], - }, - twitter: { - card: "summary_large_image", title: "Rehoboth Dental Clinic - Professional Dental Care", description: "Book your dental appointment at Rehoboth Dental Clinic in Kigali.", images: [ - "https://img.b2bpic.net/free-photo/happy-female-dentist-pointing-digital-tablet-screen-female-patient-clinic_23-2147879186.jpg"], - }, - robots: "index, follow", viewport: "width=device-width, initial-scale=1", alternates: { - canonical: "https://rehobothdental.com"}, -}; + title: "Rehoboth Dental Clinic", description: "Professional dental care services"}; export default function RootLayout({ children, @@ -29,50 +17,9 @@ export default function RootLayout({ }) { return ( - -