Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| be1feb1afc | |||
| 6490bdfbda |
289
src/app/page.tsx
289
src/app/page.tsx
@@ -30,26 +30,11 @@ export default function LandingPage() {
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarLayoutFloatingOverlay
|
||||
navItems={[
|
||||
{
|
||||
name: "Home",
|
||||
id: "#hero",
|
||||
},
|
||||
{
|
||||
name: "Services",
|
||||
id: "#services",
|
||||
},
|
||||
{
|
||||
name: "About",
|
||||
id: "#about",
|
||||
},
|
||||
{
|
||||
name: "Testimonials",
|
||||
id: "#testimonials",
|
||||
},
|
||||
{
|
||||
name: "Contact",
|
||||
id: "#contact",
|
||||
},
|
||||
{ name: "Home", id: "#hero" },
|
||||
{ name: "Services", id: "#services" },
|
||||
{ name: "About", id: "#about" },
|
||||
{ name: "Testimonials", id: "#testimonials" },
|
||||
{ name: "Contact", id: "#contact" },
|
||||
]}
|
||||
brandName="Klinik Pakar Kanak-kanak Lim WT"
|
||||
/>
|
||||
@@ -58,118 +43,27 @@ export default function LandingPage() {
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroBillboardTestimonial
|
||||
useInvertedBackground={false}
|
||||
background={{
|
||||
variant: "gradient-bars",
|
||||
}}
|
||||
background={{ variant: "gradient-bars" }}
|
||||
title="Trusted Pediatric Care for Your Child’s Health"
|
||||
description="Experienced pediatric specialist providing reliable care and dedicated attention to children in Malacca."
|
||||
testimonials={[
|
||||
{
|
||||
name: "Sarah Lee",
|
||||
handle: "@sarahlee",
|
||||
testimonial: "Dr. Lim is incredibly thorough and patient. My son feels comfortable every time we visit.",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/happy-young-mother-with-little-son-home_273609-14784.jpg?_wi=1",
|
||||
},
|
||||
{
|
||||
name: "Michael Tan",
|
||||
handle: "@mtan",
|
||||
testimonial: "Very professional and friendly. The best clinic in Malacca for childhood health issues.",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/she-is-trying-be-very-brave_329181-7694.jpg?_wi=1",
|
||||
},
|
||||
{
|
||||
name: "Emily Wong",
|
||||
handle: "@emilyw",
|
||||
testimonial: "I highly recommend this clinic to any parent seeking reliable pediatric care. Dr. Lim is exceptional.",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/pregnant-woman-child-with-urinalysis-sample_1398-1061.jpg?_wi=1",
|
||||
},
|
||||
{
|
||||
name: "David Raj",
|
||||
handle: "@davidraj",
|
||||
testimonial: "Clear explanations and very kind with kids. We’ve been coming here for years.",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/father-daughter-laughing-together_23-2147615922.jpg?_wi=1",
|
||||
},
|
||||
{
|
||||
name: "Fatima Omar",
|
||||
handle: "@fomar",
|
||||
testimonial: "A truly caring environment. The staff are attentive and professional.",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-senior-woman-holding-coffee-cup_23-2147861632.jpg?_wi=1",
|
||||
},
|
||||
{ name: "Sarah Lee", handle: "@sarahlee", testimonial: "Dr. Lim is incredibly thorough and patient.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/happy-young-mother-with-little-son-home_273609-14784.jpg?_wi=1" },
|
||||
{ name: "Michael Tan", handle: "@mtan", testimonial: "Very professional and friendly.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/she-is-trying-be-very-brave_329181-7694.jpg?_wi=1" }
|
||||
]}
|
||||
buttons={[
|
||||
{
|
||||
text: "Call Now",
|
||||
href: "tel:+60123456789",
|
||||
},
|
||||
{
|
||||
text: "Book Appointment",
|
||||
href: "#contact",
|
||||
},
|
||||
{ text: "Call Now", href: "tel:+60123456789" },
|
||||
{ text: "Book Appointment", href: "#contact" },
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/mother-daughter-with-doctor-hospital_329181-9272.jpg"
|
||||
avatars={[
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/happy-young-mother-with-little-son-home_273609-14784.jpg",
|
||||
alt: "Sarah Lee",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/she-is-trying-be-very-brave_329181-7694.jpg",
|
||||
alt: "Michael Tan",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/pregnant-woman-child-with-urinalysis-sample_1398-1061.jpg",
|
||||
alt: "Emily Wong",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/father-daughter-laughing-together_23-2147615922.jpg",
|
||||
alt: "David Raj",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/portrait-smiling-senior-woman-holding-coffee-cup_23-2147861632.jpg",
|
||||
alt: "Fatima Omar",
|
||||
},
|
||||
]}
|
||||
avatarText="Trusted by over 500+ parents in Malacca"
|
||||
marqueeItems={[
|
||||
{
|
||||
type: "text",
|
||||
text: "Pediatric Health",
|
||||
},
|
||||
{
|
||||
type: "text",
|
||||
text: "Vaccinations",
|
||||
},
|
||||
{
|
||||
type: "text",
|
||||
text: "Development Checks",
|
||||
},
|
||||
{
|
||||
type: "text",
|
||||
text: "Infection Treatment",
|
||||
},
|
||||
{
|
||||
type: "text",
|
||||
text: "General Care",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="about" data-section="about">
|
||||
<TextAbout
|
||||
useInvertedBackground={false}
|
||||
title="Your Child’s Well-being is Our Priority"
|
||||
buttons={[
|
||||
{
|
||||
text: "Call Now",
|
||||
href: "tel:+60123456789",
|
||||
},
|
||||
]}
|
||||
tag="About Us"
|
||||
title="Dedicated Pediatric Expert, Dr. Lim WT"
|
||||
buttons={[{ text: "Call Now", href: "tel:+60123456789" }]}
|
||||
tag="About Dr. Lim"
|
||||
tagIcon={Info}
|
||||
/>
|
||||
</div>
|
||||
@@ -180,44 +74,12 @@ export default function LandingPage() {
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
features={[
|
||||
{
|
||||
id: "f1",
|
||||
title: "General Consultation",
|
||||
subtitle: "Expert evaluation for all childhood illnesses.",
|
||||
category: "Care",
|
||||
value: "Primary",
|
||||
},
|
||||
{
|
||||
id: "f2",
|
||||
title: "Fever & Infections",
|
||||
subtitle: "Compassionate treatment for common infections.",
|
||||
category: "Care",
|
||||
value: "Urgent",
|
||||
},
|
||||
{
|
||||
id: "f3",
|
||||
title: "Cough & Respiratory",
|
||||
subtitle: "Specialized care for breathing concerns.",
|
||||
category: "Care",
|
||||
value: "Support",
|
||||
},
|
||||
{
|
||||
id: "f4",
|
||||
title: "Development Checks",
|
||||
subtitle: "Monitoring your child’s growth and milestones.",
|
||||
category: "Growth",
|
||||
value: "Monitor",
|
||||
},
|
||||
{
|
||||
id: "f5",
|
||||
title: "Vaccinations",
|
||||
subtitle: "Essential immunization for a healthy start.",
|
||||
category: "Safety",
|
||||
value: "Protection",
|
||||
},
|
||||
{ id: "f1", title: "General Consultation", subtitle: "Expert evaluation for all childhood illnesses.", category: "Care", value: "Primary" },
|
||||
{ id: "f2", title: "Vaccinations", subtitle: "Essential immunization for a healthy start.", category: "Safety", value: "Protection" },
|
||||
{ id: "f3", title: "Growth Monitoring", subtitle: "Developmental tracking from birth to teens.", category: "Growth", value: "Support" }
|
||||
]}
|
||||
title="Comprehensive Pediatric Services"
|
||||
description="We offer a wide range of specialized care to support your child’s health development."
|
||||
description="Expert medical support for every stage of your child’s development."
|
||||
tag="Our Expertise"
|
||||
tagIcon={Activity}
|
||||
/>
|
||||
@@ -229,44 +91,11 @@ export default function LandingPage() {
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
testimonials={[
|
||||
{
|
||||
id: "t1",
|
||||
name: "Sarah Lee",
|
||||
handle: "@sarahlee",
|
||||
testimonial: "Dr. Lim is incredibly thorough and patient.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/happy-young-mother-with-little-son-home_273609-14784.jpg?_wi=2",
|
||||
},
|
||||
{
|
||||
id: "t2",
|
||||
name: "Michael Tan",
|
||||
handle: "@mtan",
|
||||
testimonial: "Very professional and friendly.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/she-is-trying-be-very-brave_329181-7694.jpg?_wi=2",
|
||||
},
|
||||
{
|
||||
id: "t3",
|
||||
name: "Emily Wong",
|
||||
handle: "@emilyw",
|
||||
testimonial: "I highly recommend this clinic.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/pregnant-woman-child-with-urinalysis-sample_1398-1061.jpg?_wi=2",
|
||||
},
|
||||
{
|
||||
id: "t4",
|
||||
name: "David Raj",
|
||||
handle: "@davidraj",
|
||||
testimonial: "Clear explanations and kind with kids.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/father-daughter-laughing-together_23-2147615922.jpg?_wi=2",
|
||||
},
|
||||
{
|
||||
id: "t5",
|
||||
name: "Fatima Omar",
|
||||
handle: "@fomar",
|
||||
testimonial: "A truly caring environment.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-senior-woman-holding-coffee-cup_23-2147861632.jpg?_wi=2",
|
||||
},
|
||||
{ id: "t1", name: "Sarah Lee", handle: "@sarahlee", testimonial: "Dr. Lim is incredibly thorough and patient.", imageSrc: "http://img.b2bpic.net/free-photo/happy-young-mother-with-little-son-home_273609-14784.jpg?_wi=2" },
|
||||
{ id: "t2", name: "Michael Tan", handle: "@mtan", testimonial: "Very professional and friendly.", imageSrc: "http://img.b2bpic.net/free-photo/she-is-trying-be-very-brave_329181-7694.jpg?_wi=2" }
|
||||
]}
|
||||
title="Local Families Trust Dr. Lim"
|
||||
description="Read stories from other parents in Malacca who rely on our expertise."
|
||||
description="Read stories from other parents in Malacca."
|
||||
tag="Parent Stories"
|
||||
tagIcon={MessageSquare}
|
||||
/>
|
||||
@@ -276,57 +105,24 @@ export default function LandingPage() {
|
||||
<FaqSplitText
|
||||
useInvertedBackground={false}
|
||||
faqs={[
|
||||
{
|
||||
id: "q1",
|
||||
title: "Do I need an appointment?",
|
||||
content: "Yes, we encourage appointments to minimize your wait time, though we do accommodate urgent cases.",
|
||||
},
|
||||
{
|
||||
id: "q2",
|
||||
title: "What are your opening hours?",
|
||||
content: "We are open daily from 9:00 AM to 6:00 PM.",
|
||||
},
|
||||
{
|
||||
id: "q3",
|
||||
title: "Do you accept walk-ins?",
|
||||
content: "We prioritize appointments but accept walk-ins based on availability.",
|
||||
},
|
||||
{
|
||||
id: "q4",
|
||||
title: "What conditions do you treat?",
|
||||
content: "We cover a broad spectrum of pediatric health, from basic infections to development screening.",
|
||||
},
|
||||
{ id: "q1", title: "Do I need an appointment?", content: "Yes, appointments are recommended to minimize wait times." },
|
||||
{ id: "q2", title: "What are your opening hours?", content: "Daily: 9:00 AM - 6:00 PM." }
|
||||
]}
|
||||
sideTitle="Frequently Asked Questions"
|
||||
faqsAnimation="slide-up"
|
||||
sideDescription="Find answers to the most common questions regarding our clinic policies and medical services."
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="contact" data-section="contact">
|
||||
<ContactSplitForm
|
||||
useInvertedBackground={false}
|
||||
title="Book Your Child's Visit"
|
||||
description="Call us directly or fill in the form and we will get back to you shortly to confirm your appointment."
|
||||
title="Book Your Appointment"
|
||||
description="Get in touch with Klinik Pakar Kanak-kanak Lim WT for a consultation."
|
||||
inputs={[
|
||||
{
|
||||
name: "name",
|
||||
type: "text",
|
||||
placeholder: "Your Name",
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
name: "phone",
|
||||
type: "tel",
|
||||
placeholder: "Phone Number",
|
||||
required: true,
|
||||
},
|
||||
{ name: "name", type: "text", placeholder: "Parent Name", required: true },
|
||||
{ name: "phone", type: "tel", placeholder: "Mobile Phone", required: true }
|
||||
]}
|
||||
textarea={{
|
||||
name: "message",
|
||||
placeholder: "What are your child's symptoms?",
|
||||
rows: 4,
|
||||
}}
|
||||
textarea={{ name: "message", placeholder: "Child's symptoms/concerns", rows: 4 }}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/diverse-group-patients-asking-help-hospital-reception-desk-sitting-waiting-area-lobby-mother-with-child-senior-man-asian-patient-having-appointment-busy-medical-clinic_482257-48722.jpg"
|
||||
buttonText="Confirm Appointment"
|
||||
/>
|
||||
@@ -335,35 +131,10 @@ export default function LandingPage() {
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterSimple
|
||||
columns={[
|
||||
{
|
||||
title: "Location",
|
||||
items: [
|
||||
{
|
||||
label: "Kampung Teluk Baharu, Malacca",
|
||||
href: "#",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Hours",
|
||||
items: [
|
||||
{
|
||||
label: "Mon-Sun: 9AM - 6PM",
|
||||
href: "#",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Contact",
|
||||
items: [
|
||||
{
|
||||
label: "Call: +6012-345-6789",
|
||||
href: "tel:+60123456789",
|
||||
},
|
||||
],
|
||||
},
|
||||
{ title: "Location", items: [{ label: "Kampung Teluk Baharu, Malacca", href: "#" }] },
|
||||
{ title: "Hours", items: [{ label: "Daily: 9AM - 6PM", href: "#" }] }
|
||||
]}
|
||||
bottomLeftText="© 2024 Klinik Pakar Kanak-kanak Lim WT"
|
||||
bottomLeftText="© 2025 Klinik Pakar Kanak-kanak Lim WT"
|
||||
bottomRightText="All Rights Reserved"
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user