Merge version_2 into main
Merge version_2 into main
This commit was merged in pull request #1.
This commit is contained in:
295
src/app/page.tsx
295
src/app/page.tsx
@@ -2,15 +2,15 @@
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import ContactCenter from '@/components/sections/contact/ContactCenter';
|
||||
import FaqBase from '@/components/sections/faq/FaqBase';
|
||||
import FeatureCardThree from '@/components/sections/feature/featureCardThree/FeatureCardThree';
|
||||
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
|
||||
import HeroCentered from '@/components/sections/hero/HeroCentered';
|
||||
import MetricSplitMediaAbout from '@/components/sections/about/MetricSplitMediaAbout';
|
||||
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
|
||||
import ProductCardFour from '@/components/sections/product/ProductCardFour';
|
||||
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
|
||||
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';
|
||||
import { Award, CheckCircle } from "lucide-react";
|
||||
|
||||
export default function LandingPage() {
|
||||
@@ -29,141 +29,37 @@ export default function LandingPage() {
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleFullscreen
|
||||
<NavbarStyleCentered
|
||||
navItems={[
|
||||
{
|
||||
name: "Products",
|
||||
id: "products",
|
||||
},
|
||||
{
|
||||
name: "Our Story",
|
||||
id: "about",
|
||||
},
|
||||
{
|
||||
name: "Testimonials",
|
||||
id: "testimonials",
|
||||
},
|
||||
{
|
||||
name: "Contact",
|
||||
id: "contact",
|
||||
},
|
||||
{ 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">
|
||||
<HeroCentered
|
||||
background={{
|
||||
variant: "gradient-bars",
|
||||
}}
|
||||
title="Open Happiness"
|
||||
description="Experience the classic taste of Coca-Cola, bringing refreshment to every moment. Join the global family."
|
||||
avatars={[
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/young-woman-holding-drinking-cold-drink-beverage-casual-clothes-pretty-girl-smiling-happy-laughing-looking-camera_1258-80344.jpg",
|
||||
alt: "Customer",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/middle-age-man-with-beard-grey-hair-holding-jar-with-coffee-beans-smiling-happy-pointing-with-hand-finger-side_839833-6438.jpg",
|
||||
alt: "Customer",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/smiley-woman-with-soda-can-her-head_23-2148751484.jpg",
|
||||
alt: "Customer",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/close-up-self-portrait-cute-smiling-hipster-black-woman-making-self-portrait_273443-1898.jpg",
|
||||
alt: "Customer",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/happy-young-woman-with-glass-lemonade-against-bright-painted-wall_169016-21553.jpg",
|
||||
alt: "Customer",
|
||||
},
|
||||
]}
|
||||
avatarText="Trusted by millions around the world"
|
||||
buttons={[
|
||||
{
|
||||
text: "Discover Products",
|
||||
href: "#products",
|
||||
},
|
||||
]}
|
||||
marqueeItems={[
|
||||
{
|
||||
type: "text",
|
||||
text: "Refreshment Since 1886",
|
||||
},
|
||||
{
|
||||
type: "text-icon",
|
||||
text: "Authentic Taste",
|
||||
icon: CheckCircle,
|
||||
},
|
||||
{
|
||||
type: "text",
|
||||
text: "Global Presence",
|
||||
},
|
||||
{
|
||||
type: "text-icon",
|
||||
text: "Quality Assured",
|
||||
icon: Award,
|
||||
},
|
||||
{
|
||||
type: "text",
|
||||
text: "Join the Celebration",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
<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">
|
||||
<ProductCardFour
|
||||
<ProductCardThree
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
useInvertedBackground={false}
|
||||
products={[
|
||||
{
|
||||
id: "1",
|
||||
name: "Coca-Cola Original",
|
||||
price: "$1.50",
|
||||
variant: "330ml Can",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/macro-shot-beverage-can_53876-18414.jpg",
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
name: "Diet Coke",
|
||||
price: "$1.40",
|
||||
variant: "330ml Can",
|
||||
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",
|
||||
variant: "330ml Can",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/crumpled-drink-can-grey-background_23-2148115605.jpg",
|
||||
},
|
||||
{
|
||||
id: "4",
|
||||
name: "Cherry Coke",
|
||||
price: "$1.60",
|
||||
variant: "330ml Can",
|
||||
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",
|
||||
},
|
||||
{
|
||||
id: "5",
|
||||
name: "Vanilla Coke",
|
||||
price: "$1.60",
|
||||
variant: "330ml Can",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/lemon-slice-cinnamons-with-cup-drink-blue_114579-29151.jpg",
|
||||
},
|
||||
{
|
||||
id: "6",
|
||||
name: "Coke Life",
|
||||
price: "$1.50",
|
||||
variant: "330ml Can",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/front-view-fresh-sour-limes-inside-outside-glass-can-grey-fruit-citrus-tropical-juice_140725-18822.jpg",
|
||||
},
|
||||
{ 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."
|
||||
@@ -171,27 +67,13 @@ export default function LandingPage() {
|
||||
</div>
|
||||
|
||||
<div id="features" data-section="features">
|
||||
<FeatureCardThree
|
||||
<FeatureCardNineteen
|
||||
animationType="slide-up"
|
||||
textboxLayout="split"
|
||||
gridVariant="one-large-left-three-stacked-right"
|
||||
useInvertedBackground={false}
|
||||
features={[
|
||||
{
|
||||
title: "Refreshing Taste",
|
||||
description: "The unique signature flavor that defines refreshment.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-close-view-soda-can-dark-background_140725-131349.jpg",
|
||||
},
|
||||
{
|
||||
title: "Ice Cold Perfect",
|
||||
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: "Shared Joy",
|
||||
description: "Perfect for family moments and gatherings.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/smiley-woman-throwing-ball-medium-shot_23-2149592930.jpg",
|
||||
},
|
||||
{ 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."
|
||||
@@ -199,92 +81,43 @@ export default function LandingPage() {
|
||||
</div>
|
||||
|
||||
<div id="about" data-section="about">
|
||||
<MetricSplitMediaAbout
|
||||
<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."
|
||||
metrics={[
|
||||
{
|
||||
value: "130+",
|
||||
title: "Years of Refreshment",
|
||||
},
|
||||
{
|
||||
value: "200+",
|
||||
title: "Countries Served",
|
||||
},
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/medium-shot-woman-working-beer-factory_23-2150573934.jpg"
|
||||
mediaAnimation="slide-up"
|
||||
metricsAnimation="slide-up"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="testimonials" data-section="testimonials">
|
||||
<TestimonialCardFifteen
|
||||
<TestimonialCardTen
|
||||
useInvertedBackground={false}
|
||||
testimonial="Nothing beats the classic taste of a cold Coke on a hot summer day. It's truly happiness in a bottle!"
|
||||
rating={5}
|
||||
author="Sarah Johnson"
|
||||
avatars={[
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/young-woman-holding-drinking-cold-drink-beverage-casual-clothes-pretty-girl-smiling-happy-laughing-looking-camera_1258-80344.jpg",
|
||||
alt: "Sarah",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/middle-age-man-with-beard-grey-hair-holding-jar-with-coffee-beans-smiling-happy-pointing-with-hand-finger-side_839833-6438.jpg",
|
||||
alt: "Mike",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/smiley-woman-with-soda-can-her-head_23-2148751484.jpg",
|
||||
alt: "Jane",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/close-up-self-portrait-cute-smiling-hipster-black-woman-making-self-portrait_273443-1898.jpg",
|
||||
alt: "David",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/happy-young-woman-with-glass-lemonade-against-bright-painted-wall_169016-21553.jpg",
|
||||
alt: "Emily",
|
||||
},
|
||||
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" }
|
||||
]}
|
||||
ratingAnimation="slide-up"
|
||||
avatarsAnimation="slide-up"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="faq" data-section="faq">
|
||||
<FaqBase
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
<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.",
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
title: "Do you offer sugar-free options?",
|
||||
content: "Absolutely, we have a variety of sugar-free options including Coke Zero Sugar and Diet Coke.",
|
||||
},
|
||||
{ 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="Find answers to common questions about our products."
|
||||
faqsAnimation="slide-up"
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="contact" data-section="contact">
|
||||
<ContactCenter
|
||||
<ContactSplit
|
||||
useInvertedBackground={false}
|
||||
background={{
|
||||
variant: "plain",
|
||||
}}
|
||||
background={{ variant: "plain" }}
|
||||
tag="Get in Touch"
|
||||
title="We'd Love to Hear From You"
|
||||
description="Send us your feedback or ask a question."
|
||||
@@ -292,46 +125,12 @@ export default function LandingPage() {
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterLogoEmphasis
|
||||
columns={[
|
||||
{
|
||||
items: [
|
||||
{
|
||||
label: "About",
|
||||
href: "#about",
|
||||
},
|
||||
{
|
||||
label: "Products",
|
||||
href: "#products",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
items: [
|
||||
{
|
||||
label: "Support",
|
||||
href: "#",
|
||||
},
|
||||
{
|
||||
label: "Contact",
|
||||
href: "#contact",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
items: [
|
||||
{
|
||||
label: "Privacy Policy",
|
||||
href: "#",
|
||||
},
|
||||
{
|
||||
label: "Terms of Service",
|
||||
href: "#",
|
||||
},
|
||||
],
|
||||
},
|
||||
]}
|
||||
<FooterMedia
|
||||
imageSrc="http://img.b2bpic.net/free-photo/medium-shot-woman-working-beer-factory_23-2150573934.jpg"
|
||||
logoText="Coca-Cola"
|
||||
columns={[
|
||||
{ title: "Navigation", items: [{ label: "Home", href: "#" }, { label: "Products", href: "#products" }] }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
|
||||
@@ -10,15 +10,15 @@
|
||||
--accent: #ffffff;
|
||||
--background-accent: #ffffff; */
|
||||
|
||||
--background: #ffffff;
|
||||
--card: #f9f9f9;
|
||||
--foreground: #120006e6;
|
||||
--background: #fffafa;
|
||||
--card: #fff7f7;
|
||||
--foreground: #1a0000;
|
||||
--primary-cta: #e63946;
|
||||
--primary-cta-text: #ffffff;
|
||||
--secondary-cta: #f9f9f9;
|
||||
--secondary-cta: #ffffff;
|
||||
--secondary-cta-text: #120006e6;
|
||||
--accent: #e2e2e2;
|
||||
--background-accent: #c4c4c4;
|
||||
--accent: #f5c4c7;
|
||||
--background-accent: #f09199;
|
||||
|
||||
/* text sizing - set by ThemeProvider */
|
||||
/* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem);
|
||||
|
||||
Reference in New Issue
Block a user