Compare commits
14 Commits
version_4_
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 3155fe651c | |||
|
|
61660435cf | ||
|
|
a9a72f4378 | ||
|
|
6d0a294413 | ||
| a15d94069d | |||
|
|
238c083a81 | ||
|
|
e705333d86 | ||
| 09760d74a7 | |||
|
|
7527e0a792 | ||
| 61bf634e15 | |||
|
|
f06ba18ec3 | ||
| 251e475a09 | |||
|
|
2b17cb0a61 | ||
| 3950eb763d |
86
src/components/sections/HomePage/sections/HeroNew.tsx
Normal file
86
src/components/sections/HomePage/sections/HeroNew.tsx
Normal file
@@ -0,0 +1,86 @@
|
||||
"use client";
|
||||
|
||||
import Button from "@/components/ui/Button";
|
||||
import TextAnimation from "@/components/ui/TextAnimation";
|
||||
import ImageOrVideo from "@/components/ui/ImageOrVideo";
|
||||
import { Leaf, Sun, Cloud } from "lucide-react";
|
||||
|
||||
export default function HeroNewSection() {
|
||||
return (
|
||||
<section
|
||||
id="home"
|
||||
data-webild-section="HeroNewSection"
|
||||
className="relative flex flex-col items-center justify-center min-h-svh bg-background overflow-hidden"
|
||||
>
|
||||
{/* Decorative blur orb */}
|
||||
<div className="absolute -z-10 w-96 h-96 rounded-full bg-primary-cta/20 blur-3xl top-1/4 left-1/4 animate-pulse" />
|
||||
<div className="absolute -z-10 w-80 h-80 rounded-full bg-accent/20 blur-3xl bottom-1/4 right-1/4 animate-pulse" style={{ animationDelay: "500ms" }} />
|
||||
|
||||
<div className="relative z-10 max-w-content-width mx-auto px-6 flex flex-col items-center text-center gap-8">
|
||||
<div className="flex flex-col items-center gap-4">
|
||||
<TextAnimation
|
||||
text="Transform Your Outdoor Space"
|
||||
variant="slide-up"
|
||||
gradientText={true}
|
||||
tag="h1"
|
||||
className="text-6xl md:text-7xl lg:text-8xl font-bold tracking-tight leading-tight"
|
||||
/>
|
||||
<TextAnimation
|
||||
text="GreenScape Landscaping brings your vision to life with expert design, installation, and maintenance services."
|
||||
variant="slide-up"
|
||||
gradientText={false}
|
||||
tag="p"
|
||||
className="text-lg md:text-xl text-muted-foreground max-w-content-width"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div className="flex flex-wrap justify-center gap-4 mt-4">
|
||||
<Button
|
||||
text="Explore Services"
|
||||
href="#services"
|
||||
variant="primary"
|
||||
animate={true}
|
||||
animationDelay={0.3}
|
||||
/>
|
||||
<Button
|
||||
text="Get a Free Quote"
|
||||
href="#contact"
|
||||
variant="secondary"
|
||||
animate={true}
|
||||
animationDelay={0.4}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div className="relative w-full max-w-content-width aspect-video rounded-xl overflow-hidden shadow-lg border border-border/50 animation-container mt-8">
|
||||
<ImageOrVideo
|
||||
imageSrc="https://picsum.photos/seed/1431317374/1200/800"
|
||||
className="object-cover w-full h-full"
|
||||
/>
|
||||
</div>
|
||||
|
||||
{/* Floating Cards */}
|
||||
<div className="absolute inset-0 pointer-events-none overflow-hidden z-20">
|
||||
<div
|
||||
className="absolute top-[20%] left-[5%] md:left-[15%] p-4 card rounded-lg shadow-xl border border-border/50 backdrop-blur-md bg-card/80 pointer-events-auto hover:-translate-y-2 transition-transform duration-300 animate-float"
|
||||
>
|
||||
<Leaf className="size-8 text-accent" />
|
||||
</div>
|
||||
|
||||
<div
|
||||
className="absolute top-[40%] right-[5%] md:right-[15%] p-4 card rounded-lg shadow-xl border border-border/50 backdrop-blur-md bg-card/80 pointer-events-auto hover:-translate-y-2 transition-transform duration-300 animate-float"
|
||||
style={{ animationDelay: "1s" }}
|
||||
>
|
||||
<Sun className="size-8 text-yellow-500" />
|
||||
</div>
|
||||
|
||||
<div
|
||||
className="absolute bottom-[20%] left-[15%] md:left-[25%] p-4 card rounded-lg shadow-xl border border-border/50 backdrop-blur-md bg-card/80 pointer-events-auto hover:-translate-y-2 transition-transform duration-300 animate-float"
|
||||
style={{ animationDelay: "2s" }}
|
||||
>
|
||||
<Cloud className="size-8 text-blue-400" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
import React from 'react';
|
||||
import HeroNewSection from './HomePage/sections/HeroNew';
|
||||
import AboutSection from './HomePage/sections/About';
|
||||
import ServicesSection from './HomePage/sections/Services';
|
||||
import PortfolioSection from './HomePage/sections/Portfolio';
|
||||
@@ -7,10 +8,10 @@ import TestimonialsSection from './HomePage/sections/Testimonials';
|
||||
import FaqSection from './HomePage/sections/Faq';
|
||||
import ContactSection from './HomePage/sections/Contact';
|
||||
|
||||
|
||||
import HeroNewSection from './HomePage/sections/HeroNew';export default function HomePage(): React.JSX.Element {
|
||||
export default function HomePage(): React.JSX.Element {
|
||||
return (
|
||||
<>
|
||||
<HeroNewSection headline="Unlock Your Outdoor Oasis: Expert Landscaping for Lasting Beauty" />
|
||||
<AboutSection />
|
||||
<ServicesSection />
|
||||
<PortfolioSection />
|
||||
@@ -18,7 +19,6 @@ import HeroNewSection from './HomePage/sections/HeroNew';export default function
|
||||
<TestimonialsSection />
|
||||
<FaqSection />
|
||||
<ContactSection />
|
||||
<HeroNewSection />
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -1,20 +1,73 @@
|
||||
// Created by add_section_from_catalog (HeroBillboardFeatures).
|
||||
|
||||
"use client";
|
||||
|
||||
import React from 'react';
|
||||
import HeroBillboardFeatures from '@/components/sections/hero/HeroBillboardFeatures';
|
||||
import ScrollReveal from '@/components/ui/ScrollReveal';
|
||||
import Button from '@/components/ui/Button';
|
||||
import Tag from '@/components/ui/Tag';
|
||||
import ImageOrVideo from '@/components/ui/ImageOrVideo';
|
||||
import { Leaf, Sun, Droplet } from 'lucide-react';
|
||||
import { motion } from 'framer-motion';
|
||||
|
||||
export default function HeroNewSection(): React.JSX.Element {
|
||||
return (
|
||||
<div data-webild-section="hero-new" id="hero-new">
|
||||
<HeroBillboardFeatures
|
||||
description="At GreenScape Landscaping, we bring your vision to life. From lush gardens to functional outdoor living spaces, our team delivers unparalleled design, installation, and maintenance services."
|
||||
features={[{"icon":"Leaf","description":"Sustainable and organic practices","title":"Eco-Friendly"},{"description":"Custom designs for your home","title":"Outdoor Living","icon":"Sun"},{"description":"Efficient irrigation systems","title":"Water Management","icon":"Droplet"}]}
|
||||
secondaryButton={{"href":"#contact","text":"Get a Free Quote"}}
|
||||
title="Transform Your Landscape with Expertise and Care"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/relaxation-space-garden-with-beds_1232-3472.jpg"
|
||||
primaryButton={{"text":"Explore Services","href":"#services"}}
|
||||
badge="Your Outdoor Oasis Awaits"
|
||||
/>
|
||||
<section className="relative w-full bg-background overflow-hidden">
|
||||
<div className="max-w-content-width mx-auto px-6 text-center flex flex-col items-center">
|
||||
<Tag text="Your Outdoor Oasis Awaits" className="mb-6" />
|
||||
<h1 className="text-5xl md:text-7xl font-bold text-foreground tracking-tight mb-6 max-w-content-width">
|
||||
Transform Your Landscape with Expertise and Care
|
||||
</h1>
|
||||
<p className="text-lg md:text-xl text-muted-foreground max-w-content-width">
|
||||
At GreenScape Landscaping, we bring your vision to life. From lush gardens to functional outdoor living spaces, our team delivers unparalleled design, installation, and maintenance services.
|
||||
</p>
|
||||
<div className="flex flex-wrap justify-center gap-4">
|
||||
<Button text="Explore Services" href="#services" variant="primary" />
|
||||
<Button text="Get a Free Quote" href="#contact" variant="secondary" />
|
||||
</div>
|
||||
|
||||
<div className="relative w-full max-w-content-width mx-auto aspect-[4/3] md:aspect-[16/9] rounded-theme overflow-hidden shadow-2xl">
|
||||
<ImageOrVideo
|
||||
imageSrc="http://img.b2bpic.net/free-photo/relaxation-space-garden-with-beds_1232-3472.jpg"
|
||||
className="w-full h-full object-cover"
|
||||
/>
|
||||
|
||||
{/* Floating Card 1 */}
|
||||
<ScrollReveal
|
||||
variant="slide-up"
|
||||
delay={0.3}
|
||||
className="absolute top-6 left-6 md:top-12 md:left-12 z-10"
|
||||
>
|
||||
<div className="bg-card/90 backdrop-blur-md p-4 md:p-6 rounded-theme shadow-2xl border border-border flex items-center justify-center">
|
||||
<Leaf className="w-8 h-8 md:w-12 md:h-12 text-primary-cta" />
|
||||
</div>
|
||||
</ScrollReveal>
|
||||
|
||||
{/* Floating Card 2 */}
|
||||
<ScrollReveal
|
||||
variant="slide-up"
|
||||
delay={0.5}
|
||||
className="absolute bottom-6 left-1/2 -translate-x-1/2 md:bottom-12 z-10"
|
||||
>
|
||||
<div className="bg-card/90 backdrop-blur-md p-4 md:p-6 rounded-theme shadow-2xl border border-border flex items-center justify-center">
|
||||
<Sun className="w-8 h-8 md:w-12 md:h-12 text-primary-cta" />
|
||||
</div>
|
||||
</ScrollReveal>
|
||||
|
||||
{/* Floating Card 3 */}
|
||||
<ScrollReveal
|
||||
variant="slide-up"
|
||||
delay={0.7}
|
||||
className="absolute top-1/2 right-6 -translate-y-1/2 md:top-24 md:right-12 z-10"
|
||||
>
|
||||
<div className="bg-card/90 backdrop-blur-md p-4 md:p-6 rounded-theme shadow-2xl border border-border flex items-center justify-center">
|
||||
<Droplet className="w-8 h-8 md:w-12 md:h-12 text-primary-cta" />
|
||||
</div>
|
||||
</ScrollReveal>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user