Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9bf33e0f39 | |||
| b40918c224 | |||
| 1dac905217 |
120
src/app/page.tsx
120
src/app/page.tsx
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||||
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
|
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
|
||||||
import HeroBillboardDashboard from '@/components/sections/hero/HeroBillboardDashboard';
|
import HeroSplit from '@/components/sections/hero/HeroSplit';
|
||||||
import AboutMetric from '@/components/sections/about/AboutMetric';
|
import AboutMetric from '@/components/sections/about/AboutMetric';
|
||||||
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
|
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
|
||||||
import FeatureCardTwentyFive from '@/components/sections/feature/FeatureCardTwentyFive';
|
import FeatureCardTwentyFive from '@/components/sections/feature/FeatureCardTwentyFive';
|
||||||
@@ -10,6 +10,7 @@ import TestimonialCardTwelve from '@/components/sections/testimonial/Testimonial
|
|||||||
import FooterBase from '@/components/sections/footer/FooterBase';
|
import FooterBase from '@/components/sections/footer/FooterBase';
|
||||||
import { Coffee, Users, Clock, Heart, Sparkles, Star, Home, Wheat } from 'lucide-react';
|
import { Coffee, Users, Clock, Heart, Sparkles, Star, Home, Wheat } from 'lucide-react';
|
||||||
import Link from 'next/link';
|
import Link from 'next/link';
|
||||||
|
import TestimonialCardSixteen from '@/components/sections/testimonial/TestimonialCardSixteen';
|
||||||
|
|
||||||
export default function HomePage() {
|
export default function HomePage() {
|
||||||
return (
|
return (
|
||||||
@@ -42,52 +43,87 @@ export default function HomePage() {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="hero-section" data-section="hero-section">
|
<div id="hero-section" data-section="hero-section">
|
||||||
<HeroBillboardDashboard
|
<HeroSplit
|
||||||
title="Welcome to Our Cozy Corner"
|
title="Discover Our Signature Blends"
|
||||||
description="Where every cup tells a story. Experience the perfect blend of quality coffee and warm community in our inviting space."
|
description="Handcrafted coffee experiences made with passion. From single-origin beans to our house specialty blends, every cup is a journey of flavor and warmth."
|
||||||
background={{ variant: 'radial-gradient' }}
|
background={{ variant: "radial-gradient" }}
|
||||||
tag="Artisan Roasted Daily"
|
tag="Freshly Roasted"
|
||||||
tagIcon={Sparkles}
|
tagIcon={Sparkles}
|
||||||
tagAnimation="slide-up"
|
tagAnimation="slide-up"
|
||||||
buttons={[
|
buttons={[
|
||||||
{ text: "Explore Our Menu", href: "/menu" },
|
{ text: "Order Now", href: "/menu", dataWebildId: "hero-split-order-btn" },
|
||||||
{ text: "Visit Us Today", href: "/contact" }
|
{ text: "Learn More", href: "/about", dataWebildId: "hero-split-learn-btn" }
|
||||||
]}
|
]}
|
||||||
buttonAnimation="slide-up"
|
buttonAnimation="slide-up"
|
||||||
dashboard={{
|
imageSrc="https://img.b2bpic.net/free-photo/abstract-luxury-gradient-blue-background_53876-120942.jpg"
|
||||||
title: "Daily Specials",
|
imageAlt="Cozy Corner Cafe Coffee"
|
||||||
stats: [
|
mediaAnimation="fade-in"
|
||||||
{ title: "Organic", values: [100, 100, 100], valuePrefix: "", valueSuffix: "%", description: "Organic Beans" },
|
imagePosition="right"
|
||||||
{ title: "Fresh Brew", values: [24, 24, 24], valuePrefix: "", valueSuffix: "/7", description: "Fresh Brew" },
|
avatars={[
|
||||||
{ title: "Rating", values: [5, 5, 5], valuePrefix: "", valueSuffix: "★", description: "Community Rating" }
|
{ name: "Sarah", initials: "SJ", color: "bg-amber-500" },
|
||||||
],
|
{ name: "Mike", initials: "MC", color: "bg-orange-500" },
|
||||||
logoIcon: Coffee,
|
{ name: "Emma", initials: "EL", color: "bg-yellow-600" }
|
||||||
imageSrc: "http://img.b2bpic.net/free-photo/parisian-coffee-shop-style-with-tasty-coffee-served-wooden-table-coffee-shop-design_482257-18283.jpg",
|
]}
|
||||||
buttons: [{ text: "View Events", href: "/about" }],
|
avatarText="Join 500+ coffee lovers"
|
||||||
sidebarItems: [
|
ariaLabel="Cozy Corner Cafe hero section with coffee imagery"
|
||||||
{ icon: Clock, active: true },
|
/>
|
||||||
{ icon: Users },
|
</div>
|
||||||
{ icon: Coffee }
|
|
||||||
],
|
<div id="testimonialcardsixteen" data-section="testimonialcardsixteen">
|
||||||
listItems: [
|
<TestimonialCardSixteen
|
||||||
{ icon: Coffee, title: "Single Origin Ethiopian", status: "Bright, floral notes with hints of citrus" },
|
testimonials={[
|
||||||
{ icon: Coffee, title: "House Blend Medium Roast", status: "Smooth and balanced with caramel undertones" },
|
{
|
||||||
{ icon: Coffee, title: "Cold Brew Concentrate", status: "Rich and smooth, perfect for iced drinks" }
|
id: "1",
|
||||||
],
|
name: "Sarah Mitchell",
|
||||||
searchPlaceholder: "Search our menu...",
|
role: "Regular Customer",
|
||||||
chartTitle: "Weekly Customer Traffic",
|
company: "Coffee Enthusiast",
|
||||||
chartData: [
|
rating: 5,
|
||||||
{ value: 45 },
|
imageSrc: "https://img.b2bpic.net/free-photo/abstract-luxury-gradient-blue-background_53876-120942.jpg",
|
||||||
{ value: 52 },
|
imageAlt: "Sarah Mitchell"
|
||||||
{ value: 48 },
|
},
|
||||||
{ value: 60 },
|
{
|
||||||
{ value: 75 },
|
id: "2",
|
||||||
{ value: 90 },
|
name: "James Chen",
|
||||||
{ value: 80 }
|
role: "Frequent Visitor",
|
||||||
],
|
company: "Local Business Owner",
|
||||||
listTitle: "Featured Drinks",
|
rating: 5,
|
||||||
imageAlt: "Cozy interior of our coffee shop with warm lighting and comfortable seating"
|
imageSrc: "https://img.b2bpic.net/free-photo/abstract-luxury-gradient-blue-background_53876-120942.jpg",
|
||||||
}}
|
imageAlt: "James Chen"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: "3",
|
||||||
|
name: "Emma Rodriguez",
|
||||||
|
role: "Community Member",
|
||||||
|
company: "Cozy Corner Fan",
|
||||||
|
rating: 5,
|
||||||
|
imageSrc: "https://img.b2bpic.net/free-photo/abstract-luxury-gradient-blue-background_53876-120942.jpg",
|
||||||
|
imageAlt: "Emma Rodriguez"
|
||||||
|
}
|
||||||
|
]}
|
||||||
|
kpiItems={[
|
||||||
|
{ value: "4.9★", label: "Average Rating" },
|
||||||
|
{ value: "2.5K+", label: "Happy Customers" },
|
||||||
|
{ value: "5 Years", label: "Trusted Service" }
|
||||||
|
]}
|
||||||
|
carouselMode="auto"
|
||||||
|
animationType="scale"
|
||||||
|
title="What Our Customers Say"
|
||||||
|
titleSegments={[
|
||||||
|
{ text: "What Our", color: "text-gray-900" },
|
||||||
|
{ text: "Customers", color: "text-amber-700" },
|
||||||
|
{ text: "Say", color: "text-gray-900" }
|
||||||
|
]}
|
||||||
|
description="Join thousands of satisfied customers who have made Cozy Corner Cafe their favorite spot for great coffee, pastries, and warm hospitality."
|
||||||
|
tag="Customer Reviews"
|
||||||
|
buttons={[
|
||||||
|
{ label: "Visit Us Today", href: "#contact", dataWebildId: "btn_visit_cafe" },
|
||||||
|
{ label: "View Menu", href: "#menu", dataWebildId: "btn_view_menu" }
|
||||||
|
]}
|
||||||
|
buttonAnimation="fade"
|
||||||
|
textboxLayout="bottom"
|
||||||
|
useInvertedBackground={false}
|
||||||
|
className="py-16"
|
||||||
|
containerClassName="max-w-6xl mx-auto"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ const AvatarGroup = ({
|
|||||||
alt={avatar.alt}
|
alt={avatar.alt}
|
||||||
fill
|
fill
|
||||||
className="w-full h-full object-cover"
|
className="w-full h-full object-cover"
|
||||||
unoptimized={avatar.src.startsWith('http') || avatar.src.startsWith('//')}
|
unoptimized={avatar.src?.startsWith('http') || avatar.src?.startsWith('//')}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user