139 lines
5.8 KiB
TypeScript
139 lines
5.8 KiB
TypeScript
"use client";
|
|
|
|
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
|
import ReactLenis from "lenis/react";
|
|
import ContactSplit from '@/components/sections/contact/ContactSplit';
|
|
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
|
|
import FeatureCardNineteen from '@/components/sections/feature/FeatureCardNineteen';
|
|
import FooterMedia from '@/components/sections/footer/FooterMedia';
|
|
import HeroLogo from '@/components/sections/hero/HeroLogo';
|
|
import MediaAbout from '@/components/sections/about/MediaAbout';
|
|
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
|
|
import ProductCardThree from '@/components/sections/product/ProductCardThree';
|
|
import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCardTen';
|
|
|
|
export default function LandingPage() {
|
|
return (
|
|
<ThemeProvider
|
|
defaultButtonVariant="hover-magnetic"
|
|
defaultTextAnimation="reveal-blur"
|
|
borderRadius="rounded"
|
|
contentWidth="mediumSmall"
|
|
sizing="largeSizeMediumTitles"
|
|
background="fluid"
|
|
cardStyle="glass-elevated"
|
|
primaryButtonStyle="gradient"
|
|
secondaryButtonStyle="layered"
|
|
headingFontWeight="extrabold"
|
|
>
|
|
<ReactLenis root>
|
|
<div id="nav" data-section="nav">
|
|
<NavbarStyleCentered
|
|
navItems={[
|
|
{ name: "Products", id: "products" },
|
|
{ name: "Our Story", id: "about" },
|
|
{ name: "Testimonials", id: "testimonials" },
|
|
{ name: "Contact", id: "contact" },
|
|
]}
|
|
brandName="Coca-Cola"
|
|
/>
|
|
</div>
|
|
|
|
<div id="hero" data-section="hero">
|
|
<HeroLogo
|
|
logoText="Open Happiness"
|
|
description="Experience the classic taste of Coca-Cola, bringing refreshment to every moment. Join the global family."
|
|
buttons={[{ text: "Discover Products", href: "#products" }]}
|
|
imageSrc="http://img.b2bpic.net/free-photo/side-view-small-sour-red-cornel-berries-bucket-wooden-kitchen-board-with-cornel-berry-juice-blackthorn-grey-wooden-background_141793-49526.jpg"
|
|
imageAlt="Coca-Cola Refreshment"
|
|
/>
|
|
</div>
|
|
|
|
<div id="products" data-section="products">
|
|
<ProductCardThree
|
|
animationType="slide-up"
|
|
textboxLayout="default"
|
|
gridVariant="three-columns-all-equal-width"
|
|
useInvertedBackground={false}
|
|
products={[
|
|
{ id: "1", name: "Coca-Cola Original", price: "$1.50", imageSrc: "http://img.b2bpic.net/free-photo/macro-shot-beverage-can_53876-18414.jpg" },
|
|
{ id: "2", name: "Diet Coke", price: "$1.40", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-soft-drink-glass-with-straw-ice-cubes_23-2148691225.jpg" },
|
|
{ id: "3", name: "Coke Zero Sugar", price: "$1.40", imageSrc: "http://img.b2bpic.net/free-photo/crumpled-drink-can-grey-background_23-2148115605.jpg" }
|
|
]}
|
|
title="Explore Our Drinks"
|
|
description="From the original classic to sugar-free variants, discover your favorite refreshment."
|
|
/>
|
|
</div>
|
|
|
|
<div id="features" data-section="features">
|
|
<FeatureCardNineteen
|
|
textboxLayout="split"
|
|
useInvertedBackground={false}
|
|
features={[
|
|
{ tag: "Refreshing", title: "Signature Taste", subtitle: "Iconic Flavor", description: "The unique flavor that defines refreshment.", imageSrc: "http://img.b2bpic.net/free-photo/top-close-view-soda-can-dark-background_140725-131349.jpg" },
|
|
{ tag: "Classic", title: "Ice Cold", subtitle: "Perfect Temp", description: "Crisp, cold, and ready to quench your thirst.", imageSrc: "http://img.b2bpic.net/free-photo/fizzy-cola-drink-macro-shot_53876-165367.jpg" }
|
|
]}
|
|
title="Why Choose Coca-Cola"
|
|
description="More than just a soda, it's a feeling."
|
|
/>
|
|
</div>
|
|
|
|
<div id="about" data-section="about">
|
|
<MediaAbout
|
|
useInvertedBackground={false}
|
|
title="Our Heritage"
|
|
description="Since 1886, Coca-Cola has been at the heart of millions, creating moments of joy and refreshment across the globe."
|
|
imageSrc="http://img.b2bpic.net/free-photo/medium-shot-woman-working-beer-factory_23-2150573934.jpg?_wi=1"
|
|
/>
|
|
</div>
|
|
|
|
<div id="testimonials" data-section="testimonials">
|
|
<TestimonialCardTen
|
|
useInvertedBackground={false}
|
|
title="Testimonials"
|
|
description="What the world says about the taste."
|
|
textboxLayout="default"
|
|
testimonials={[
|
|
{ id: "1", title: "Classic Happiness", quote: "Nothing beats the classic taste of a cold Coke on a hot summer day. It's truly happiness in a bottle!", name: "Sarah Johnson", role: "Long-time Fan" }
|
|
]}
|
|
/>
|
|
</div>
|
|
|
|
<div id="faq" data-section="faq">
|
|
<FaqSplitMedia
|
|
faqs={[
|
|
{ id: "1", title: "Where can I buy Coca-Cola?", content: "You can find our products in grocery stores, supermarkets, and convenience stores worldwide." },
|
|
{ id: "2", title: "Are your cans recyclable?", content: "Yes, our cans and plastic bottles are 100% recyclable." }
|
|
]}
|
|
title="Frequently Asked Questions"
|
|
description="Everything you need to know about our products."
|
|
faqsAnimation="slide-up"
|
|
textboxLayout="default"
|
|
useInvertedBackground={false}
|
|
/>
|
|
</div>
|
|
|
|
<div id="contact" data-section="contact">
|
|
<ContactSplit
|
|
useInvertedBackground={false}
|
|
background={{ variant: "plain" }}
|
|
tag="Get in Touch"
|
|
title="We'd Love to Hear From You"
|
|
description="Send us your feedback or ask a question."
|
|
/>
|
|
</div>
|
|
|
|
<div id="footer" data-section="footer">
|
|
<FooterMedia
|
|
imageSrc="http://img.b2bpic.net/free-photo/medium-shot-woman-working-beer-factory_23-2150573934.jpg?_wi=2"
|
|
logoText="Coca-Cola"
|
|
columns={[
|
|
{ title: "Navigation", items: [{ label: "Home", href: "#" }, { label: "Products", href: "#products" }] }
|
|
]}
|
|
/>
|
|
</div>
|
|
</ReactLenis>
|
|
</ThemeProvider>
|
|
);
|
|
}
|