From aad2dd4c6c0de348d02a37dfbcbc62a9bd1a5351 Mon Sep 17 00:00:00 2001 From: bender Date: Sat, 9 May 2026 16:34:37 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 75 ++++++++++++++++++++---------------------------- 1 file changed, 31 insertions(+), 44 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 896419e..e4aa564 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -2,7 +2,7 @@ import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import ReactLenis from "lenis/react"; -import ContactCenter from '@/components/sections/contact/ContactCenter'; +import ContactText from '@/components/sections/contact/ContactText'; import FaqBase from '@/components/sections/faq/FaqBase'; import FeatureCardNine from '@/components/sections/feature/FeatureCardNine'; import FooterSimple from '@/components/sections/footer/FooterSimple'; @@ -11,8 +11,20 @@ import MetricCardSeven from '@/components/sections/metrics/MetricCardSeven'; import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline'; import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix'; import TextSplitAbout from '@/components/sections/about/TextSplitAbout'; +import { useState } from 'react'; export default function LandingPage() { + const [formData, setFormData] = useState({ name: '', purpose: '', email: '' }); + + const handleSubmit = async () => { + const response = await fetch('https://formspree.io/f/cxxlmeayxxn012@gmail.com', { + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + body: JSON.stringify(formData), + }); + if (response.ok) alert('Inquiry sent successfully!'); + }; + return ( @@ -55,7 +67,7 @@ export default function LandingPage() { useInvertedBackground={false} title="A Legacy of Trust & Quality" description={[ - "For years, Bangkok Home Service has been the gold standard for discerning homeowners who demand perfection in every detail.", "Our commitment is simple: exceptional service, seamless experience, and unmatched reliability."]} + "For years, Bangkok Home Service has been the gold standard for discerning homeowners who demand perfection in every detail.", "Our commitment is simple: exceptional service, seamless experience, and unmatched reliability." ]} /> @@ -68,18 +80,9 @@ export default function LandingPage() { title="Premium Home Solutions" description="Tailored services to maintain the beauty and comfort of your luxury property." features={[ - { - title: "Elite AC Services", description: "Comprehensive maintenance and cleaning to ensure your environment is pristine and climate-controlled year-round.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/engineer-arriving-location-help-apprentice-mend-busted-electric-coils-damaged-external-air-conditioner-technicians-comissioned-prevent-internal-parts-breakdowns-ensuring-timely-repair_482257-75177.jpg", imageAlt: "Modern air conditioner maintenance" }, - phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/wireman-dissasembling-air-conditioner_482257-91015.jpg", imageAlt: "Professional ac cleaning service" } - }, - { - title: "Luxury Home Shipping", description: "Safe, secure, and professional handling of all your relocation and transport needs with care and discretion.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/this-is-perfect-spot-out-new-armchair_637285-12298.jpg", imageAlt: "Professional home moving services" }, - phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/courier-doing-jobs-logistics_23-2149229260.jpg", imageAlt: "Secure residential shipping house" } - }, - { - title: "Comprehensive Care", description: "Full-scale maintenance and dedicated support for every corner of your beautiful residence.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/seasoned-mechanic-removing-layer-dirt-from-blower-fan-prevent-damaging-ventilation-system-adept-repairman-cleaning-hvac-system-parts-stop-risk-overheating-close-up_482257-67998.jpg", imageAlt: "Modern air conditioner maintenance" }, - phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/volunteers-handling-donation-boxes_23-2149230541.jpg", imageAlt: "Professional home moving services" } - } + { title: "Elite AC Services", description: "Comprehensive maintenance and cleaning.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/engineer-arriving-location-help-apprentice-mend-busted-electric-coils-damaged-external-air-conditioner-technicians-comissioned-prevent-internal-parts-breakdowns-ensuring-timely-repair_482257-75177.jpg" }, phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/wireman-dissasembling-air-conditioner_482257-91015.jpg" } }, + { title: "Luxury Home Shipping", description: "Safe, secure, and professional handling.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/this-is-perfect-spot-out-new-armchair_637285-12298.jpg" }, phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/courier-doing-jobs-logistics_23-2149229260.jpg" } }, + { title: "Comprehensive Care", description: "Full-scale maintenance and dedicated support.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/seasoned-mechanic-removing-layer-dirt-from-blower-fan-prevent-damaging-ventilation-system-adept-repairman-cleaning-hvac-system-parts-stop-risk-overheating-close-up_482257-67998.jpg" }, phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/volunteers-handling-donation-boxes_23-2149230541.jpg" } } ]} /> @@ -106,10 +109,7 @@ export default function LandingPage() { useInvertedBackground={false} testimonials={[ { id: "t1", name: "Sarah Miller", handle: "@sarahm", testimonial: "Truly the best service in Bangkok. Flawless attention to detail.", imageSrc: "http://img.b2bpic.net/free-photo/asian-attractive-female-cafe-staff-wear-uniform-apron-smiling-cheerful-welcome-cafe-restaurant-with-confident-happiness-with-positive-service-mind-after-lockdown-is-shopfront-entrance_609648-2109.jpg" }, - { id: "t2", name: "David Chen", handle: "@dchen", testimonial: "Seamless shipping and top-tier AC maintenance. Highly recommended.", imageSrc: "http://img.b2bpic.net/free-photo/tanned-slim-woman-white-shorts-dreamy-posing-near-couch_197531-6657.jpg" }, - { id: "t3", name: "Elena Rossi", handle: "@erossi", testimonial: "Sophisticated care for a sophisticated home. Simply elite.", imageSrc: "http://img.b2bpic.net/free-photo/fashion-portrait-blonde-caucasian-stylish-woman-french-cap-blazer-shorts-outdoor-outside-villa_343596-2193.jpg" }, - { id: "t4", name: "Marcus Thorne", handle: "@mthorne", testimonial: "Reliable, professional, and discreet. Exactly what I need.", imageSrc: "http://img.b2bpic.net/free-photo/young-hispanic-man-with-beard-working-home-renovation-smiling-cheerful-playing-peek-boo-with-hands-showing-face-surprised-exited_839833-5465.jpg" }, - { id: "t5", name: "Sophia Lee", handle: "@slee", testimonial: "The gold standard indeed. My home has never felt better.", imageSrc: "http://img.b2bpic.net/free-photo/airbnb-host-welcoming-guests_23-2149872045.jpg" } + { id: "t2", name: "David Chen", handle: "@dchen", testimonial: "Seamless shipping and top-tier AC maintenance. Highly recommended.", imageSrc: "http://img.b2bpic.net/free-photo/tanned-slim-woman-white-shorts-dreamy-posing-near-couch_197531-6657.jpg" } ]} title="Discerning Clients Choose Us" description="Read why homeowners trust Bangkok Home Service for their most valuable property needs." @@ -122,8 +122,7 @@ export default function LandingPage() { useInvertedBackground={false} faqs={[ { id: "q1", title: "How do I book a service?", content: "Simply fill out our secure inquiry form and our concierge will contact you." }, - { id: "q2", title: "Are your staff trained?", content: "All our service partners are highly skilled, verified, and follow strict luxury standards." }, - { id: "q3", title: "Do you serve all of Bangkok?", content: "We cover all major residential districts across the city." } + { id: "q2", title: "Are your staff trained?", content: "All our service partners are highly skilled, verified, and follow strict luxury standards." } ]} title="Frequently Asked Questions" description="Everything you need to know about our luxury home services." @@ -132,38 +131,26 @@ export default function LandingPage() {
- +
+

Service Inquiry

+
+ setFormData({...formData, name: e.target.value})} /> + setFormData({...formData, purpose: e.target.value})} /> + setFormData({...formData, email: e.target.value})} /> + +
+
); -} +} \ No newline at end of file -- 2.49.1 From 328bceaa7b833b9ff6ba0e455980ca817522e8a1 Mon Sep 17 00:00:00 2001 From: bender Date: Sat, 9 May 2026 16:34:37 +0000 Subject: [PATCH 2/2] Update src/app/styles/variables.css --- src/app/styles/variables.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/styles/variables.css b/src/app/styles/variables.css index df72eb4..f81e8a6 100644 --- a/src/app/styles/variables.css +++ b/src/app/styles/variables.css @@ -10,8 +10,8 @@ --accent: #ffffff; --background-accent: #ffffff; */ - --background: #ffffff; - --card: #fbfbfb; + --background: #fdf8f0; + --card: #ffffff; --foreground: #1a1a1a; --primary-cta: #c5a059; --primary-cta-text: #ffffff; -- 2.49.1