Merge version_2 into main
Merge version_2 into main
This commit was merged in pull request #1.
This commit is contained in:
66
src/app/locations/page.tsx
Normal file
66
src/app/locations/page.tsx
Normal file
@@ -0,0 +1,66 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
|
||||
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
|
||||
|
||||
export default function LocationsPage() {
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="text-shift"
|
||||
defaultTextAnimation="background-highlight"
|
||||
borderRadius="soft"
|
||||
contentWidth="mediumLarge"
|
||||
sizing="largeSmallSizeMediumTitles"
|
||||
background="fluid"
|
||||
cardStyle="gradient-mesh"
|
||||
primaryButtonStyle="diagonal-gradient"
|
||||
secondaryButtonStyle="glass"
|
||||
headingFontWeight="semibold"
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarLayoutFloatingOverlay
|
||||
navItems={[
|
||||
{
|
||||
name: "Home", id: "#home"},
|
||||
{
|
||||
name: "About", id: "#about"},
|
||||
{
|
||||
name: "Menu", id: "#menu"},
|
||||
{
|
||||
name: "Specialties", id: "#specialties"},
|
||||
{
|
||||
name: "Locations", id: "/locations"},
|
||||
{
|
||||
name: "Testimonials", id: "#testimonials"},
|
||||
{
|
||||
name: "FAQ", id: "#faq"},
|
||||
{
|
||||
name: "Contact", id: "#contact"},
|
||||
]}
|
||||
logoSrc="http://img.b2bpic.net/free-vector/coffee-pastry-shop-logo-vector-set_53876-61817.jpg"
|
||||
brandName="Cafe Brew"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="locations" data-section="locations">
|
||||
<ContactSplitForm
|
||||
useInvertedBackground={false}
|
||||
title="Our Cafe Locations"
|
||||
description={[
|
||||
"Visit us at our various locations to experience the unique Cafe Brew ambiance and enjoy your favorite coffee and pastries. Each branch offers a distinct charm while maintaining our commitment to quality.", "**Downtown Branch**", "123 Main St, Cityville, CA 90210", "[View on Google Maps](https://maps.app.goo.gl/downtown)", "Mon-Sun: 7 AM - 7 PM", "",
|
||||
"**Uptown Branch**", "456 Oak Ave, Metroburg, NY 10001", "[View on Google Maps](https://maps.app.goo.gl/uptown)", "Mon-Fri: 6:30 AM - 6 PM, Sat-Sun: 8 AM - 5 PM", "",
|
||||
"**Lakeside Kiosk**", "789 Lake View, Lakeside, WA 98001", "[View on Google Maps](https://maps.app.goo.gl/lakeside)", "Mon-Sat: 8 AM - 4 PM (Seasonal)"
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/map-with-location-pin_23-2147820719.jpg"
|
||||
imageAlt="Map showing cafe locations"
|
||||
mediaAnimation="slide-up"
|
||||
mediaPosition="right"
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
246
src/app/page.tsx
246
src/app/page.tsx
@@ -33,33 +33,21 @@ export default function LandingPage() {
|
||||
<NavbarLayoutFloatingOverlay
|
||||
navItems={[
|
||||
{
|
||||
name: "Home",
|
||||
id: "#home",
|
||||
},
|
||||
name: "Home", id: "#home"},
|
||||
{
|
||||
name: "About",
|
||||
id: "#about",
|
||||
},
|
||||
name: "About", id: "#about"},
|
||||
{
|
||||
name: "Menu",
|
||||
id: "#menu",
|
||||
},
|
||||
name: "Menu", id: "#menu"},
|
||||
{
|
||||
name: "Specialties",
|
||||
id: "#specialties",
|
||||
},
|
||||
name: "Specialties", id: "#specialties"},
|
||||
{
|
||||
name: "Testimonials",
|
||||
id: "#testimonials",
|
||||
},
|
||||
name: "Locations", id: "/locations"},
|
||||
{
|
||||
name: "FAQ",
|
||||
id: "#faq",
|
||||
},
|
||||
name: "Testimonials", id: "#testimonials"},
|
||||
{
|
||||
name: "Contact",
|
||||
id: "#contact",
|
||||
},
|
||||
name: "FAQ", id: "#faq"},
|
||||
{
|
||||
name: "Contact", id: "#contact"},
|
||||
]}
|
||||
logoSrc="http://img.b2bpic.net/free-vector/coffee-pastry-shop-logo-vector-set_53876-61817.jpg"
|
||||
brandName="Cafe Brew"
|
||||
@@ -72,39 +60,23 @@ export default function LandingPage() {
|
||||
description="Experience the perfect blend of rich coffee and cozy ambiance, where every cup tells a story."
|
||||
buttons={[
|
||||
{
|
||||
text: "View Our Menu",
|
||||
href: "#menu",
|
||||
},
|
||||
text: "View Our Menu", href: "#menu"},
|
||||
{
|
||||
text: "Order Online",
|
||||
href: "#contact",
|
||||
},
|
||||
text: "Order Online", href: "#contact"},
|
||||
]}
|
||||
slides={[
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/still-life-scene-with-tea-cup-drinking_23-2151775084.jpg",
|
||||
imageAlt: "Barista pouring latte art",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/still-life-scene-with-tea-cup-drinking_23-2151775084.jpg", imageAlt: "Barista pouring latte art"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/table-set-dinning-table_1339-6420.jpg",
|
||||
imageAlt: "Customer enjoying coffee and pastries",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/table-set-dinning-table_1339-6420.jpg", imageAlt: "Customer enjoying coffee and pastries"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/cup-coffee-books-wooden-table_23-2147892950.jpg",
|
||||
imageAlt: "Close up of delicious croissants",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/cup-coffee-books-wooden-table_23-2147892950.jpg", imageAlt: "Close up of delicious croissants"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/multilayer-coffee-glass-with-cookie-saucer_23-2147908388.jpg",
|
||||
imageAlt: "Iced coffee on a summer day",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/multilayer-coffee-glass-with-cookie-saucer_23-2147908388.jpg", imageAlt: "Iced coffee on a summer day"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/small-business-owner-drinking-coffee_23-2149458139.jpg",
|
||||
imageAlt: "Coffee shop interior with display",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/small-business-owner-drinking-coffee_23-2149458139.jpg", imageAlt: "Coffee shop interior with display"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/bokeh-effect-window-with-snow_23-2148715883.jpg",
|
||||
imageAlt: "Cozy window seat in a cafe",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/bokeh-effect-window-with-snow_23-2148715883.jpg", imageAlt: "Cozy window seat in a cafe"},
|
||||
]}
|
||||
autoplayDelay={3000}
|
||||
showDimOverlay={true}
|
||||
@@ -116,20 +88,14 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
title="Our Story & Passion for Coffee"
|
||||
description={[
|
||||
"Cafe Brew began with a simple dream: to create a warm, inviting space where everyone can enjoy exceptional coffee and delicious treats. We meticulously source our beans globally and bake fresh pastries daily, ensuring quality in every bite and sip.",
|
||||
"Our commitment extends beyond just great taste. We foster a vibrant community where friends gather, ideas bloom, and every visit feels like coming home. Join us for a moment of peace, connection, and delightful flavors in your busy day.",
|
||||
]}
|
||||
"Cafe Brew began with a simple dream: to create a warm, inviting space where everyone can enjoy exceptional coffee and delicious treats. We meticulously source our beans globally and bake fresh pastries daily, ensuring quality in every bite and sip.", "Our commitment extends beyond just great taste. We foster a vibrant community where friends gather, ideas bloom, and every visit feels like coming home. Join us for a moment of peace, connection, and delightful flavors in your busy day."]}
|
||||
buttonAnimation="opacity"
|
||||
showBorder={false}
|
||||
buttons={[
|
||||
{
|
||||
text: "Learn More",
|
||||
href: "#about",
|
||||
},
|
||||
text: "Learn More", href: "#about"},
|
||||
{
|
||||
text: "See Our Menu",
|
||||
href: "#menu",
|
||||
},
|
||||
text: "See Our Menu", href: "#menu"},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -142,26 +108,11 @@ export default function LandingPage() {
|
||||
carouselMode="buttons"
|
||||
features={[
|
||||
{
|
||||
id: "specialty-latte-art",
|
||||
title: "Artisanal Latte Art",
|
||||
subtitle: "Each cup is a masterpiece, crafted with precision and passion.",
|
||||
category: "Beverages",
|
||||
value: "Signature Drink",
|
||||
},
|
||||
id: "specialty-latte-art", title: "Artisanal Latte Art", subtitle: "Each cup is a masterpiece, crafted with precision and passion.", category: "Beverages", value: "Signature Drink"},
|
||||
{
|
||||
id: "freshly-baked-pastries",
|
||||
title: "Freshly Baked Pastries",
|
||||
subtitle: "Our selection of croissants, muffins, and cakes are baked daily.",
|
||||
category: "Bakery",
|
||||
value: "Daily Fresh",
|
||||
},
|
||||
id: "freshly-baked-pastries", title: "Freshly Baked Pastries", subtitle: "Our selection of croissants, muffins, and cakes are baked daily.", category: "Bakery", value: "Daily Fresh"},
|
||||
{
|
||||
id: "gourmet-sandwiches",
|
||||
title: "Gourmet Sandwiches",
|
||||
subtitle: "Perfect for a light lunch, made with premium, fresh ingredients.",
|
||||
category: "Lunch",
|
||||
value: "Handcrafted",
|
||||
},
|
||||
id: "gourmet-sandwiches", title: "Gourmet Sandwiches", subtitle: "Perfect for a light lunch, made with premium, fresh ingredients.", category: "Lunch", value: "Handcrafted"},
|
||||
]}
|
||||
title="Irresistible Specialties"
|
||||
description="From artisanal lattes to freshly baked goods, discover what makes Cafe Brew unique and delightful."
|
||||
@@ -180,52 +131,22 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
products={[
|
||||
{
|
||||
id: "espresso",
|
||||
name: "Classic Espresso",
|
||||
price: "$3.00",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-cup-with-tasty-coffee_1232-482.jpg",
|
||||
imageAlt: "A shot of rich espresso",
|
||||
rating: 5,
|
||||
id: "espresso", name: "Classic Espresso", price: "$3.00", imageSrc: "http://img.b2bpic.net/free-photo/close-up-cup-with-tasty-coffee_1232-482.jpg", imageAlt: "A shot of rich espresso", rating: 5,
|
||||
},
|
||||
{
|
||||
id: "iced-latte",
|
||||
name: "Refreshing Iced Latte",
|
||||
price: "$5.50",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/ice-coffee_1339-3419.jpg",
|
||||
imageAlt: "A glass of iced latte with milk foam",
|
||||
rating: 4,
|
||||
id: "iced-latte", name: "Refreshing Iced Latte", price: "$5.50", imageSrc: "http://img.b2bpic.net/free-photo/ice-coffee_1339-3419.jpg", imageAlt: "A glass of iced latte with milk foam", rating: 4,
|
||||
},
|
||||
{
|
||||
id: "cappuccino",
|
||||
name: "Frothy Cappuccino",
|
||||
price: "$4.50",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/latte-coffee_74190-2926.jpg",
|
||||
imageAlt: "A warm cappuccino with frothy milk",
|
||||
rating: 5,
|
||||
id: "cappuccino", name: "Frothy Cappuccino", price: "$4.50", imageSrc: "http://img.b2bpic.net/free-photo/latte-coffee_74190-2926.jpg", imageAlt: "A warm cappuccino with frothy milk", rating: 5,
|
||||
},
|
||||
{
|
||||
id: "blueberry-muffin",
|
||||
name: "Blueberry Muffin",
|
||||
price: "$3.25",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/banana-cupcakes-mixed-with-chocolate-chip-white-plate_1150-20933.jpg",
|
||||
imageAlt: "A freshly baked blueberry muffin",
|
||||
rating: 4,
|
||||
id: "blueberry-muffin", name: "Blueberry Muffin", price: "$3.25", imageSrc: "http://img.b2bpic.net/free-photo/banana-cupcakes-mixed-with-chocolate-chip-white-plate_1150-20933.jpg", imageAlt: "A freshly baked blueberry muffin", rating: 4,
|
||||
},
|
||||
{
|
||||
id: "chocolate-cake",
|
||||
name: "Decadent Chocolate Cake",
|
||||
price: "$6.00",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/heart-shaped-red-velvet-cake-marble-table-slice-aside_114579-1282.jpg",
|
||||
imageAlt: "A slice of rich chocolate cake",
|
||||
rating: 5,
|
||||
id: "chocolate-cake", name: "Decadent Chocolate Cake", price: "$6.00", imageSrc: "http://img.b2bpic.net/free-photo/heart-shaped-red-velvet-cake-marble-table-slice-aside_114579-1282.jpg", imageAlt: "A slice of rich chocolate cake", rating: 5,
|
||||
},
|
||||
{
|
||||
id: "chocolate-cookie",
|
||||
name: "Gourmet Chocolate Chip Cookie",
|
||||
price: "$2.75",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/front-view-different-delicious-biscuits-light-background_140725-94908.jpg",
|
||||
imageAlt: "A large chocolate chip cookie",
|
||||
rating: 4,
|
||||
id: "chocolate-cookie", name: "Gourmet Chocolate Chip Cookie", price: "$2.75", imageSrc: "http://img.b2bpic.net/free-photo/front-view-different-delicious-biscuits-light-background_140725-94908.jpg", imageAlt: "A large chocolate chip cookie", rating: 4,
|
||||
},
|
||||
]}
|
||||
title="Our Signature Menu Highlights"
|
||||
@@ -244,25 +165,15 @@ export default function LandingPage() {
|
||||
author="Happy Customer, Jane Doe"
|
||||
avatars={[
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/close-up-good-looking-smiling-friendly-female-trainee-ready-tackle-assignments-smiling-broadly-feeling-lucky-day-work-self-assured-encouraged-achieve-success-goal-white-wall_176420-35567.jpg",
|
||||
alt: "Jane Doe",
|
||||
},
|
||||
src: "http://img.b2bpic.net/free-photo/close-up-good-looking-smiling-friendly-female-trainee-ready-tackle-assignments-smiling-broadly-feeling-lucky-day-work-self-assured-encouraged-achieve-success-goal-white-wall_176420-35567.jpg", alt: "Jane Doe"},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/young-businesswoman-portrait-office_1262-1506.jpg",
|
||||
alt: "John Smith",
|
||||
},
|
||||
src: "http://img.b2bpic.net/free-photo/young-businesswoman-portrait-office_1262-1506.jpg", alt: "John Smith"},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/portrait-young-woman-sunglasses-hat_1303-20455.jpg",
|
||||
alt: "Emily White",
|
||||
},
|
||||
src: "http://img.b2bpic.net/free-photo/portrait-young-woman-sunglasses-hat_1303-20455.jpg", alt: "Emily White"},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/portrait-handsome-young-man_158595-286.jpg",
|
||||
alt: "Michael Brown",
|
||||
},
|
||||
src: "http://img.b2bpic.net/free-photo/portrait-handsome-young-man_158595-286.jpg", alt: "Michael Brown"},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/closeup-content-pretty-businesswoman-glasses_1262-1740.jpg",
|
||||
alt: "Another Happy Customer",
|
||||
},
|
||||
src: "http://img.b2bpic.net/free-photo/closeup-content-pretty-businesswoman-glasses_1262-1740.jpg", alt: "Another Happy Customer"},
|
||||
]}
|
||||
ratingAnimation="slide-up"
|
||||
avatarsAnimation="slide-up"
|
||||
@@ -274,14 +185,7 @@ export default function LandingPage() {
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
names={[
|
||||
"Local Foodie Magazine",
|
||||
"City Guide Weekly",
|
||||
"Taste of the Town",
|
||||
"Daily Brews Blog",
|
||||
"Neighborhood Eats",
|
||||
"Coffee Lovers Forum",
|
||||
"Best Cafes Review",
|
||||
]}
|
||||
"Local Foodie Magazine", "City Guide Weekly", "Taste of the Town", "Daily Brews Blog", "Neighborhood Eats", "Coffee Lovers Forum", "Best Cafes Review"]}
|
||||
title="As Seen In"
|
||||
description="Proudly recognized by local publications and food critics for our outstanding quality and welcoming atmosphere."
|
||||
tagAnimation="opacity"
|
||||
@@ -296,20 +200,11 @@ export default function LandingPage() {
|
||||
useInvertedBackground={true}
|
||||
faqs={[
|
||||
{
|
||||
id: "faq-1",
|
||||
title: "What are your opening hours?",
|
||||
content: "We are open Monday to Friday from 7 AM to 6 PM, and Saturday to Sunday from 8 AM to 5 PM.",
|
||||
},
|
||||
id: "faq-1", title: "What are your opening hours?", content: "We are open Monday to Friday from 7 AM to 6 PM, and Saturday to Sunday from 8 AM to 5 PM."},
|
||||
{
|
||||
id: "faq-2",
|
||||
title: "Do you offer vegan options?",
|
||||
content: "Yes, we have a variety of vegan pastries and milk alternatives for all our beverages.",
|
||||
},
|
||||
id: "faq-2", title: "Do you offer vegan options?", content: "Yes, we have a variety of vegan pastries and milk alternatives for all our beverages."},
|
||||
{
|
||||
id: "faq-3",
|
||||
title: "Can I place an order for pickup?",
|
||||
content: "Absolutely! You can place your order through our website or call us directly for convenient pickup.",
|
||||
},
|
||||
id: "faq-3", title: "Can I place an order for pickup?", content: "Absolutely! You can place your order through our website or call us directly for convenient pickup."},
|
||||
]}
|
||||
title="Frequently Asked Questions"
|
||||
description="Find answers to common questions about our cafe, menu items, and services."
|
||||
@@ -328,28 +223,17 @@ export default function LandingPage() {
|
||||
description="We'd love to hear from you! Stop by for a coffee, inquire about catering, or simply send us a message."
|
||||
inputs={[
|
||||
{
|
||||
name: "name",
|
||||
type: "text",
|
||||
placeholder: "Your Name",
|
||||
required: true,
|
||||
name: "name", type: "text", placeholder: "Your Name", required: true,
|
||||
},
|
||||
{
|
||||
name: "email",
|
||||
type: "email",
|
||||
placeholder: "Your Email",
|
||||
required: true,
|
||||
name: "email", type: "email", placeholder: "Your Email", required: true,
|
||||
},
|
||||
{
|
||||
name: "phone",
|
||||
type: "tel",
|
||||
placeholder: "Your Phone (Optional)",
|
||||
required: false,
|
||||
name: "phone", type: "tel", placeholder: "Your Phone (Optional)", required: false,
|
||||
},
|
||||
]}
|
||||
textarea={{
|
||||
name: "message",
|
||||
placeholder: "Your Message",
|
||||
rows: 4,
|
||||
name: "message", placeholder: "Your Message", rows: 4,
|
||||
required: true,
|
||||
}}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/modern-cafe-interior-design_23-2151945689.jpg"
|
||||
@@ -366,57 +250,35 @@ export default function LandingPage() {
|
||||
{
|
||||
items: [
|
||||
{
|
||||
label: "Home",
|
||||
href: "#home",
|
||||
},
|
||||
label: "Home", href: "#home"},
|
||||
{
|
||||
label: "About Us",
|
||||
href: "#about",
|
||||
},
|
||||
label: "About Us", href: "#about"},
|
||||
{
|
||||
label: "Our Menu",
|
||||
href: "#menu",
|
||||
},
|
||||
label: "Our Menu", href: "#menu"},
|
||||
{
|
||||
label: "Specialties",
|
||||
href: "#specialties",
|
||||
},
|
||||
label: "Specialties", href: "#specialties"},
|
||||
],
|
||||
},
|
||||
{
|
||||
items: [
|
||||
{
|
||||
label: "Order Online",
|
||||
href: "#contact",
|
||||
},
|
||||
label: "Order Online", href: "#contact"},
|
||||
{
|
||||
label: "FAQ",
|
||||
href: "#faq",
|
||||
},
|
||||
label: "FAQ", href: "#faq"},
|
||||
{
|
||||
label: "Privacy Policy",
|
||||
href: "#",
|
||||
},
|
||||
label: "Privacy Policy", href: "#"},
|
||||
{
|
||||
label: "Terms of Service",
|
||||
href: "#",
|
||||
},
|
||||
label: "Terms of Service", href: "#"},
|
||||
],
|
||||
},
|
||||
{
|
||||
items: [
|
||||
{
|
||||
label: "Facebook",
|
||||
href: "https://facebook.com/cafebrew",
|
||||
},
|
||||
label: "Facebook", href: "https://facebook.com/cafebrew"},
|
||||
{
|
||||
label: "Instagram",
|
||||
href: "https://instagram.com/cafebrew",
|
||||
},
|
||||
label: "Instagram", href: "https://instagram.com/cafebrew"},
|
||||
{
|
||||
label: "Twitter",
|
||||
href: "https://twitter.com/cafebrew",
|
||||
},
|
||||
label: "Twitter", href: "https://twitter.com/cafebrew"},
|
||||
],
|
||||
},
|
||||
]}
|
||||
@@ -428,4 +290,4 @@ export default function LandingPage() {
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user