Compare commits
16 Commits
version_17
...
version_26
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ae40e9e616 | ||
| da4cfcc1ba | |||
|
|
5141485438 | ||
| 2fc38ce197 | |||
|
|
a41574603f | ||
| e1cb829536 | |||
|
|
4ec9a6c452 | ||
| acb8bd1321 | |||
|
|
40cad254a0 | ||
| c499eb3691 | |||
|
|
960495577a | ||
| eea0ea4704 | |||
|
|
0f1c441597 | ||
| 15d1cab14b | |||
|
|
bcbc79f4b7 | ||
| ad98cc1d99 |
@@ -1,5 +1,6 @@
|
|||||||
import { useState, useEffect, useRef } from "react";
|
import { useState, useEffect, useRef } from "react";
|
||||||
|
|
||||||
|
import { Plus, ArrowRight } from "lucide-react";
|
||||||
import { Plus, ArrowRight } from "lucide-react";
|
import { Plus, ArrowRight } from "lucide-react";
|
||||||
import { cls } from "@/lib/utils";
|
import { cls } from "@/lib/utils";
|
||||||
import Button from "@/components/ui/Button";
|
import Button from "@/components/ui/Button";
|
||||||
@@ -52,7 +53,7 @@ const NavbarCentered = ({ logo, navItems, ctaButton }: NavbarCenteredProps) => {
|
|||||||
<nav
|
<nav
|
||||||
className={cls(
|
className={cls(
|
||||||
"fixed z-1000 top-3 left-3 right-3 transition-all duration-500 ease-in-out",
|
"fixed z-1000 top-3 left-3 right-3 transition-all duration-500 ease-in-out",
|
||||||
isScrolled ? "h-15 bg-background/80 backdrop-blur-sm rounded-lg" : "h-20 bg-background/0 backdrop-blur-0"
|
isScrolled ? "h-15 bg-background/80 backdrop-blur-[2px] rounded-lg" : "h-20 bg-background/0 backdrop-blur-0"
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<div className="relative mx-auto flex items-center justify-between h-full w-content-width">
|
<div className="relative mx-auto flex items-center justify-between h-full w-content-width">
|
||||||
@@ -89,11 +90,12 @@ const NavbarCentered = ({ logo, navItems, ctaButton }: NavbarCenteredProps) => {
|
|||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
{menuOpen && (
|
|
||||||
<div
|
<div
|
||||||
ref={menuRef}
|
ref={menuRef}
|
||||||
|
className={cls(
|
||||||
className="md:hidden fixed z-1000 top-3 left-3 right-3 p-6 rounded-lg card"
|
"md:hidden fixed z-1000 top-3 left-3 right-3 p-6 rounded-lg bg-background/80 backdrop-blur-[2px] transition-all duration-300 ease-in-out",
|
||||||
|
menuOpen ? "opacity-100 translate-y-0" : "opacity-0 -translate-y-4 pointer-events-none"
|
||||||
|
)}
|
||||||
>
|
>
|
||||||
<div className="flex items-center justify-between mb-6">
|
<div className="flex items-center justify-between mb-6">
|
||||||
<p className="text-xl text-foreground">Menu</p>
|
<p className="text-xl text-foreground">Menu</p>
|
||||||
@@ -128,7 +130,6 @@ const NavbarCentered = ({ logo, navItems, ctaButton }: NavbarCenteredProps) => {
|
|||||||
<Button text={ctaButton.text} href={ctaButton.href} variant="primary" animate={false} className="w-full" />
|
<Button text={ctaButton.text} href={ctaButton.href} variant="primary" animate={false} className="w-full" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -31,17 +31,18 @@ const NavbarFloating = ({ logo, navItems, ctaButton }: NavbarFloatingProps) => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
|
||||||
{menuOpen && (
|
{menuOpen && (
|
||||||
<div
|
<div
|
||||||
className="fixed inset-0 z-999 bg-foreground"
|
className="fixed inset-0 z-500 bg-black/20 backdrop-blur-md"
|
||||||
onClick={() => setMenuOpen(false)}
|
onClick={() => setMenuOpen(false)}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
|
||||||
<nav className="fixed z-1000 top-5 left-1/2 -translate-x-1/2 w-content-width">
|
<nav className="fixed z-1000 top-5 left-1/2 -translate-x-1/2 w-content-width">
|
||||||
<div className="mx-auto w-full md:w-1/2 overflow-hidden rounded-theme-capped border border-white/10 bg-white/10 backdrop-blur-lg shadow-lg">
|
<div className={cls(
|
||||||
|
"mx-auto w-full md:w-1/2 overflow-hidden rounded-theme-capped border border-white/10 bg-white/10 shadow-lg backdrop-blur-lg"
|
||||||
|
)}>
|
||||||
<div className="relative z-10 flex items-center justify-between gap-3 xl:gap-4 2xl:gap-5 p-3 xl:p-4 2xl:p-5">
|
<div className="relative z-10 flex items-center justify-between gap-3 xl:gap-4 2xl:gap-5 p-3 xl:p-4 2xl:p-5">
|
||||||
<a href="/" className="text-xl font-medium text-foreground">{logo}</a>
|
<a href="/" className="text-xl font-medium text-foreground">{logo}</a>
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import AboutFeaturesSplit from '@/components/sections/about/AboutFeaturesSplit';
|
|||||||
import ContactCta from '@/components/sections/contact/ContactCta';
|
import ContactCta from '@/components/sections/contact/ContactCta';
|
||||||
import FeaturesRevealCards from '@/components/sections/features/FeaturesRevealCards';
|
import FeaturesRevealCards from '@/components/sections/features/FeaturesRevealCards';
|
||||||
import HeroOverlay from '@/components/sections/hero/HeroOverlay';
|
import HeroOverlay from '@/components/sections/hero/HeroOverlay';
|
||||||
import MetricsFeatureCards from '@/components/sections/metrics/MetricsFeatureCards';
|
import MetricsGradientCards from '@/components/sections/metrics/MetricsGradientCards';
|
||||||
import FeaturesDetailedSteps from '@/components/sections/features/FeaturesDetailedSteps';
|
import FeaturesDetailedSteps from '@/components/sections/features/FeaturesDetailedSteps';
|
||||||
import TestimonialTrustCard from '@/components/sections/testimonial/TestimonialTrustCard';
|
import TestimonialTrustCard from '@/components/sections/testimonial/TestimonialTrustCard';
|
||||||
import { Leaf, ShieldCheck, Sparkles } from "lucide-react";
|
import { Leaf, ShieldCheck, Sparkles } from "lucide-react";
|
||||||
@@ -98,7 +98,7 @@ export default function HomePage() {
|
|||||||
title: "Consultation",
|
title: "Consultation",
|
||||||
subtitle: "Understanding Your Vision",
|
subtitle: "Understanding Your Vision",
|
||||||
description: "We start with a thorough consultation to understand your needs, preferences, and the unique characteristics of your property. This allows us to create a tailored plan that aligns with your goals and budget.",
|
description: "We start with a thorough consultation to understand your needs, preferences, and the unique characteristics of your property. This allows us to create a tailored plan that aligns with your goals and budget.",
|
||||||
imageSrc: "http://img.b2bpic.net/free-photo/gardener-taking-care-plants_23-2147656313.jpg",
|
imageSrc: "https://images.unsplash.com/photo-1585345322958-15e8342b6c49?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
tag: "Step 2",
|
tag: "Step 2",
|
||||||
@@ -126,37 +126,25 @@ export default function HomePage() {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="metrics" data-section="metrics">
|
<div id="metrics" data-section="metrics">
|
||||||
<MetricsFeatureCards
|
<MetricsGradientCards
|
||||||
tag="Our Impact"
|
tag="Our Impact"
|
||||||
title="Proven Excellence in Landscaping"
|
title="Proven Excellence in Landscaping"
|
||||||
description="Our commitment to quality and customer satisfaction is reflected in our achievements and long-lasting client relationships."
|
description="Our commitment to quality and customer satisfaction is reflected in our achievements and long-lasting client relationships."
|
||||||
metrics={[
|
metrics={[
|
||||||
{
|
{
|
||||||
value: "15+",
|
value: "15+",
|
||||||
title: "Years of Experience",
|
label: "Years of Experience",
|
||||||
features: [
|
description: "Local industry leaders, skilled & certified team, reliable service delivery.",
|
||||||
"Local industry leaders",
|
|
||||||
"Skilled & certified team",
|
|
||||||
"Reliable service delivery",
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: "500+",
|
value: "500+",
|
||||||
title: "Projects Completed",
|
label: "Projects Completed",
|
||||||
features: [
|
description: "Residential & commercial, diverse design styles, on-time & on-budget.",
|
||||||
"Residential & commercial",
|
|
||||||
"Diverse design styles",
|
|
||||||
"On-time & on-budget",
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: "98%",
|
value: "98%",
|
||||||
title: "Customer Satisfaction",
|
label: "Customer Satisfaction",
|
||||||
features: [
|
description: "Glowing testimonials, repeat clientele, and dedicated support.",
|
||||||
"Glowing testimonials",
|
|
||||||
"Repeat clientele",
|
|
||||||
"Dedicated support",
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user