Bob AI: Populate src/pages/EnviHeaterPage.tsx (snippet builder, 3 sections)
This commit is contained in:
@@ -1,79 +1,23 @@
|
||||
import React from "react";
|
||||
import { routes } from "@/routes";
|
||||
import NavbarCentered from "@/components/ui/NavbarCentered";
|
||||
import HeroSplit from "@/components/sections/hero/HeroSplit";
|
||||
import Button from "@/components/ui/Button";
|
||||
import HeroBackgroundSlot from "@/components/ui/HeroBackgroundSlot";
|
||||
import TextAnimation from "@/components/ui/TextAnimation";
|
||||
import ImageOrVideo from "@/components/ui/ImageOrVideo";
|
||||
import AvatarGroup from "@/components/ui/AvatarGroup";
|
||||
import FeaturesAlternatingSplit from "@/components/sections/features/FeaturesAlternatingSplit";
|
||||
import TestimonialRatingCards from "@/components/sections/testimonial/TestimonialRatingCards";
|
||||
import FooterMinimal from "@/components/sections/footer/FooterMinimal";
|
||||
import ScrollReveal from "@/components/ui/ScrollReveal";
|
||||
|
||||
export default function EnviHeaterPage() {
|
||||
return (
|
||||
<div className="min-h-screen bg-background text-foreground">
|
||||
<NavbarCentered
|
||||
logo="ENVI"
|
||||
navItems={routes.map((r) => ({ name: r.label, href: r.path }))}
|
||||
ctaButton={{ text: "Buy Now", href: "/checkout" }}
|
||||
/>
|
||||
|
||||
<main>
|
||||
<HeroSplit
|
||||
tag="Premium Heating"
|
||||
title="The ENVI Heater."
|
||||
description="Ultra-slim, whisper-quiet, and elegantly designed. Elevate your space with the most advanced wall-mounted heater."
|
||||
primaryButton={{ text: "Shop Now", href: "/checkout" }}
|
||||
secondaryButton={{ text: "Watch Video", href: "#video" }}
|
||||
imageSrc="https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&q=80"
|
||||
/>
|
||||
|
||||
<FeaturesAlternatingSplit
|
||||
tag="Design Meets Function"
|
||||
title="Engineered for Elegance"
|
||||
description="Discover why the ENVI is the choice for luxury homes."
|
||||
items={[
|
||||
{
|
||||
title: "Ultra-Slim Profile",
|
||||
description: "Protrudes just 2 inches from the wall, blending seamlessly into your decor without taking up valuable floor space.",
|
||||
imageSrc: "https://images.unsplash.com/photo-1616486338812-3dadae4b4ace?auto=format&fit=crop&q=80"
|
||||
},
|
||||
{
|
||||
title: "Whisper-Quiet Operation",
|
||||
description: "Experience 100% silent, fanless heating technology for undisturbed peace in your bedroom or living areas.",
|
||||
imageSrc: "https://images.unsplash.com/photo-1540518614846-7eded433c457?auto=format&fit=crop&q=80"
|
||||
}
|
||||
]}
|
||||
/>
|
||||
|
||||
<TestimonialRatingCards
|
||||
tag="Reviews"
|
||||
title="Loved by Homeowners"
|
||||
description="See what our customers are saying about the ENVI experience."
|
||||
testimonials={[
|
||||
{
|
||||
name: "Sarah L.",
|
||||
role: "Interior Designer",
|
||||
quote: "Transformed my living room. Looks like a piece of art and heats perfectly. A must-have for modern homes.",
|
||||
rating: 5
|
||||
},
|
||||
{
|
||||
name: "James T.",
|
||||
role: "Homeowner",
|
||||
quote: "Finally, a heater that doesn't ruin the aesthetic of my home. Highly recommend for anyone who values design.",
|
||||
rating: 5
|
||||
},
|
||||
{
|
||||
name: "Elena R.",
|
||||
role: "Architect",
|
||||
quote: "The slim profile is unmatched. It's the only heater I specify for my high-end residential projects.",
|
||||
rating: 5
|
||||
}
|
||||
]}
|
||||
/>
|
||||
</main>
|
||||
|
||||
<FooterMinimal
|
||||
brand="ENVI"
|
||||
copyright="© 2024 ENVI Heating. All rights reserved."
|
||||
/>
|
||||
</div>
|
||||
<>
|
||||
<div data-webild-section="HeroOverlay"><section aria-label="Hero section" className="relative w-full h-svh overflow-hidden flex flex-col justify-end mb-20"><HeroBackgroundSlot /><ImageOrVideo imageSrc="https://img.freepik.com/premium-photo/modern-minimalist-living-room-interior-with-comfortable-sofa-blank-wall-mockup_41470-3354.jpg" className="absolute inset-0 w-full h-full object-cover rounded-none" /><div className="absolute z-10 w-[150vw] h-[150vw] left-0 bottom-0 -translate-x-1/2 translate-y-1/2 backdrop-blur mask-[radial-gradient(circle,black_20%,transparent_70%)]" aria-hidden="true" /><div className="relative z-10 w-content-width mx-auto pb-10 md:pb-25"><div className="flex flex-col gap-3 w-full md:w-6/10 lg:w-1/2 xl:w-45/100 2xl:w-4/10"><div className="w-fit px-3 py-1 mb-1 text-sm card rounded"><p>Luxury Heating</p></div><TextAnimation text="Where Design Meets Warmth" variant="fade" gradientText={true} tag="h1" className="text-7xl 2xl:text-8xl leading-[1.15] font-semibold text-white text-balance" /><TextAnimation text="Elevate your space with the ENVI heater. Experience the perfect balance of sophisticated aesthetics and efficient, silent warmth for your modern home." variant="fade" gradientText={false} tag="p" className="text-lg md:text-xl text-white leading-snug text-balance" /><div className="flex flex-wrap gap-3 mt-2 md:mt-3"><Button text="Shop ENVI" href="#shop" variant="primary" /><Button text="View Features" href="#features" variant="secondary" animationDelay={0.1} /></div><div className="mt-3 md:mt-4"><AvatarGroup avatarsSrc={["https://img.freepik.com/free-photo/close-up-portrait-smiling-young-woman-looking-camera_171337-17994.jpg","https://img.freepik.com/free-photo/handsome-bearded-businessman-rubbing-hands-having-idea_176420-18403.jpg","https://img.freepik.com/free-photo/portrait-young-beautiful-woman-standing-against-grey-wall_23-2148204620.jpg"]} size="lg" label="Trusted by modern homeowners" labelClassName="text-primary-cta-text" /></div></div></div></section></div>
|
||||
<div data-webild-section="FeaturesAlternatingSplit"><FeaturesAlternatingSplit
|
||||
tag="Sophisticated Warmth"
|
||||
title="Elevate Your Space with ENVI"
|
||||
description="Discover the perfect harmony of cutting-edge heating technology and minimalist design. The ENVI heater transforms your home into a sanctuary of comfort."
|
||||
primaryButton={{"text":"Shop ENVI","href":"#shop"}}
|
||||
items={[{"title":"Ultra-Slim Profile","description":"With its ultra-slim design, the ENVI heater seamlessly blends into any room, offering a sleek aesthetic for modern decor.","imageSrc":"https://img.freepik.com/free-photo/modern-living-room-interior-design_23-2150794625.jpg"},{"title":"Whisper-Quiet Operation","description":"Experience pure tranquility. Our fanless design ensures silent, draft-free warmth for uninterrupted relaxation.","imageSrc":"https://picsum.photos/seed/686253954/1200/800"},{"title":"Energy-Efficient Luxury","description":"Indulge in premium comfort. Smart heating technology delivers targeted, energy-efficient warmth exactly where you need it.","imageSrc":"https://img.freepik.com/free-photo/smart-home-device-living-room_23-2150794635.jpg"}]}
|
||||
/></div>
|
||||
<div data-webild-section="ContactCta"><section aria-label="Contact section" className="py-20"><div className="w-content-width mx-auto"><ScrollReveal variant="fade-blur"><div className="flex flex-col items-center gap-8 md:gap-10 py-20 px-8 rounded card"><div className="flex flex-col items-center gap-2"><div className="px-3 py-1 mb-1 text-sm card rounded w-fit"><p>Elevate Your Home</p></div><TextAnimation text="Transform your living space with the ultimate in modern, efficient warmth. Order your ENVI heater today." variant="slide-up" gradientText={true} tag="h2" className="md:max-w-8/10 text-5xl 2xl:text-6xl leading-[1.15] font-semibold text-center text-balance" /><div className="flex flex-wrap justify-center gap-3 mt-2 md:mt-3"><Button text="Order Now" href="/checkout" variant="primary" /><Button text="View Details" href="#design" variant="secondary" animationDelay={0.1} /></div></div></div></ScrollReveal></div></section></div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user