Merge version_2 into main #3
253
src/app/page.tsx
253
src/app/page.tsx
@@ -2,184 +2,107 @@
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import FaqSplitText from '@/components/sections/faq/FaqSplitText';
|
||||
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
|
||||
import HeroSplitDualMedia from '@/components/sections/hero/HeroSplitDualMedia';
|
||||
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
|
||||
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
|
||||
import ProductCardThree from '@/components/sections/product/ProductCardThree';
|
||||
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
|
||||
import { Flame, Truck } from "lucide-react";
|
||||
import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
|
||||
import FeatureCardOne from '@/components/sections/feature/FeatureCardOne';
|
||||
import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';
|
||||
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
|
||||
import FooterBase from '@/components/sections/footer/FooterBase';
|
||||
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
|
||||
import { Coffee, MapPin, Clock, Award } from "lucide-react";
|
||||
|
||||
export default function LandingPage() {
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="text-shift"
|
||||
defaultButtonVariant="hover-magnetic"
|
||||
defaultTextAnimation="reveal-blur"
|
||||
borderRadius="soft"
|
||||
contentWidth="mediumSmall"
|
||||
sizing="mediumLarge"
|
||||
borderRadius="pill"
|
||||
contentWidth="medium"
|
||||
sizing="medium"
|
||||
background="noise"
|
||||
cardStyle="subtle-shadow"
|
||||
primaryButtonStyle="diagonal-gradient"
|
||||
secondaryButtonStyle="solid"
|
||||
headingFontWeight="bold"
|
||||
cardStyle="glass-elevated"
|
||||
primaryButtonStyle="primary-glow"
|
||||
secondaryButtonStyle="layered"
|
||||
headingFontWeight="semibold"
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleApple
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "About", id: "/about" },
|
||||
{ name: "Menu", id: "/menu" },
|
||||
{ name: "Order", id: "/order" },
|
||||
{ name: "Gallery", id: "/gallery" },
|
||||
]}
|
||||
brandName="RoadRunner Coffee"
|
||||
/>
|
||||
</div>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleCentered
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Menu", id: "/menu" },
|
||||
{ name: "About", id: "/about" },
|
||||
{ name: "Contact", id: "/contact" }
|
||||
]}
|
||||
brandName="Roadrunner Coffee"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroSplitDualMedia
|
||||
background={{
|
||||
variant: "gradient-bars"}}
|
||||
title="Fuel Your Journey"
|
||||
description="Artisan roasted coffee beans delivered straight to your cup. Experience the vibrant spirit of RoadRunner Coffee in every single sip."
|
||||
tag="Since 2012"
|
||||
buttons={[
|
||||
{
|
||||
text: "Order Now", href: "/order"},
|
||||
{
|
||||
text: "View Menu", href: "/menu"},
|
||||
]}
|
||||
mediaItems={[
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/arrangement-with-marshmallow-drink-near-fireplace_23-2148337325.jpg", imageAlt: "Fresh roasted coffee beans"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-hands-preparing-coffee-with-milk_23-2148865586.jpg", imageAlt: "Barista pouring latte art"}
|
||||
]}
|
||||
mediaAnimation="slide-up"
|
||||
rating={5}
|
||||
ratingText="Trusted by 10,000+ local coffee lovers"
|
||||
/>
|
||||
</div>
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroSplitKpi
|
||||
title="Warmth in Every Cup"
|
||||
description="Located in the heart of Redlands, Roadrunner Coffee is your neighborhood sanctuary. Serving ethically sourced brews and handcrafted pastries daily."
|
||||
kpis={[
|
||||
{ value: "204 E State St", label: "Visit Us" },
|
||||
{ value: "7am - 7pm", label: "Open Daily" },
|
||||
{ value: "Artisanal", label: "Coffee Roasts" }
|
||||
]}
|
||||
imageSrc="https://img.b2bpic.net/free-photo/coffee-shop-counter_1252-872.jpg"
|
||||
imageAlt="Roadrunner Coffee interior"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="featured" data-section="featured">
|
||||
<ProductCardThree
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
useInvertedBackground={false}
|
||||
products={[
|
||||
{
|
||||
id: "p1", name: "Dark Roast Blend", price: "$16.00", imageSrc: "http://img.b2bpic.net/free-photo/small-roasted-linen-cafe-italian_1172-347.jpg"},
|
||||
{
|
||||
id: "p2", name: "Butter Croissant", price: "$4.50", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-delicious-croissants_23-2149233677.jpg"},
|
||||
{
|
||||
id: "p3", name: "Seasonal Spice Latte", price: "$5.50", imageSrc: "http://img.b2bpic.net/free-photo/cocoa-chocolate-popcorn-ginger-biscuits-knitted-blanket-cozy-winter-home-background_501050-132.jpg"},
|
||||
{
|
||||
id: "p4", name: "Classic Iced Cold Brew", price: "$4.00", imageSrc: "http://img.b2bpic.net/free-photo/ice-coffee_1339-6416.jpg"},
|
||||
{
|
||||
id: "p5", name: "Vanilla Bean Latte", price: "$5.00", imageSrc: "http://img.b2bpic.net/free-photo/cup-coffee-with-star-latte-art_1252-872.jpg"},
|
||||
{
|
||||
id: "p6", name: "Blueberry Muffin", price: "$3.75", imageSrc: "http://img.b2bpic.net/free-photo/flat-lay-tasty-muffin-with-blueberries_23-2148718792.jpg"},
|
||||
]}
|
||||
title="Signature Roasts & Treats"
|
||||
description="Discover our most popular coffee blends and freshly baked pastries."
|
||||
/>
|
||||
</div>
|
||||
<div id="featured" data-section="featured">
|
||||
<FeatureCardOne
|
||||
title="Our Menu"
|
||||
description="From velvet lattes to our signature pour-overs, explore what makes our coffee special."
|
||||
animationType="slide-up"
|
||||
textboxLayout="split"
|
||||
features={[
|
||||
{ title: "Signature Espresso", description: "Rich, bold, and perfectly balanced.", imageSrc: "https://img.b2bpic.net/free-photo/latte-art-coffee_1252-872.jpg" },
|
||||
{ title: "Fresh Pastries", description: "Baked fresh every morning in-house.", imageSrc: "https://img.b2bpic.net/free-photo/croissants_23-2149233677.jpg" },
|
||||
{ title: "Seasonal Brews", description: "Limited time flavors inspired by the season.", imageSrc: "https://img.b2bpic.net/free-photo/winter-coffee_501050-132.jpg" }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="testimonials" data-section="testimonials">
|
||||
<TestimonialCardOne
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
useInvertedBackground={true}
|
||||
testimonials={[
|
||||
{
|
||||
id: "t1", name: "Sarah J.", role: "Designer", company: "Local Agency", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/vertical-shot-cute-asian-barista-smiling-girl-puts-coffee-tamper-prepare-cappuccino-standing_1258-134055.jpg"},
|
||||
{
|
||||
id: "t2", name: "Mark D.", role: "Student", company: "University", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/fashionable-young-man-with-stubble-having-joyful-look-sitting-wooden-table-outdoor-coffee-shop-with-cup-cappuccino-front-him_273609-1753.jpg"},
|
||||
{
|
||||
id: "t3", name: "Linda M.", role: "Manager", company: "Retail Group", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/man-apron-pouring-coffee-cup-customer_23-2148366693.jpg"},
|
||||
{
|
||||
id: "t4", name: "Kevin P.", role: "Freelancer", company: "Creative Hub", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/person-drinking-beverage-while-break-time_23-2149256929.jpg"},
|
||||
{
|
||||
id: "t5", name: "Elena R.", role: "Architect", company: "Studio", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/young-woman-enjoying-coffee-cup_23-2148756305.jpg"},
|
||||
]}
|
||||
title="Customer Favorites"
|
||||
description="See why our community loves RoadRunner Coffee."
|
||||
/>
|
||||
</div>
|
||||
<div id="testimonials" data-section="testimonials">
|
||||
<TestimonialCardThirteen
|
||||
title="Community Love"
|
||||
description="Hear what our regulars in Redlands have to say."
|
||||
showRating={true}
|
||||
animationType="blur-reveal"
|
||||
testimonials={[
|
||||
{ id: "1", name: "Alex P.", handle: "@alex_redlands", testimonial: "The best coffee in town, hands down. The staff is so friendly.", rating: 5 },
|
||||
{ id: "2", name: "Jamie S.", handle: "@jamie_brew", testimonial: "Love the atmosphere, perfect for reading or working.", rating: 5 }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="metric" data-section="metric">
|
||||
<MetricCardOne
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
gridVariant="uniform-all-items-equal"
|
||||
useInvertedBackground={false}
|
||||
title="Our Impact"
|
||||
description="How we grow the local coffee community."
|
||||
metrics={[
|
||||
{
|
||||
id: "e1", value: "50+", title: "Local Suppliers", description: "Sourcing beans directly from farmers.", icon: Truck,
|
||||
},
|
||||
{
|
||||
id: "e2", value: "12", title: "Roast Profiles", description: "Expertly crafted by our master roasters.", icon: Flame,
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
<div id="faq" data-section="faq">
|
||||
<FaqSplitMedia
|
||||
title="Location & Info"
|
||||
description="Find us at 204 E State St, Redlands, CA. We look forward to seeing you!"
|
||||
faqs={[
|
||||
{ id: "1", title: "Where are you located?", content: "204 E State St, Redlands, CA." },
|
||||
{ id: "2", title: "What are your hours?", content: "7am-7pm daily." },
|
||||
{ id: "3", title: "Do you offer catering?", content: "Yes, contact us for event details." }
|
||||
]}
|
||||
imageSrc="https://img.b2bpic.net/free-photo/cafe-exterior_23-2148756305.jpg"
|
||||
faqsAnimation="slide-up"
|
||||
textboxLayout="split"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="faq" data-section="faq">
|
||||
<FaqSplitText
|
||||
useInvertedBackground={false}
|
||||
sideTitle="Common Questions"
|
||||
sideDescription="Everything you need to know about your daily brew."
|
||||
faqs={[
|
||||
{
|
||||
id: "f1", title: "Do you offer vegan options?", content: "Yes, we have almond and oat milk alternatives."},
|
||||
{
|
||||
id: "f2", title: "Can I order for events?", content: "Absolutely! Contact us for catering details."},
|
||||
]}
|
||||
faqsAnimation="slide-up"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterBaseReveal
|
||||
logoText="RoadRunner Coffee"
|
||||
columns={[
|
||||
{
|
||||
title: "Navigation", items: [
|
||||
{
|
||||
label: "Home", href: "/"},
|
||||
{
|
||||
label: "Menu", href: "/menu"},
|
||||
{
|
||||
label: "About", href: "/about"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Connect", items: [
|
||||
{
|
||||
label: "Contact Us", href: "/contact"},
|
||||
{
|
||||
label: "Instagram", href: "#"},
|
||||
{
|
||||
label: "Facebook", href: "#"},
|
||||
],
|
||||
},
|
||||
]}
|
||||
copyrightText="© 2024 RoadRunner Coffee. All rights reserved."
|
||||
/>
|
||||
</div>
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterBase
|
||||
logoText="Roadrunner Coffee"
|
||||
columns={[
|
||||
{ title: "Links", items: [{ label: "Menu", href: "/menu" }, { label: "About", href: "/about" }] },
|
||||
{ title: "Visit", items: [{ label: "204 E State St, Redlands", href: "#" }] }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -10,15 +10,15 @@
|
||||
--accent: #ffffff;
|
||||
--background-accent: #ffffff; */
|
||||
|
||||
--background: #f5f4ef;
|
||||
--card: #dad6cd;
|
||||
--foreground: #2a2928;
|
||||
--primary-cta: #2a2928;
|
||||
--background: #fbf8f5;
|
||||
--card: #f0ede9;
|
||||
--foreground: #3d2b1f;
|
||||
--primary-cta: #8b5e3c;
|
||||
--primary-cta-text: #f5f4ef;
|
||||
--secondary-cta: #ecebea;
|
||||
--secondary-cta: #dcd3c9;
|
||||
--secondary-cta-text: #2a2928;
|
||||
--accent: #ffffff;
|
||||
--background-accent: #c6b180;
|
||||
--accent: #c4a484;
|
||||
--background-accent: #e5dcd3;
|
||||
|
||||
/* text sizing - set by ThemeProvider */
|
||||
/* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem);
|
||||
|
||||
Reference in New Issue
Block a user