Merge version_4 into main #4

Merged
bender merged 1 commits from version_4 into main 2026-04-20 07:41:12 +00:00

View File

@@ -2,6 +2,7 @@
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import { useState } from "react";
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import FeatureCardEight from '@/components/sections/feature/FeatureCardEight';
@@ -12,9 +13,18 @@ import MetricSplitMediaAbout from '@/components/sections/about/MetricSplitMediaA
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';
import { Facebook, Instagram, Mail, Phone } from "lucide-react";
import ProductCart from '@/components/ecommerce/cart/ProductCart';
import { Facebook, Instagram, Mail, Phone, ShoppingCart } from "lucide-react";
export default function LandingPage() {
const [isCartOpen, setIsCartOpen] = useState(false);
const [cartItems, setCartItems] = useState<Array<{ id: string, name: string, price: string, quantity: number, imageSrc: string }>>([]);
const addToCart = (product: any) => {
setCartItems(prev => [...prev, { ...product, quantity: 1 }]);
setIsCartOpen(true);
};
return (
<ThemeProvider
defaultButtonVariant="text-stagger"
@@ -29,185 +39,132 @@ export default function LandingPage() {
headingFontWeight="extrabold"
>
<ReactLenis root>
<div id="nav" data-section="nav">
<NavbarStyleCentered
navItems={[
{
name: "Home", id: "hero"},
{
name: "About", id: "about"},
{
name: "Products", id: "products"},
{
name: "Contact", id: "contact"},
]}
brandName="አቢሲኒያ ሽቶ"
/>
</div>
<ProductCart
isOpen={isCartOpen}
onClose={() => setIsCartOpen(false)}
items={cartItems}
total={`${cartItems.reduce((acc, item) => acc + parseInt(item.price), 0)} ETB`}
buttons={[{ text: "Checkout", onClick: () => alert("Redirecting to checkout...") }]}
/>
<div id="nav" data-section="nav">
<NavbarStyleCentered
navItems={[
{ name: "Home", id: "hero" },
{ name: "About", id: "about" },
{ name: "Products", id: "products" },
{ name: "Contact", id: "contact" },
]}
brandName="አቢሲኒያ ሽቶ"
/>
</div>
<div id="hero" data-section="hero">
<HeroBillboardScroll
background={{
variant: "gradient-bars"}}
title="የጥንታዊ ጥበብ መዓዛ"
description="Experience the timeless essence of Ethiopia with Abyssinia Perfumes. Crafted with natural ingredients and traditional techniques."
buttons={[
{
text: "Shop Now", href: "#products"},
]}
imageSrc="http://img.b2bpic.net/free-photo/composition-natural-argan-oil-dropper_23-2149016643.jpg"
imageAlt="luxury perfume bottle dark background"
/>
</div>
<div id="hero" data-section="hero">
<HeroBillboardScroll
background={{ variant: "gradient-bars" }}
title="የጥንታዊ ጥበብ መዓዛ"
description="Experience the timeless essence of Ethiopia with Abyssinia Perfumes. Crafted with natural ingredients and traditional techniques."
buttons={[{ text: "Shop Now", href: "#products" }]}
imageSrc="http://img.b2bpic.net/free-photo/composition-natural-argan-oil-dropper_23-2149016643.jpg"
imageAlt="luxury perfume bottle dark background"
/>
</div>
<div id="about" data-section="about">
<MetricSplitMediaAbout
useInvertedBackground={true}
title="Our Heritage"
description="At Abyssinia Perfumes, we blend ancient secrets with modern elegance. Every fragrance tells a story of our rich culture and natural beauty."
metrics={[
{
value: "100+", title: "Unique Scents"},
{
value: "10k+", title: "Happy Customers"},
{
value: "20+", title: "Natural Oils"},
]}
imageSrc="http://img.b2bpic.net/free-photo/front-view-woman-working-with-flowers_23-2149591622.jpg"
mediaAnimation="slide-up"
imageAlt="perfume shop interior rustic elegant"
metricsAnimation="slide-up"
/>
</div>
<div id="about" data-section="about">
<MetricSplitMediaAbout
useInvertedBackground={true}
title="Our Heritage"
description="At Abyssinia Perfumes, we blend ancient secrets with modern elegance. Every fragrance tells a story of our rich culture and natural beauty."
metrics={[
{ value: "100+", title: "Unique Scents" },
{ value: "10k+", title: "Happy Customers" },
{ value: "20+", title: "Natural Oils" },
]}
imageSrc="http://img.b2bpic.net/free-photo/front-view-woman-working-with-flowers_23-2149591622.jpg"
mediaAnimation="slide-up"
imageAlt="perfume shop interior rustic elegant"
metricsAnimation="slide-up"
/>
</div>
<div id="products" data-section="products">
<ProductCardOne
animationType="slide-up"
textboxLayout="default"
gridVariant="uniform-all-items-equal"
useInvertedBackground={false}
products={[
{
id: "p1", name: "Heritage Gold", price: "850 ETB", imageSrc: "http://img.b2bpic.net/free-photo/perfume-bottle_1203-7394.jpg", imageAlt: "perfume bottle gold liquid"},
{
id: "p2", name: "Abyssinian Night", price: "1200 ETB", imageSrc: "http://img.b2bpic.net/free-photo/organic-cosmetic-product-with-dreamy-aesthetic-fresh-background_23-2151382818.jpg", imageAlt: "oriental fragrance bottle ornate"},
{
id: "p3", name: "Pure Essence", price: "950 ETB", imageSrc: "http://img.b2bpic.net/free-photo/cosmetic-bottle-with-luxurious-art-nouveau-inspired-sun-relief-background_23-2151420720.jpg", imageAlt: "fragrance bottle minimal design"},
{
id: "p4", name: "Mountain Mist", price: "750 ETB", imageSrc: "http://img.b2bpic.net/free-photo/view-spa-concept-with-bottle-oil_23-2148290983.jpg", imageAlt: "perfume bottle dark glass"},
{
id: "p5", name: "Ancient Spice", price: "1100 ETB", imageSrc: "http://img.b2bpic.net/free-photo/marshmallows-with-glass-tea-metallic-platter-top-view_114579-12997.jpg", imageAlt: "luxury perfume bottle gold accents"},
{
id: "p6", name: "Royal Musk", price: "1500 ETB", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-still-life-arrangement-with-water_23-2149176153.jpg", imageAlt: "artisan perfume glass bottle"},
]}
title="Our Fragrances"
description="Discover our handpicked collection of exquisite perfumes and scented oils."
/>
</div>
<div id="products" data-section="products">
<ProductCardOne
animationType="slide-up"
textboxLayout="default"
gridVariant="uniform-all-items-equal"
useInvertedBackground={false}
products={[
{ id: "p1", name: "Heritage Gold", price: "850 ETB", imageSrc: "http://img.b2bpic.net/free-photo/perfume-bottle_1203-7394.jpg", onProductClick: () => addToCart({ id: "p1", name: "Heritage Gold", price: "850", imageSrc: "http://img.b2bpic.net/free-photo/perfume-bottle_1203-7394.jpg" }) },
{ id: "p2", name: "Abyssinian Night", price: "1200 ETB", imageSrc: "http://img.b2bpic.net/free-photo/organic-cosmetic-product-with-dreamy-aesthetic-fresh-background_23-2151382818.jpg", onProductClick: () => addToCart({ id: "p2", name: "Abyssinian Night", price: "1200", imageSrc: "http://img.b2bpic.net/free-photo/organic-cosmetic-product-with-dreamy-aesthetic-fresh-background_23-2151382818.jpg" }) },
]}
title="Our Fragrances"
description="Discover our handpicked collection of exquisite perfumes."
/>
</div>
<div id="features" data-section="features">
<FeatureCardEight
textboxLayout="default"
useInvertedBackground={true}
features={[
{
title: "100% Natural Oils", description: "Sourced from the finest local botanicals.", imageSrc: "http://img.b2bpic.net/free-photo/soap-making-ingredients-close-up_23-2148897599.jpg", imageAlt: "natural essence ingredients herbs"},
{
title: "Long Lasting", description: "Our perfumes are designed to linger throughout the day.", imageSrc: "http://img.b2bpic.net/free-photo/assortment-dry-tea-golden-vintage-mini-plates-tea-types-background_114579-8072.jpg", imageAlt: "natural essence ingredients herbs"},
{
title: "Handcrafted Care", description: "Every bottle is prepared with attention to detail.", imageSrc: "http://img.b2bpic.net/free-photo/flat-lay-natural-medicinal-herbs-bottles_23-2148776516.jpg", imageAlt: "natural essence ingredients herbs"},
]}
title="Why Choose Our Scents?"
description="We prioritize quality, tradition, and sustainability in every bottle we craft."
/>
</div>
<div id="features" data-section="features">
<FeatureCardEight
textboxLayout="default"
useInvertedBackground={true}
features={[
{ title: "100% Natural Oils", description: "Sourced from the finest local botanicals.", imageSrc: "http://img.b2bpic.net/free-photo/soap-making-ingredients-close-up_23-2148897599.jpg" },
{ title: "Long Lasting", description: "Designed to linger throughout the day.", imageSrc: "http://img.b2bpic.net/free-photo/assortment-dry-tea-golden-vintage-mini-plates-tea-types-background_114579-8072.jpg" },
]}
title="Why Choose Our Scents?"
description="Quality and tradition in every bottle."
/>
</div>
<div id="metrics" data-section="metrics">
<MetricCardEleven
animationType="slide-up"
textboxLayout="default"
useInvertedBackground={false}
metrics={[
{
id: "m1", value: "15", title: "Ingredients", description: "Sourced locally.", imageSrc: "http://img.b2bpic.net/free-photo/watercolor-paint-background-holi-festival_23-2148093688.jpg", imageAlt: "perfume drop macro shot"},
{
id: "m2", value: "50", title: "Regions", description: "Sourcing herbs.", imageSrc: "http://img.b2bpic.net/free-photo/assortment-dry-tea-golden-vintage-mini-plates-tea-types_114579-8056.jpg", imageAlt: "perfume ingredients flat lay"},
{
id: "m3", value: "99%", title: "Satisfaction", description: "Our customers.", imageSrc: "http://img.b2bpic.net/free-photo/happy-woman-having-luck-with-dice_1187-3658.jpg", imageAlt: "happy customer smelling perfume"},
]}
title="The Art of Scent"
description="A look into the numbers behind our craft."
/>
</div>
<div id="testimonials" data-section="testimonials">
<TestimonialCardTwo
animationType="slide-up"
textboxLayout="default"
useInvertedBackground={true}
testimonials={[
{ id: "1", name: "Sara H.", role: "Collector", testimonial: "The best scent I've ever worn." },
{ id: "2", name: "Kidus M.", role: "Loyal Customer", testimonial: "Authentic and beautiful scents." },
]}
title="Customer Stories"
description="What our customers say."
/>
</div>
<div id="testimonials" data-section="testimonials">
<TestimonialCardTwo
animationType="slide-up"
textboxLayout="default"
useInvertedBackground={true}
testimonials={[
{
id: "1", name: "Sara H.", role: "Collector", testimonial: "The best scent I've ever worn.", imageSrc: "http://img.b2bpic.net/free-photo/lovely-woman-facing-camera_23-2148060462.jpg", imageAlt: "elegant woman smiling portrait"},
{
id: "2", name: "Kidus M.", role: "Loyal Customer", testimonial: "Authentic and beautiful scents.", imageSrc: "http://img.b2bpic.net/free-photo/horizontal-shot-positive-confident-young-caucasian-hipster-with-fuzzy-beard-shaved-head-tattooed-arm-posing-isolated-keeping-arms-folded-smiling-joyfully-feeling-proud-himself_343059-1673.jpg", imageAlt: "man looking confident portrait"},
{
id: "3", name: "Bethel G.", role: "Perfume Fan", testimonial: "Reminds me of home. Incredible.", imageSrc: "http://img.b2bpic.net/free-photo/young-business-woman-walking-park_1303-22996.jpg", imageAlt: "woman in business casual attire"},
{
id: "4", name: "Yared A.", role: "Customer", testimonial: "Amazing quality and service.", imageSrc: "http://img.b2bpic.net/free-photo/happy-overjoyed-woman-rejoicing-her-success_74855-3513.jpg", imageAlt: "young woman portrait natural light"},
{
id: "5", name: "Meron T.", role: "Frequent Buyer", testimonial: "Love the unique local notes.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-sexy-handsome-fashion-male-model-man-dressed-elegant-suit-black-studio-lights-background_158538-9529.jpg", imageAlt: "portrait of refined gentleman"},
]}
title="Customer Stories"
description="What our customers say about our scents."
/>
</div>
<div id="faq" data-section="faq">
<FaqSplitMedia
textboxLayout="default"
useInvertedBackground={false}
faqs={[
{ id: "f1", title: "How do I track my order?", content: "Once shipped, you will receive an email with a tracking link to follow your package status." },
{ id: "f2", title: "Do you offer order confirmation?", content: "Yes, you will receive an automatic email confirmation immediately after your purchase is complete." },
]}
title="Common Questions"
description="Everything you need to know about shopping with us."
faqsAnimation="slide-up"
/>
</div>
<div id="faq" data-section="faq">
<FaqSplitMedia
textboxLayout="default"
useInvertedBackground={false}
faqs={[
{
id: "f1", title: "Are your perfumes natural?", content: "Yes, we use 100% natural ingredients."},
{
id: "f2", title: "How to store them?", content: "Store in a cool, dark place."},
{
id: "f3", title: "Do you ship worldwide?", content: "We currently ship within the country."},
]}
imageSrc="http://img.b2bpic.net/free-photo/male-self-care-setting-still-life_23-2150326587.jpg"
title="Common Questions"
description="Answers to your questions about our perfumes."
faqsAnimation="slide-up"
imageAlt="perfume bottle on wooden table"
mediaAnimation="slide-up"
/>
</div>
<div id="contact" data-section="contact">
<ContactSplit
title="Get in Touch"
description="Reach out for wholesale or custom orders."
tag="Contact"
useInvertedBackground={false}
background={{ variant: "gradient-bars" }}
/>
</div>
<div id="contact" data-section="contact">
<ContactSplit
title="Get in Touch"
description="We'd love to hear from you. Reach out for wholesale, custom orders, or any inquiries."
tag="Contact"
useInvertedBackground={false}
background={{ variant: "gradient-bars" }}
imageSrc="http://img.b2bpic.net/free-photo/perfume-bottle-with-flowers-minimal-background_23-2149176153.jpg"
mediaPosition="right"
/>
</div>
<div id="footer" data-section="footer">
<FooterCard
logoText="አቢሲኒያ ሽቶ"
copyrightText="© 2025 Abyssinia Perfumes. All rights reserved."
socialLinks={[
{ icon: Facebook, href: "#", ariaLabel: "Facebook" },
{ icon: Instagram, href: "#", ariaLabel: "Instagram" },
{ icon: Mail, href: "mailto:info@abyssinia.com", ariaLabel: "Email" },
{ icon: Phone, href: "tel:+25111123456", ariaLabel: "Phone" },
]}
/>
</div>
<div id="footer" data-section="footer">
<FooterCard
logoText="አቢሲኒያ ሽቶ"
copyrightText="© 2025 Abyssinia Perfumes. All rights reserved."
socialLinks={[
{ icon: Facebook, href: "#", ariaLabel: "Facebook" },
{ icon: Instagram, href: "#", ariaLabel: "Instagram" },
{ icon: Mail, href: "mailto:info@abyssinia.com", ariaLabel: "Email" },
{ icon: Phone, href: "tel:+25111123456", ariaLabel: "Phone" },
]}
/>
</div>
</ReactLenis>
</ThemeProvider>
);
}
}