Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 81f33ab2a1 | |||
| 1bf4440b8c | |||
| 8448918510 | |||
| d4bd8e318a | |||
| a149cb815b | |||
| 259e0eaf89 |
@@ -4,7 +4,6 @@ import { Inter } from "next/font/google";
|
|||||||
import "./globals.css";
|
import "./globals.css";
|
||||||
import "@/lib/gsap-setup";
|
import "@/lib/gsap-setup";
|
||||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||||
import Tag from "@/tag/Tag";
|
|
||||||
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
||||||
import { Open_Sans } from "next/font/google";
|
import { Open_Sans } from "next/font/google";
|
||||||
|
|
||||||
@@ -31,7 +30,7 @@ export default function RootLayout({
|
|||||||
<html lang="en" suppressHydrationWarning>
|
<html lang="en" suppressHydrationWarning>
|
||||||
<ServiceWrapper>
|
<ServiceWrapper>
|
||||||
<body className={`${openSans.variable} antialiased`}>
|
<body className={`${openSans.variable} antialiased`}>
|
||||||
<Tag />
|
|
||||||
{children}
|
{children}
|
||||||
<script
|
<script
|
||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
|
|||||||
152
src/app/page.tsx
152
src/app/page.tsx
@@ -29,13 +29,21 @@ export default function LandingPage() {
|
|||||||
<NavbarLayoutFloatingOverlay
|
<NavbarLayoutFloatingOverlay
|
||||||
navItems={[
|
navItems={[
|
||||||
{
|
{
|
||||||
name: "Home", id: "hero"},
|
name: "Home",
|
||||||
|
id: "hero",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "Features", id: "features"},
|
name: "Features",
|
||||||
|
id: "features",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "Menu", id: "menu"},
|
name: "Menu",
|
||||||
|
id: "menu",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "Contact", id: "contact"},
|
name: "Contact",
|
||||||
|
id: "contact",
|
||||||
|
},
|
||||||
]}
|
]}
|
||||||
brandName="Beluna Cafe"
|
brandName="Beluna Cafe"
|
||||||
/>
|
/>
|
||||||
@@ -44,24 +52,37 @@ export default function LandingPage() {
|
|||||||
<div id="hero" data-section="hero">
|
<div id="hero" data-section="hero">
|
||||||
<HeroBillboardGallery
|
<HeroBillboardGallery
|
||||||
background={{
|
background={{
|
||||||
variant: "radial-gradient"}}
|
variant: "radial-gradient",
|
||||||
|
}}
|
||||||
title="Beluna Cafe"
|
title="Beluna Cafe"
|
||||||
description="A cozy San Francisco escape for coffee, creativity, and connection."
|
description="A cozy San Francisco escape for coffee, creativity, and connection."
|
||||||
buttons={[
|
buttons={[
|
||||||
{
|
{
|
||||||
text: "View Menu", href: "#menu"},
|
text: "View Menu",
|
||||||
|
href: "#menu",
|
||||||
|
},
|
||||||
]}
|
]}
|
||||||
mediaItems={[
|
mediaItems={[
|
||||||
{
|
{
|
||||||
imageSrc: "http://img.b2bpic.net/free-photo/loving-couple-sitting-cafe-talking-while-make-selfie_171337-19675.jpg", imageAlt: "Cafe interior view"},
|
imageSrc: "http://img.b2bpic.net/free-photo/loving-couple-sitting-cafe-talking-while-make-selfie_171337-19675.jpg",
|
||||||
|
imageAlt: "Cafe interior view",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
imageSrc: "http://img.b2bpic.net/free-photo/female-manager-standing-her-restaurant-using-computer_23-2147936244.jpg", imageAlt: "Workspace atmosphere"},
|
imageSrc: "http://img.b2bpic.net/free-photo/female-manager-standing-her-restaurant-using-computer_23-2147936244.jpg",
|
||||||
|
imageAlt: "Workspace atmosphere",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-hands-preparing-drink-with-milk_23-2148865605.jpg", imageAlt: "Signature latte"},
|
imageSrc: "http://img.b2bpic.net/free-photo/close-up-hands-preparing-drink-with-milk_23-2148865605.jpg",
|
||||||
|
imageAlt: "Signature latte",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
imageSrc: "http://img.b2bpic.net/free-photo/cafe-living-room-loft-style_1150-10726.jpg", imageAlt: "Cozy cafe seating"},
|
imageSrc: "http://img.b2bpic.net/free-photo/cafe-living-room-loft-style_1150-10726.jpg",
|
||||||
|
imageAlt: "Cozy cafe seating",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
imageSrc: "http://img.b2bpic.net/free-photo/street-market-night_23-2151604349.jpg?_wi=1", imageAlt: "Cafe facade"},
|
imageSrc: "http://img.b2bpic.net/free-photo/street-market-night_23-2151604349.jpg?_wi=1",
|
||||||
|
imageAlt: "Cafe facade",
|
||||||
|
},
|
||||||
]}
|
]}
|
||||||
mediaAnimation="blur-reveal"
|
mediaAnimation="blur-reveal"
|
||||||
/>
|
/>
|
||||||
@@ -74,11 +95,26 @@ export default function LandingPage() {
|
|||||||
useInvertedBackground={true}
|
useInvertedBackground={true}
|
||||||
features={[
|
features={[
|
||||||
{
|
{
|
||||||
id: "f1", title: "Work-Friendly", subtitle: "High-speed Wi-Fi, outlets at every seat, and quiet zones.", category: "Amenities", value: "Ideal"},
|
id: "f1",
|
||||||
|
title: "Work-Friendly",
|
||||||
|
subtitle: "High-speed Wi-Fi, outlets at every seat, and quiet zones.",
|
||||||
|
category: "Amenities",
|
||||||
|
value: "Ideal",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
id: "f2", title: "Signature Drinks", subtitle: "Crafted with locally roasted beans and authentic spices.", category: "Menu", value: "Awarded"},
|
id: "f2",
|
||||||
|
title: "Signature Drinks",
|
||||||
|
subtitle: "Crafted with locally roasted beans and authentic spices.",
|
||||||
|
category: "Menu",
|
||||||
|
value: "Awarded",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
id: "f3", title: "Cozy Atmosphere", subtitle: "Two floors of warm, inviting space for focus or friends.", category: "Vibe", value: "Unique"},
|
id: "f3",
|
||||||
|
title: "Cozy Atmosphere",
|
||||||
|
subtitle: "Two floors of warm, inviting space for focus or friends.",
|
||||||
|
category: "Vibe",
|
||||||
|
value: "Unique",
|
||||||
|
},
|
||||||
]}
|
]}
|
||||||
title="Why Visit Us"
|
title="Why Visit Us"
|
||||||
description="Discover the perfect blend of productivity and comfort at the heart of the city."
|
description="Discover the perfect blend of productivity and comfort at the heart of the city."
|
||||||
@@ -93,17 +129,41 @@ export default function LandingPage() {
|
|||||||
useInvertedBackground={false}
|
useInvertedBackground={false}
|
||||||
products={[
|
products={[
|
||||||
{
|
{
|
||||||
id: "p1", name: "Chai Latte", price: "$5.50", imageSrc: "http://img.b2bpic.net/free-photo/coffee-with-caramel-cinnamon_140725-9491.jpg"},
|
id: "p1",
|
||||||
|
name: "Iced Latte",
|
||||||
|
price: "$5.95",
|
||||||
|
imageSrc: "http://img.b2bpic.net/free-photo/coffee-with-caramel-cinnamon_140725-9491.jpg",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
id: "p2", name: "Butter And Jam Bagel", price: "$4.95", imageSrc: "http://img.b2bpic.net/free-photo/pretzel-coffee_23-2148574597.jpg"},
|
id: "p2",
|
||||||
|
name: "Butter And Jam Bagel",
|
||||||
|
price: "$3.95",
|
||||||
|
imageSrc: "http://img.b2bpic.net/free-photo/pretzel-coffee_23-2148574597.jpg",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
id: "p3", name: "Banana Bread", price: "$3.50", imageSrc: "http://img.b2bpic.net/free-photo/closeup-shot-slices-delicious-banana-bread-with-chocolate-chunks-walnut-plate_181624-22706.jpg"},
|
id: "p3",
|
||||||
|
name: "Banana Bread",
|
||||||
|
price: "$4.75",
|
||||||
|
imageSrc: "http://img.b2bpic.net/free-photo/closeup-shot-slices-delicious-banana-bread-with-chocolate-chunks-walnut-plate_181624-22706.jpg",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
id: "p4", name: "Cappuccino", price: "$4.50", imageSrc: "http://img.b2bpic.net/free-photo/latte-coffee_74190-7833.jpg"},
|
id: "p4",
|
||||||
|
name: "Cappuccino",
|
||||||
|
price: "$5.50",
|
||||||
|
imageSrc: "http://img.b2bpic.net/free-photo/latte-coffee_74190-7833.jpg",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
id: "p5", name: "Iced Vanilla Latte", price: "$5.75", imageSrc: "http://img.b2bpic.net/free-photo/two-glasses-cold-coffee-with-milk-marble-surface_114579-90950.jpg"},
|
id: "p5",
|
||||||
|
name: "Hot Matcha Latte",
|
||||||
|
price: "$6.50",
|
||||||
|
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Bs4UjfAcOsU7tXKonPwPcWGzeD/tmp/hot-matcha-latte-1775409606261-c60ce451.png",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
id: "p6", name: "Fresh Croissant", price: "$3.75", imageSrc: "http://img.b2bpic.net/free-photo/fresh-croissant-decorated-with-drop-chocolate-black-board_114579-88306.jpg"},
|
id: "p6",
|
||||||
|
name: "Chocolate Croissant",
|
||||||
|
price: "$4.80",
|
||||||
|
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Bs4UjfAcOsU7tXKonPwPcWGzeD/tmp/chocolate-croissant-1775409669881-9ff5e049.png",
|
||||||
|
},
|
||||||
]}
|
]}
|
||||||
title="Cafe Favorites"
|
title="Cafe Favorites"
|
||||||
description="Handcrafted daily with love and the finest ingredients."
|
description="Handcrafted daily with love and the finest ingredients."
|
||||||
@@ -118,15 +178,25 @@ export default function LandingPage() {
|
|||||||
author="Sarah J."
|
author="Sarah J."
|
||||||
avatars={[
|
avatars={[
|
||||||
{
|
{
|
||||||
src: "http://img.b2bpic.net/free-photo/medium-shot-smiley-woman-with-kebab_23-2148773545.jpg", alt: "Customer"},
|
src: "http://img.b2bpic.net/free-photo/medium-shot-smiley-woman-with-kebab_23-2148773545.jpg",
|
||||||
|
alt: "Customer",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
src: "http://img.b2bpic.net/free-photo/portrait-handsome-smiling-young-man-sitting-coffee-shop-using-digital-tablet-video-chats-with_1258-245379.jpg", alt: "Customer"},
|
src: "http://img.b2bpic.net/free-photo/portrait-handsome-smiling-young-man-sitting-coffee-shop-using-digital-tablet-video-chats-with_1258-245379.jpg",
|
||||||
|
alt: "Customer",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
src: "http://img.b2bpic.net/free-photo/happy-beautiful-young-woman-standing-posing-co-working-coffee-shop-interior-looking-camera-smiling_74855-9955.jpg", alt: "Customer"},
|
src: "http://img.b2bpic.net/free-photo/happy-beautiful-young-woman-standing-posing-co-working-coffee-shop-interior-looking-camera-smiling_74855-9955.jpg",
|
||||||
|
alt: "Customer",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
src: "http://img.b2bpic.net/free-photo/vertical-shot-smiling-asian-barista-girl-working-cafe-giving-order-client-made-batch-brew-f_1258-148474.jpg", alt: "Customer"},
|
src: "http://img.b2bpic.net/free-photo/vertical-shot-smiling-asian-barista-girl-working-cafe-giving-order-client-made-batch-brew-f_1258-148474.jpg",
|
||||||
|
alt: "Customer",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
src: "http://img.b2bpic.net/free-photo/laugh-is-way-happiness_329181-2893.jpg", alt: "Customer"},
|
src: "http://img.b2bpic.net/free-photo/laugh-is-way-happiness_329181-2893.jpg",
|
||||||
|
alt: "Customer",
|
||||||
|
},
|
||||||
]}
|
]}
|
||||||
ratingAnimation="slide-up"
|
ratingAnimation="slide-up"
|
||||||
avatarsAnimation="blur-reveal"
|
avatarsAnimation="blur-reveal"
|
||||||
@@ -140,14 +210,22 @@ export default function LandingPage() {
|
|||||||
description="Find us at 1195 Oak St, San Francisco, CA. Drop us a note if you're planning a large group booking."
|
description="Find us at 1195 Oak St, San Francisco, CA. Drop us a note if you're planning a large group booking."
|
||||||
inputs={[
|
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,
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
textarea={{
|
textarea={{
|
||||||
name: "message", placeholder: "Your Message", rows: 4,
|
name: "message",
|
||||||
|
placeholder: "Your Message",
|
||||||
|
rows: 4,
|
||||||
required: true,
|
required: true,
|
||||||
}}
|
}}
|
||||||
imageSrc="http://img.b2bpic.net/free-photo/street-market-night_23-2151604349.jpg?_wi=2"
|
imageSrc="http://img.b2bpic.net/free-photo/street-market-night_23-2151604349.jpg?_wi=2"
|
||||||
@@ -159,17 +237,25 @@ export default function LandingPage() {
|
|||||||
<FooterBase
|
<FooterBase
|
||||||
columns={[
|
columns={[
|
||||||
{
|
{
|
||||||
title: "Location", items: [
|
title: "Location",
|
||||||
|
items: [
|
||||||
{
|
{
|
||||||
label: "1195 Oak St, San Francisco", href: "#"},
|
label: "1195 Oak St, San Francisco",
|
||||||
|
href: "#",
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Links", items: [
|
title: "Links",
|
||||||
|
items: [
|
||||||
{
|
{
|
||||||
label: "Menu", href: "#menu"},
|
label: "Menu",
|
||||||
|
href: "#menu",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: "Contact", href: "#contact"},
|
label: "Contact",
|
||||||
|
href: "#contact",
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
|
|||||||
Reference in New Issue
Block a user