Merge version_2 into main #1
218
src/app/page.tsx
218
src/app/page.tsx
@@ -31,21 +31,13 @@ export default function LandingPage() {
|
||||
<NavbarStyleCentered
|
||||
navItems={[
|
||||
{
|
||||
name: "Home",
|
||||
id: "hero",
|
||||
},
|
||||
name: "Home", id: "hero"},
|
||||
{
|
||||
name: "Shop",
|
||||
id: "products",
|
||||
},
|
||||
name: "Shop", id: "products"},
|
||||
{
|
||||
name: "Find Solution",
|
||||
id: "solutions",
|
||||
},
|
||||
name: "Find Solution", id: "solutions"},
|
||||
{
|
||||
name: "WhatsApp",
|
||||
id: "whatsapp",
|
||||
},
|
||||
name: "WhatsApp", id: "whatsapp"},
|
||||
]}
|
||||
brandName="The Heir Electrical"
|
||||
/>
|
||||
@@ -54,70 +46,45 @@ export default function LandingPage() {
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroSplit
|
||||
background={{
|
||||
variant: "sparkles-gradient",
|
||||
}}
|
||||
variant: "sparkles-gradient"}}
|
||||
title="Power Your Home Without Fuel"
|
||||
description="Reliable solar energy solutions for Nigerian homes and businesses. Save on costs, stay powered 24/7."
|
||||
buttons={[
|
||||
{
|
||||
text: "Find My Solar Solution",
|
||||
href: "#solutions",
|
||||
},
|
||||
text: "Find My Solar Solution", href: "#solutions"},
|
||||
{
|
||||
text: "Chat on WhatsApp",
|
||||
href: "https://wa.me/234XXXXXXXXXX",
|
||||
},
|
||||
text: "Chat on WhatsApp", href: "https://wa.me/234XXXXXXXXXX"},
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/business-person-planning-alternative-energies_23-2149205425.jpg"
|
||||
mediaAnimation="slide-up"
|
||||
avatars={[
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/colleagues-work-having-lunch_23-2148894059.jpg",
|
||||
alt: "Colleagues at work having lunch",
|
||||
},
|
||||
src: "http://img.b2bpic.net/free-photo/colleagues-work-having-lunch_23-2148894059.jpg", alt: "Colleagues at work having lunch"},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/asian-women-working-hard-together-computer_23-2148776741.jpg",
|
||||
alt: "Asian women working hard together on a computer",
|
||||
},
|
||||
src: "http://img.b2bpic.net/free-photo/asian-women-working-hard-together-computer_23-2148776741.jpg", alt: "Asian women working hard together on a computer"},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/team-work-environment-project_23-2148894011.jpg",
|
||||
alt: "Team work for environment project",
|
||||
},
|
||||
src: "http://img.b2bpic.net/free-photo/team-work-environment-project_23-2148894011.jpg", alt: "Team work for environment project"},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/3d-house-with-solar-pannels_23-2148907395.jpg",
|
||||
alt: "3d house with solar pannels",
|
||||
},
|
||||
src: "http://img.b2bpic.net/free-photo/3d-house-with-solar-pannels_23-2148907395.jpg", alt: "3d house with solar pannels"},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/man-street-using-mobile-phone_657883-744.jpg",
|
||||
alt: "Man on the street using mobile phone",
|
||||
},
|
||||
src: "http://img.b2bpic.net/free-photo/man-street-using-mobile-phone_657883-744.jpg", alt: "Man on the street using mobile phone"},
|
||||
]}
|
||||
avatarText="Trusted by over 500+ Nigerian households"
|
||||
marqueeItems={[
|
||||
{
|
||||
type: "text-icon",
|
||||
text: "24/7 Support",
|
||||
icon: Headphones,
|
||||
type: "text-icon", text: "24/7 Support", icon: Headphones,
|
||||
},
|
||||
{
|
||||
type: "text-icon",
|
||||
text: "Verified Quality",
|
||||
icon: ShieldCheck,
|
||||
type: "text-icon", text: "Verified Quality", icon: ShieldCheck,
|
||||
},
|
||||
{
|
||||
type: "text-icon",
|
||||
text: "Expert Install",
|
||||
icon: Wrench,
|
||||
type: "text-icon", text: "Expert Install", icon: Wrench,
|
||||
},
|
||||
{
|
||||
type: "text-icon",
|
||||
text: "Clean Energy",
|
||||
icon: Sun,
|
||||
type: "text-icon", text: "Clean Energy", icon: Sun,
|
||||
},
|
||||
{
|
||||
type: "text-icon",
|
||||
text: "Cost Effective",
|
||||
icon: Percent,
|
||||
type: "text-icon", text: "Cost Effective", icon: Percent,
|
||||
},
|
||||
]}
|
||||
/>
|
||||
@@ -130,20 +97,11 @@ export default function LandingPage() {
|
||||
tag="Reliability"
|
||||
metrics={[
|
||||
{
|
||||
id: "m1",
|
||||
value: "500+",
|
||||
description: "Installations in Nigeria",
|
||||
},
|
||||
id: "m1", value: "500+", description: "Installations in Nigeria"},
|
||||
{
|
||||
id: "m2",
|
||||
value: "100%",
|
||||
description: "Verified Supplier",
|
||||
},
|
||||
id: "m2", value: "100%", description: "Verified Supplier"},
|
||||
{
|
||||
id: "m3",
|
||||
value: "24/7",
|
||||
description: "Support Available",
|
||||
},
|
||||
id: "m3", value: "24/7", description: "Support Available"},
|
||||
]}
|
||||
metricsAnimation="slide-up"
|
||||
/>
|
||||
@@ -157,20 +115,11 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
features={[
|
||||
{
|
||||
title: "Durable Hardware",
|
||||
description: "High-efficiency panels built for intense sun exposure.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/shareholders-meet-with-industrial-plant-manager-review-solar-panel-components_482257-126504.jpg",
|
||||
},
|
||||
title: "Durable Hardware", description: "High-efficiency panels built for intense sun exposure.", imageSrc: "http://img.b2bpic.net/free-photo/shareholders-meet-with-industrial-plant-manager-review-solar-panel-components_482257-126504.jpg"},
|
||||
{
|
||||
title: "Expert Installation",
|
||||
description: "Professional team ensures seamless system integration.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/alternative-energy-ecological-concept_1157-35709.jpg",
|
||||
},
|
||||
title: "Expert Installation", description: "Professional team ensures seamless system integration.", imageSrc: "http://img.b2bpic.net/free-photo/alternative-energy-ecological-concept_1157-35709.jpg"},
|
||||
{
|
||||
title: "Extended Warranty",
|
||||
description: "Peace of mind with our long-term product coverage.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/person-near-alternative-energy-plant_23-2149192721.jpg",
|
||||
},
|
||||
title: "Extended Warranty", description: "Peace of mind with our long-term product coverage.", imageSrc: "http://img.b2bpic.net/free-photo/person-near-alternative-energy-plant_23-2149192721.jpg"},
|
||||
]}
|
||||
title="Why Choose The Heir Electrical?"
|
||||
description="Our products are designed for durability, reliability, and simple setup in Nigerian conditions."
|
||||
@@ -182,28 +131,17 @@ export default function LandingPage() {
|
||||
useInvertedBackground={true}
|
||||
faqs={[
|
||||
{
|
||||
id: "s1",
|
||||
title: "Step 1: Appliance Selection",
|
||||
content: "List your home appliances: TV, Fans, Lights, Fridge. We'll size it for you.",
|
||||
},
|
||||
id: "s1", title: "Step 1: Appliance Selection", content: "List your home appliances: TV, Fans, Lights, Fridge. We'll size it for you."},
|
||||
{
|
||||
id: "s2",
|
||||
title: "Step 2: Define Usage Hours",
|
||||
content: "Tell us how many hours you need power daily to ensure your batteries last.",
|
||||
},
|
||||
id: "s2", title: "Step 2: Define Usage Hours", content: "Tell us how many hours you need power daily to ensure your batteries last."},
|
||||
{
|
||||
id: "s3",
|
||||
title: "Step 3: Budget Planning",
|
||||
content: "Choose a budget range that works for you, and we find the best system fit.",
|
||||
},
|
||||
id: "s3", title: "Step 3: Budget Planning", content: "Choose a budget range that works for you, and we find the best system fit."},
|
||||
]}
|
||||
sideTitle="Find Your Perfect Solar Solution"
|
||||
sideDescription="Not sure where to start? Tell us your appliances and get a custom recommendation via WhatsApp."
|
||||
buttons={[
|
||||
{
|
||||
text: "Get Custom Quote",
|
||||
href: "https://wa.me/234XXXXXXXXXX",
|
||||
},
|
||||
text: "Get Custom Quote", href: "https://wa.me/234XXXXXXXXXX"},
|
||||
]}
|
||||
faqsAnimation="slide-up"
|
||||
/>
|
||||
@@ -217,47 +155,17 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
products={[
|
||||
{
|
||||
id: "p1",
|
||||
name: "Solar Generator 1.5kVA",
|
||||
price: "₦250,000",
|
||||
variant: "Powers TV + Fan + Lights",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/adult-person-interacting-with-futuristic-delivery-robot_23-2151210975.jpg",
|
||||
},
|
||||
id: "p1", name: "Solar Generator 1.5kVA", price: "₦250,000", variant: "Powers TV + Fan + Lights", imageSrc: "http://img.b2bpic.net/free-photo/adult-person-interacting-with-futuristic-delivery-robot_23-2151210975.jpg"},
|
||||
{
|
||||
id: "p2",
|
||||
name: "Lithium Battery Pack",
|
||||
price: "₦450,000",
|
||||
variant: "High Capacity Storage",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/pov-solar-panel-placed-conveyor-belt-3d-rendering_482257-77932.jpg",
|
||||
},
|
||||
id: "p2", name: "Lithium Battery Pack", price: "₦450,000", variant: "High Capacity Storage", imageSrc: "http://img.b2bpic.net/free-photo/pov-solar-panel-placed-conveyor-belt-3d-rendering_482257-77932.jpg"},
|
||||
{
|
||||
id: "p3",
|
||||
name: "High Efficiency Panel",
|
||||
price: "₦120,000",
|
||||
variant: "Durable Weatherproof",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/photovoltaics-factory-team-videocall-meeting-improving-efficiency_482257-123421.jpg",
|
||||
},
|
||||
id: "p3", name: "High Efficiency Panel", price: "₦120,000", variant: "Durable Weatherproof", imageSrc: "http://img.b2bpic.net/free-photo/photovoltaics-factory-team-videocall-meeting-improving-efficiency_482257-123421.jpg"},
|
||||
{
|
||||
id: "p4",
|
||||
name: "Solar Fan",
|
||||
price: "₦35,000",
|
||||
variant: "Long Lasting Battery",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/solar-panel-mountain-generates-clean-electricity-generated-by-ai_188544-20337.jpg",
|
||||
},
|
||||
id: "p4", name: "Solar Fan", price: "₦35,000", variant: "Long Lasting Battery", imageSrc: "http://img.b2bpic.net/free-photo/solar-panel-mountain-generates-clean-electricity-generated-by-ai_188544-20337.jpg"},
|
||||
{
|
||||
id: "p5",
|
||||
name: "Lighting System Set",
|
||||
price: "₦45,000",
|
||||
variant: "6 Units + Controller",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-hand-holding-eco-lightbulb-side-view_23-2148920642.jpg",
|
||||
},
|
||||
id: "p5", name: "Lighting System Set", price: "₦45,000", variant: "6 Units + Controller", imageSrc: "http://img.b2bpic.net/free-photo/close-up-hand-holding-eco-lightbulb-side-view_23-2148920642.jpg"},
|
||||
{
|
||||
id: "p6",
|
||||
name: "Solar Inverter 3kVA",
|
||||
price: "₦600,000",
|
||||
variant: "Full Home Power",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/ecological-house-holding-blank-signboard_1156-343.jpg",
|
||||
},
|
||||
id: "p6", name: "Solar Inverter 3kVA", price: "₦600,000", variant: "Full Home Power", imageSrc: "http://img.b2bpic.net/free-photo/ecological-house-holding-blank-signboard_1156-343.jpg"},
|
||||
]}
|
||||
title="Solar Product Catalog"
|
||||
description="Choose from our top-rated range of solar products designed to keep you powered."
|
||||
@@ -271,40 +179,15 @@ export default function LandingPage() {
|
||||
useInvertedBackground={true}
|
||||
testimonials={[
|
||||
{
|
||||
id: "t1",
|
||||
name: "Adeola O.",
|
||||
role: "Lagos Resident",
|
||||
testimonial: "The Heir Electrical transformed our home power. No more fuel stress!",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/cheerful-business-man-greeting-colleague_74855-1519.jpg",
|
||||
},
|
||||
id: "t1", name: "Adeola O.", role: "Lagos Resident", testimonial: "The Heir Electrical transformed our home power. No more fuel stress!", imageSrc: "http://img.b2bpic.net/free-photo/cheerful-business-man-greeting-colleague_74855-1519.jpg"},
|
||||
{
|
||||
id: "t2",
|
||||
name: "Chidi M.",
|
||||
role: "Business Owner",
|
||||
testimonial: "Fantastic installation speed. Highly recommend for any business.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/asian-women-working-hard-together-office_23-2148776739.jpg",
|
||||
},
|
||||
id: "t2", name: "Chidi M.", role: "Business Owner", testimonial: "Fantastic installation speed. Highly recommend for any business.", imageSrc: "http://img.b2bpic.net/free-photo/asian-women-working-hard-together-office_23-2148776739.jpg"},
|
||||
{
|
||||
id: "t3",
|
||||
name: "Funke B.",
|
||||
role: "Homeowner",
|
||||
testimonial: "Professional team and great customer support via WhatsApp.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/mother-with-her-little-son-by-solar-panels_1303-15545.jpg",
|
||||
},
|
||||
id: "t3", name: "Funke B.", role: "Homeowner", testimonial: "Professional team and great customer support via WhatsApp.", imageSrc: "http://img.b2bpic.net/free-photo/mother-with-her-little-son-by-solar-panels_1303-15545.jpg"},
|
||||
{
|
||||
id: "t4",
|
||||
name: "Emeka K.",
|
||||
role: "Solar User",
|
||||
testimonial: "My TV and Fridge run perfectly now. Very happy with the solar generator.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-man-outdoors-traditional-african-attire_23-2150572612.jpg",
|
||||
},
|
||||
id: "t4", name: "Emeka K.", role: "Solar User", testimonial: "My TV and Fridge run perfectly now. Very happy with the solar generator.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-man-outdoors-traditional-african-attire_23-2150572612.jpg"},
|
||||
{
|
||||
id: "t5",
|
||||
name: "Sarah U.",
|
||||
role: "Homeowner",
|
||||
testimonial: "Finally, constant power without noise or smoke. Best decision ever.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-carefree-brunette-woman-sitting-couch-living-room-online-shopping_1258-201984.jpg",
|
||||
},
|
||||
id: "t5", name: "Sarah U.", role: "Homeowner", testimonial: "Finally, constant power without noise or smoke. Best decision ever.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-carefree-brunette-woman-sitting-couch-living-room-online-shopping_1258-201984.jpg"},
|
||||
]}
|
||||
title="What Our Clients Say"
|
||||
description="Hear from Nigerians who have made the switch to reliable, clean energy."
|
||||
@@ -316,20 +199,11 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
faqs={[
|
||||
{
|
||||
id: "f1",
|
||||
title: "Do you offer installation?",
|
||||
content: "Yes, we provide full professional installation services nationwide.",
|
||||
},
|
||||
id: "f1", title: "Do you offer installation?", content: "Yes, we provide full professional installation services nationwide."},
|
||||
{
|
||||
id: "f2",
|
||||
title: "How do I pay?",
|
||||
content: "Checkout is handled via WhatsApp, where we share secure bank transfer details.",
|
||||
},
|
||||
id: "f2", title: "How do I pay?", content: "Checkout is handled via WhatsApp, where we only share payment details for verified company bank accounts to ensure your security."},
|
||||
{
|
||||
id: "f3",
|
||||
title: "Do I get a warranty?",
|
||||
content: "All our products come with a minimum 12-month manufacturer warranty.",
|
||||
},
|
||||
id: "f3", title: "Do I get a warranty?", content: "All our products come with a minimum 12-month manufacturer warranty."},
|
||||
]}
|
||||
sideTitle="Frequently Asked Questions"
|
||||
sideDescription="Everything you need to know about switching to solar with The Heir Electrical."
|
||||
@@ -341,16 +215,12 @@ export default function LandingPage() {
|
||||
<FooterLogoReveal
|
||||
logoText="The Heir Electrical"
|
||||
leftLink={{
|
||||
text: "Privacy Policy",
|
||||
href: "#",
|
||||
}}
|
||||
text: "Privacy Policy", href: "#"}}
|
||||
rightLink={{
|
||||
text: "Terms & Conditions",
|
||||
href: "#",
|
||||
}}
|
||||
text: "Terms & Conditions", href: "#"}}
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user