Update src/app/page.tsx
This commit is contained in:
107
src/app/page.tsx
107
src/app/page.tsx
@@ -11,6 +11,22 @@ import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCar
|
||||
import { Droplet, Flame, Phone, Settings, ShieldCheck, Wind, Wrench } from "lucide-react";
|
||||
|
||||
export default function LandingPage() {
|
||||
const navItems = [
|
||||
{ name: "Home", id: "hero" },
|
||||
{ name: "Services", id: "services" },
|
||||
{ name: "Reviews", id: "reviews" },
|
||||
{ name: "Contact", id: "contact" },
|
||||
].map(item => ({
|
||||
...item,
|
||||
onClick: (e: React.MouseEvent) => {
|
||||
if (item.id.startsWith("#")) {
|
||||
e.preventDefault();
|
||||
const el = document.getElementById(item.id.substring(1));
|
||||
el?.scrollIntoView({ behavior: "smooth" });
|
||||
}
|
||||
}
|
||||
}));
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="expand-hover"
|
||||
@@ -27,16 +43,7 @@ export default function LandingPage() {
|
||||
<ReactLenis root>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleApple
|
||||
navItems={[
|
||||
{
|
||||
name: "Home", id: "hero"},
|
||||
{
|
||||
name: "Services", id: "services"},
|
||||
{
|
||||
name: "Reviews", id: "reviews"},
|
||||
{
|
||||
name: "Contact", id: "contact"},
|
||||
]}
|
||||
navItems={navItems}
|
||||
brandName="Emergency AC (954) 994-3434"
|
||||
/>
|
||||
</div>
|
||||
@@ -48,8 +55,7 @@ export default function LandingPage() {
|
||||
title="YOUR AC BREAKS AT 3AM? WE ARRIVE IN UNDER 1 HOUR."
|
||||
description="Don't suffer in the Florida heat. Our certified experts provide 24/7 emergency service in Miami-Dade & Broward. Fast, licensed, and 40% cheaper than the big guys."
|
||||
buttons={[
|
||||
{
|
||||
text: "Call Now: (954) 994-3434", href: "tel:9549943434"},
|
||||
{ text: "Call Now: (954) 994-3434", href: "tel:9549943434" },
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-vector/striped-christmas-background-blue-tones_1048-465.jpg"
|
||||
/>
|
||||
@@ -61,24 +67,12 @@ export default function LandingPage() {
|
||||
textboxLayout="split"
|
||||
useInvertedBackground={false}
|
||||
features={[
|
||||
{
|
||||
icon: Wrench,
|
||||
title: "Emergency Repair", description: "24/7 rapid response for cooling emergencies."},
|
||||
{
|
||||
icon: Settings,
|
||||
title: "New Installation", description: "Professional setup with 10-year warranty coverage."},
|
||||
{
|
||||
icon: ShieldCheck,
|
||||
title: "Maintenance", description: "Preventive checks to extend system life."},
|
||||
{
|
||||
icon: Wind,
|
||||
title: "Air Ducts", description: "Cleaning and sealing for efficient airflow."},
|
||||
{
|
||||
icon: Droplet,
|
||||
title: "HVAC Coating", description: "Protective treatments against salt air damage."},
|
||||
{
|
||||
icon: Flame,
|
||||
title: "Heating Services", description: "Full heating system diagnostics and repair."},
|
||||
{ icon: Wrench, title: "Emergency Repair", description: "24/7 rapid response for cooling emergencies." },
|
||||
{ icon: Settings, title: "New Installation", description: "Professional setup with 10-year warranty coverage." },
|
||||
{ icon: ShieldCheck, title: "Maintenance", description: "Preventive checks to extend system life." },
|
||||
{ icon: Wind, title: "Air Ducts", description: "Cleaning and sealing for efficient airflow." },
|
||||
{ icon: Droplet, title: "HVAC Coating", description: "Protective treatments against salt air damage." },
|
||||
{ icon: Flame, title: "Heating Services", description: "Full heating system diagnostics and repair." },
|
||||
]}
|
||||
title="Full-Service HVAC Solutions"
|
||||
description="We specialize in rapid response HVAC repairs and installations for homes and businesses across South Florida."
|
||||
@@ -90,16 +84,11 @@ export default function LandingPage() {
|
||||
textboxLayout="split"
|
||||
useInvertedBackground={false}
|
||||
testimonials={[
|
||||
{
|
||||
id: "1", title: "Life Saver!", quote: "My AC died at midnight. They arrived in 40 minutes. Simply incredible service.", name: "Sarah Johnson", role: "Homeowner", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-african-american-woman-cafe_273609-5287.jpg?_wi=1"},
|
||||
{
|
||||
id: "2", title: "The Best Price", quote: "I got 3 quotes, they were 40% cheaper and way more professional. Highly recommended.", name: "Michael Chen", role: "Business Owner", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-women-enjoying-cocktails-together_23-2148665486.jpg"},
|
||||
{
|
||||
id: "3", title: "Professional Team", quote: "Licensed, clean, and fast. Won't use anyone else for my HVAC needs again.", name: "Emily Rodriguez", role: "Property Manager", imageSrc: "http://img.b2bpic.net/free-photo/smiling-homosexual-man-official-suit-looking-camera-close-up-shot-happy-gay-getting-dressed-wedding-ceremony-standing-hotel-room-with-his-partner-background-love-emotion-concept_74855-22675.jpg"},
|
||||
{
|
||||
id: "4", title: "Very Helpful", quote: "Explained exactly what was wrong. No hidden fees. Fixed in an hour.", name: "David Kim", role: "Customer", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-senior-couple_23-2149272876.jpg"},
|
||||
{
|
||||
id: "5", title: "Fast Response", quote: "Absolutely the fastest company in South Florida. Will definitely call again.", name: "Mark Wilson", role: "Homeowner", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-african-american-woman-cafe_273609-5287.jpg?_wi=2"},
|
||||
{ id: "1", title: "Life Saver!", quote: "My AC died at midnight. They arrived in 40 minutes. Simply incredible service.", name: "Sarah Johnson", role: "Homeowner", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-african-american-woman-cafe_273609-5287.jpg?_wi=1" },
|
||||
{ id: "2", title: "The Best Price", quote: "I got 3 quotes, they were 40% cheaper and way more professional. Highly recommended.", name: "Michael Chen", role: "Business Owner", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-women-enjoying-cocktails-together_23-2148665486.jpg" },
|
||||
{ id: "3", title: "Professional Team", quote: "Licensed, clean, and fast. Won't use anyone else for my HVAC needs again.", name: "Emily Rodriguez", role: "Property Manager", imageSrc: "http://img.b2bpic.net/free-photo/smiling-homosexual-man-official-suit-looking-camera-close-up-shot-happy-gay-getting-dressed-wedding-ceremony-standing-hotel-room-with-his-partner-background-love-emotion-concept_74855-22675.jpg" },
|
||||
{ id: "4", title: "Very Helpful", quote: "Explained exactly what was wrong. No hidden fees. Fixed in an hour.", name: "David Kim", role: "Customer", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-senior-couple_23-2149272876.jpg" },
|
||||
{ id: "5", title: "Fast Response", quote: "Absolutely the fastest company in South Florida. Will definitely call again.", name: "Mark Wilson", role: "Homeowner", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-african-american-woman-cafe_273609-5287.jpg?_wi=2" },
|
||||
]}
|
||||
title="What Our Neighbors Say"
|
||||
description="Rated 4.8 stars by thousands of satisfied homeowners in Miami-Dade and Broward."
|
||||
@@ -111,17 +100,13 @@ export default function LandingPage() {
|
||||
animationType="slide-up"
|
||||
useInvertedBackground={false}
|
||||
faqs={[
|
||||
{
|
||||
id: "1", title: "Do you offer weekend service?", content: "Yes, we operate 24/7, 365 days a year."},
|
||||
{
|
||||
id: "2", title: "Which areas do you cover?", content: "We cover the entirety of Miami-Dade and Broward counties."},
|
||||
{
|
||||
id: "3", title: "Are you licensed?", content: "Yes, fully licensed, insured, and certified."},
|
||||
{ id: "1", title: "Do you offer weekend service?", content: "Yes, we operate 24/7, 365 days a year." },
|
||||
{ id: "2", title: "Which areas do you cover?", content: "We cover the entirety of Miami-Dade and Broward counties." },
|
||||
{ id: "3", title: "Are you licensed?", content: "Yes, fully licensed, insured, and certified." },
|
||||
]}
|
||||
ctaTitle="Need Service Now?"
|
||||
ctaDescription="Emergency technicians standing by. Call (954) 994-3434 now for immediate dispatch."
|
||||
ctaButton={{
|
||||
text: "Call Emergency Line", href: "tel:9549943434"}}
|
||||
ctaButton={{ text: "Call Emergency Line", href: "tel:9549943434" }}
|
||||
ctaIcon={Phone}
|
||||
/>
|
||||
</div>
|
||||
@@ -130,27 +115,21 @@ export default function LandingPage() {
|
||||
<FooterSimple
|
||||
columns={[
|
||||
{
|
||||
title: "Contact", items: [
|
||||
{
|
||||
label: "(954) 994-3434", href: "tel:9549943434"},
|
||||
{
|
||||
label: "contact@emergencyac.com", href: "mailto:contact@emergencyac.com"},
|
||||
title: "Contact", items: [
|
||||
{ label: "(954) 994-3434", href: "tel:9549943434" },
|
||||
{ label: "contact@emergencyac.com", href: "mailto:contact@emergencyac.com" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Services", items: [
|
||||
{
|
||||
label: "Emergency Repair", href: "#services"},
|
||||
{
|
||||
label: "Maintenance", href: "#services"},
|
||||
title: "Services", items: [
|
||||
{ label: "Emergency Repair", href: "#services" },
|
||||
{ label: "Maintenance", href: "#services" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Legal", items: [
|
||||
{
|
||||
label: "Privacy Policy", href: "#"},
|
||||
{
|
||||
label: "Terms of Service", href: "#"},
|
||||
title: "Legal", items: [
|
||||
{ label: "Privacy Policy", href: "#" },
|
||||
{ label: "Terms of Service", href: "#" },
|
||||
],
|
||||
},
|
||||
]}
|
||||
@@ -161,4 +140,4 @@ export default function LandingPage() {
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user