From 873d4c56682fb6119c5403a01300478fd4654c6f Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 6 Mar 2026 08:31:47 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 109 ++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 94 insertions(+), 15 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 4029bd4..d4ba2cf 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -11,6 +11,8 @@ import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCar import ContactSplit from '@/components/sections/contact/ContactSplit'; import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis'; import { Zap, Flame, Camera, CreditCard, Star, Award, Users, Dumbbell, Heart, MessageSquare, Sparkles } from "lucide-react"; +import { useState } from "react"; +import { Textarea } from "@/components/form/Textarea"; const assetMap: Record = { "hero-gym-banner": "http://img.b2bpic.net/free-photo/sports-equipment-dumbbells-gym_169016-59099.jpg", "gym-interior": "http://img.b2bpic.net/free-photo/low-angle-view-young-sportsmen-cycling-exercise-bikes-while-working-out-gym_637285-2532.jpg", "trainer-madhan": "http://img.b2bpic.net/free-photo/indian-man-doing-excercisses-special-equipment-gym-with-personal-trainer_1157-51767.jpg", "weight-loss-training": "http://img.b2bpic.net/free-photo/fat-woman-dieting-fitness-portrait-obese-woman-working-out-gym_1157-48530.jpg", "muscle-building": "http://img.b2bpic.net/free-photo/training-cross-fit-gym_169016-1992.jpg", "personal-training": "http://img.b2bpic.net/free-photo/indian-man-doing-excercisses-special-equipment-gym-with-personal-trainer_1157-51767.jpg", "diet-guidance": "http://img.b2bpic.net/free-photo/veggie-lettering-notebook-surrounded-by-veggie-food_23-2148305836.jpg", "gym-equipment-1": "http://img.b2bpic.net/free-photo/black-dumbbells-with-different-weight_7502-8973.jpg", "gym-equipment-2": "http://img.b2bpic.net/free-photo/male-feet-sneakers-running-treadmill-gym-exercise-concept_335224-798.jpg", "transformation-before-after": "http://img.b2bpic.net/free-photo/people-working-out-indoors-together-with-jump-rope_23-2149175362.jpg", "testimonial-1": "http://img.b2bpic.net/free-photo/smiling-athletic-man-black-background_613910-9870.jpg", "testimonial-2": "http://img.b2bpic.net/free-photo/cheerful-young-sports-woman-with-arms-crossed_171337-8914.jpg", "testimonial-3": "http://img.b2bpic.net/free-photo/smiling-athletic-man-black-background_613910-9870.jpg", "testimonial-4": "http://img.b2bpic.net/free-photo/portrait-smiling-young-sportswoman_171337-10026.jpg"}; @@ -20,6 +22,21 @@ function getAssetUrl(assetId: string): string { } export default function FitnessEmpire() { + const [formData, setFormData] = useState({ + name: "", phone: "", email: "", message: "" + }); + + const handleFormChange = (field: string, value: string) => { + setFormData(prev => ({ + ...prev, + [field]: value + })); + }; + + const handleFormSubmit = (email: string) => { + console.log("Form submitted:", { ...formData, email }); + }; + return (
- +
+
+
+ + Get In Touch +
+

Visit Fitness Empire Today

+

Located at No 158/8, By-Pass Road, Periyakuppam, Thiruvallur. Contact us for gym tours, membership queries, or any fitness questions. Join our community of 250+ successful members transforming their lives.

+
+ +
+
+
+
+ + handleFormChange("name", e.target.value)} + className="w-full px-4 py-3 rounded-lg bg-white bg-opacity-20 border border-white border-opacity-30 text-white placeholder-white placeholder-opacity-50 focus:outline-none focus:ring-2 focus:ring-white focus:border-transparent" + required + /> +
+
+ + handleFormChange("phone", e.target.value)} + className="w-full px-4 py-3 rounded-lg bg-white bg-opacity-20 border border-white border-opacity-30 text-white placeholder-white placeholder-opacity-50 focus:outline-none focus:ring-2 focus:ring-white focus:border-transparent" + required + /> +
+
+ +
+ + handleFormChange("email", e.target.value)} + className="w-full px-4 py-3 rounded-lg bg-white bg-opacity-20 border border-white border-opacity-30 text-white placeholder-white placeholder-opacity-50 focus:outline-none focus:ring-2 focus:ring-white focus:border-transparent" + required + /> +
+ +
+ +