Files
00030fd6-76d8-4195-ab80-49e…/src/app/page.tsx
2026-05-09 11:34:24 +00:00

187 lines
8.2 KiB
TypeScript

"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import { Calendar, Package, Search, X } from 'lucide-react';
import { useState } from "react";
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import FeatureCardTwentyNine from '@/components/sections/feature/featureCardTwentyNine/FeatureCardTwentyNine';
import FooterSimple from '@/components/sections/footer/FooterSimple';
import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
import MetricCardThree from '@/components/sections/metrics/MetricCardThree';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import TextAbout from '@/components/sections/about/TextAbout';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
export default function LandingPage() {
const [isSearchOpen, setIsSearchOpen] = useState(false);
return (
<ThemeProvider
defaultButtonVariant="hover-bubble"
defaultTextAnimation="reveal-blur"
borderRadius="rounded"
contentWidth="mediumLarge"
sizing="largeSmallSizeMediumTitles"
background="none"
cardStyle="gradient-radial"
primaryButtonStyle="diagonal-gradient"
secondaryButtonStyle="layered"
headingFontWeight="bold"
>
<ReactLenis root>
<div id="nav" data-section="nav">
<NavbarStyleApple
navItems={[
{ name: "Home", id: "hero" },
{ name: "Search", id: "search" },
{ name: "About", id: "about" },
{ name: "Products", id: "products" },
{ name: "Testimonials", id: "testimonials" },
{ name: "Contact", id: "contact" },
]}
brandName="ZULRY"
/>
{isSearchOpen && (
<div className="fixed inset-0 z-50 flex items-center justify-center bg-black/60 p-4">
<div className="relative w-full max-w-lg rounded-xl bg-white p-6 shadow-2xl dark:bg-zinc-900">
<button
onClick={() => setIsSearchOpen(false)}
className="absolute right-4 top-4 text-zinc-500 hover:text-black dark:text-zinc-400 dark:hover:text-white"
>
<X size={24} />
</button>
<div className="flex items-center gap-2 border-b border-zinc-200 pb-4 dark:border-zinc-800">
<Search className="text-zinc-400" />
<input
autoFocus
type="text"
placeholder="Search products, scents..."
className="w-full bg-transparent outline-none text-lg"
/>
</div>
</div>
</div>
)}
</div>
<div id="hero" data-section="hero">
<HeroSplitKpi
background={{ variant: "gradient-bars" }}
title="ZULRY Essence"
description="Artisan attars and premium perfumes crafted with pure botanical oils. Discover the symphony of nature in every drop."
kpis={[
{ value: "15+", label: "Years Crafting" },
{ value: "50+", label: "Pure Extracts" },
{ value: "20K+", label: "Happy Users" },
]}
enableKpiAnimation={true}
buttons={[
{ text: "Explore Collection", href: "#products" },
{ text: "Our Story", href: "#about" },
]}
imageSrc="http://img.b2bpic.net/free-photo/luxury-black-perfume-bottle-with-gold-cap-dark-textured-background_84443-84117.jpg?_wi=1"
/>
</div>
<div id="about" data-section="about">
<TextAbout title="Crafting Timeless Scents" useInvertedBackground={false} />
</div>
<div id="products" data-section="products">
<ProductCardTwo
animationType="slide-up"
gridVariant="three-columns-all-equal-width"
textboxLayout="default"
useInvertedBackground={false}
products={[
{ id: "p1", brand: "Zulry", name: "Inspired by Gucci Guilty", price: "$120", rating: 5, reviewCount: "150", imageSrc: "http://img.b2bpic.net/free-photo/luxury-black-perfume-bottle-with-gold-cap-dark-textured-background_84443-84117.jpg?_wi=2" },
{ id: "p2", brand: "Zulry", name: "Inspired by Chrome Azzaro", price: "$95", rating: 4, reviewCount: "85", imageSrc: "http://img.b2bpic.net/free-photo/top-view-perfume-lipstick-arrangement_23-2149234343.jpg" },
{ id: "p3", brand: "Zulry", name: "Signature Oud", price: "$110", rating: 5, reviewCount: "210", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-still-life-with-herbal-medicine_23-2149292012.jpg" },
]}
title="ZULRY Perfume Collection"
description="Our premium selected perfumes, crafted to capture the essence of luxury."
/>
</div>
<div id="features" data-section="features">
<FeatureCardTwentyNine
gridVariant="bento-grid"
features={[
{ title: "Sustainable", description: "Ethically sourced ingredients", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-serum-bottle-still-life_23-2149249550.jpg", titleImageSrc: "", buttonText: "Learn More" },
{ title: "Pure", description: "No synthetic additives", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-phytotherapy-items-assortment_23-2149339746.jpg", titleImageSrc: "", buttonText: "Learn More" },
]}
title="Why Zulry Stands Out"
animationType="slide-up"
description="Quality and purity in every drop."
textboxLayout="default"
useInvertedBackground={false}
/>
</div>
<div id="testimonials" data-section="testimonials">
<TestimonialCardFive
testimonials={[
{ id: "1", name: "Sarah Ahmed", date: "2024", title: "Excellent", quote: "The scents are truly reminiscent of high-end brands.", tag: "Verified", avatarSrc: "http://img.b2bpic.net/free-photo/portrait-young-woman-black-sweater-standing-posing_114579-58755.jpg" },
]}
title="Aromatic Memories"
description="Hear from our happy customers."
textboxLayout="default"
useInvertedBackground={false}
/>
</div>
<div id="metrics" data-section="metrics">
<MetricCardThree
animationType="slide-up"
metrics={[
{ id: "m1", title: "Year History", value: "15+", icon: Calendar },
{ id: "m2", title: "Pure Extracts", value: "50+", icon: Package },
]}
title="Our Journey"
description="Milestones of our journey."
textboxLayout="default"
useInvertedBackground={false}
/>
</div>
<div id="faq" data-section="faq">
<FaqSplitMedia
faqs={[
{ id: "f1", title: "Are these oils safe?", content: "Yes, our oils are 100% natural and skin-safe." },
]}
title="Questions Answered"
description="Find answers to common questions."
faqsAnimation="slide-up"
textboxLayout="default"
useInvertedBackground={false}
/>
</div>
<div id="contact" data-section="contact">
<ContactCTA
tag="Get in touch"
title="Find Your Scent"
description="Let our experts help you."
buttons={[{ text: "Contact", href: "mailto:hello@zulry.com" }]}
background={{ variant: "plain" }}
useInvertedBackground={false}
/>
</div>
<div id="footer" data-section="footer">
<FooterSimple
columns={[
{ title: "Navigation", items: [{ label: "About", href: "#about" }, { label: "Contact", href: "#contact" }] },
]}
bottomLeftText="© 2025 ZULRY"
bottomRightText="All rights reserved"
/>
</div>
</ReactLenis>
</ThemeProvider>
);
}