diff --git a/src/app/about/page.tsx b/src/app/about/page.tsx index 7ae2b6a..0a42ec8 100644 --- a/src/app/about/page.tsx +++ b/src/app/about/page.tsx @@ -2,12 +2,49 @@ import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered"; +import HeroLogoBillboard from "@/components/sections/hero/HeroLogoBillboard"; import FeatureCardTwentyFour from "@/components/sections/feature/FeatureCardTwentyFour"; import ContactText from "@/components/sections/contact/ContactText"; import FooterBase from "@/components/sections/footer/FooterBase"; -import Link from "next/link"; export default function AboutPage() { + const navItems = [ + { name: "Home", id: "/" }, + { name: "Services", id: "/services" }, + { name: "About", id: "/about" }, + { name: "Contact", id: "contact" }, + ]; + + const navButton = { + text: "Call Now", href: "tel:+919946368923"}; + + const footerColumns = [ + { + title: "Services", items: [ + { label: "AC Repair & Maintenance", href: "/services" }, + { label: "Refrigerator Repair", href: "/services" }, + { label: "Gas Refilling", href: "/services" }, + { label: "Compressor Repair", href: "/services" }, + ], + }, + { + title: "Company", items: [ + { label: "About Us", href: "/about" }, + { label: "Why Choose Us", href: "/" }, + { label: "Contact", href: "contact" }, + { label: "Privacy Policy", href: "#" }, + ], + }, + { + title: "Contact Info", items: [ + { label: "📞 +91 99463 68923", href: "tel:+919946368923" }, + { label: "Balapuram, Naduvil P.O, Kannur", href: "#" }, + { label: "Kerala – 670582", href: "#" }, + { label: "WhatsApp Message", href: "https://wa.me/919946368923" }, + ], + }, + ]; + return ( -
+
+ +
+ +
diff --git a/src/app/contact/page.tsx b/src/app/contact/page.tsx index c87ad4b..5aa5601 100644 --- a/src/app/contact/page.tsx +++ b/src/app/contact/page.tsx @@ -1,13 +1,86 @@ "use client"; +import { useState } from "react"; import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered"; -import ContactText from "@/components/sections/contact/ContactText"; -import FeatureCardTwentyFour from "@/components/sections/feature/FeatureCardTwentyFour"; +import ContactCTA from "@/components/sections/contact/ContactCTA"; import FooterBase from "@/components/sections/footer/FooterBase"; -import Link from "next/link"; +import Input from "@/components/form/Input"; export default function ContactPage() { + const [formData, setFormData] = useState({ + name: "", email: "", phone: "", service: "", message: ""}); + + const [submitStatus, setSubmitStatus] = useState<"idle" | "loading" | "success" | "error">("idle"); + + const navItems = [ + { name: "Home", id: "/" }, + { name: "Services", id: "services" }, + { name: "Why Choose Us", id: "/why-us" }, + { name: "Contact", id: "/contact" }, + ]; + + const navButton = { + text: "Call Now", href: "/contact"}; + + const footerColumns = [ + { + title: "Services", items: [ + { label: "AC Repair & Maintenance", href: "/services" }, + { label: "Refrigerator Repair", href: "/services" }, + { label: "Gas Refilling", href: "/services" }, + { label: "Compressor Repair", href: "/services" }, + ], + }, + { + title: "Company", items: [ + { label: "About Us", href: "/about" }, + { label: "Why Choose Us", href: "/why-us" }, + { label: "Contact", href: "/contact" }, + { label: "Privacy Policy", href: "#" }, + ], + }, + { + title: "Contact Info", items: [ + { label: "📞 +91 99463 68923", href: "tel:+919946368923" }, + { label: "Balapuram, Naduvil P.O, Kannur", href: "#" }, + { label: "Kerala – 670582", href: "#" }, + { label: "WhatsApp Message", href: "https://wa.me/919946368923" }, + ], + }, + ]; + + const handleInputChange = (e: React.ChangeEvent) => { + const { name, value } = e.target; + setFormData((prev) => ({ + ...prev, + [name]: value, + })); + }; + + const handleSubmit = async (e: React.FormEvent) => { + e.preventDefault(); + setSubmitStatus("loading"); + + try { + // Simulate form submission + await new Promise((resolve) => setTimeout(resolve, 1000)); + setSubmitStatus("success"); + setFormData({ + name: "", email: "", phone: "", service: "", message: ""}); + setTimeout(() => setSubmitStatus("idle"), 3000); + } catch (error) { + setSubmitStatus("error"); + setTimeout(() => setSubmitStatus("idle"), 3000); + } + }; + + const handleWhatsApp = () => { + const message = `Hello, I'm interested in your repair services.`; + const encodedMessage = encodeURIComponent(message); + window.open(`https://wa.me/919946368923?text=${encodedMessage}`, "_blank"); + }; + return ( -
- +
+
+

Contact Us

+

+ Get in touch with Cool World Refrigeration for AC and refrigerator repair services in Kannur. We're here to help with fast, reliable, and affordable solutions. +

+
-
-