Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d8a074e99a | |||
| e3aeca1f59 | |||
| 2c2b025dd4 | |||
| 31489760dd |
@@ -4,7 +4,6 @@ import { Inter } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import "@/lib/gsap-setup";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
||||
import { Montserrat } from "next/font/google";
|
||||
|
||||
@@ -30,7 +29,7 @@ export default function RootLayout({
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body className={`${montserrat.variable} antialiased`}>
|
||||
<Tag />
|
||||
|
||||
{children}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
|
||||
227
src/app/page.tsx
227
src/app/page.tsx
@@ -32,21 +32,13 @@ export default function LandingPage() {
|
||||
<NavbarStyleApple
|
||||
navItems={[
|
||||
{
|
||||
name: "Home",
|
||||
id: "hero",
|
||||
},
|
||||
name: "Home", id: "hero"},
|
||||
{
|
||||
name: "Menu",
|
||||
id: "menu",
|
||||
},
|
||||
name: "Menu", id: "menu"},
|
||||
{
|
||||
name: "About",
|
||||
id: "about",
|
||||
},
|
||||
name: "About", id: "about"},
|
||||
{
|
||||
name: "Contact",
|
||||
id: "contact",
|
||||
},
|
||||
name: "Contact", id: "contact"},
|
||||
]}
|
||||
brandName="Hideaway"
|
||||
/>
|
||||
@@ -55,51 +47,36 @@ export default function LandingPage() {
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroBillboardRotatedCarousel
|
||||
background={{
|
||||
variant: "plain",
|
||||
}}
|
||||
variant: "plain"}}
|
||||
title="Southport’s Favorite Hidden Gem."
|
||||
description="From the best breakfast in town to intimate evening tapas—experience the cozy charm of Hideaway."
|
||||
buttons={[
|
||||
{
|
||||
text: "Book a Table",
|
||||
href: "#contact",
|
||||
text: "Book a Table", onClick: () => {
|
||||
const el = document.getElementById('contact');
|
||||
if (el) el.scrollIntoView({ behavior: 'smooth' });
|
||||
},
|
||||
},
|
||||
{
|
||||
text: "View the Menu",
|
||||
href: "#menu",
|
||||
text: "View the Menu", onClick: () => {
|
||||
const el = document.getElementById('menu');
|
||||
if (el) el.scrollIntoView({ behavior: 'smooth' });
|
||||
},
|
||||
},
|
||||
]}
|
||||
carouselItems={[
|
||||
{
|
||||
id: "1",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/english-cuisine-chives-brunch-salmon_1203-4139.jpg",
|
||||
imageAlt: "Coffee and breakfast",
|
||||
},
|
||||
id: "1", imageSrc: "http://img.b2bpic.net/free-photo/english-cuisine-chives-brunch-salmon_1203-4139.jpg", imageAlt: "Coffee and breakfast"},
|
||||
{
|
||||
id: "2",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/luxury-bar-illuminated-by-modern-lighting-equipment-generated-by-ai_188544-24181.jpg",
|
||||
imageAlt: "Interior vibe",
|
||||
},
|
||||
id: "2", imageSrc: "http://img.b2bpic.net/free-photo/luxury-bar-illuminated-by-modern-lighting-equipment-generated-by-ai_188544-24181.jpg", imageAlt: "Interior vibe"},
|
||||
{
|
||||
id: "3",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-african-american-young-woman-drinking-coffee_23-2147936204.jpg",
|
||||
imageAlt: "Tapas selection",
|
||||
},
|
||||
id: "3", imageSrc: "http://img.b2bpic.net/free-photo/close-up-african-american-young-woman-drinking-coffee_23-2147936204.jpg", imageAlt: "Tapas selection"},
|
||||
{
|
||||
id: "4",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-young-woman-sitting-modern-cafe_171337-17121.jpg",
|
||||
imageAlt: "Cocktails",
|
||||
},
|
||||
id: "4", imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-young-woman-sitting-modern-cafe_171337-17121.jpg", imageAlt: "Cocktails"},
|
||||
{
|
||||
id: "5",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beetroot-with-vegetable-salad_1203-9019.jpg",
|
||||
imageAlt: "Atmosphere",
|
||||
},
|
||||
id: "5", imageSrc: "http://img.b2bpic.net/free-photo/beetroot-with-vegetable-salad_1203-9019.jpg", imageAlt: "Atmosphere"},
|
||||
{
|
||||
id: "6",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/table-empty-white-seat-background_1203-4740.jpg",
|
||||
imageAlt: "Breakfast plate",
|
||||
},
|
||||
id: "6", imageSrc: "http://img.b2bpic.net/free-photo/table-empty-white-seat-background_1203-4740.jpg", imageAlt: "Breakfast plate"},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -109,10 +86,7 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
title="Your Escape From The Bustle"
|
||||
description={[
|
||||
"Located just steps off Lord Street, Hideaway is your escape from the bustle.",
|
||||
"Whether you’re looking for a 'Goldilocks' cup of coffee, a dog-friendly spot for the kids, or a sophisticated evening of bottomless brunch and cocktails, our door is open.",
|
||||
"We pride ourselves on service that feels like family and food that feels like a treat.",
|
||||
]}
|
||||
"Located just steps off Lord Street, Hideaway is your escape from the bustle.", "Whether you’re looking for a 'Goldilocks' cup of coffee, a dog-friendly spot for the kids, or a sophisticated evening of bottomless brunch and cocktails, our door is open.", "We pride ourselves on service that feels like family and food that feels like a treat."]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -124,26 +98,11 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
features={[
|
||||
{
|
||||
title: "The Ultimate Breakfast",
|
||||
description: "Fresh artisan bagels, smoked salmon, and expert coffee.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/english-breakfast-cooking-pan-with-fried-eggs-bacon-beans-grilled-tomatoes_1150-37813.jpg",
|
||||
titleImageSrc: "http://img.b2bpic.net/free-photo/tasty-breakfast-meal-composition_23-2148833950.jpg",
|
||||
buttonText: "See Menu",
|
||||
},
|
||||
title: "The Ultimate Breakfast", description: "Fresh artisan bagels, smoked salmon, and expert coffee.", imageSrc: "http://img.b2bpic.net/free-photo/english-breakfast-cooking-pan-with-fried-eggs-bacon-beans-grilled-tomatoes_1150-37813.jpg", titleImageSrc: "http://img.b2bpic.net/free-photo/tasty-breakfast-meal-composition_23-2148833950.jpg", buttonText: "See Menu"},
|
||||
{
|
||||
title: "Chic Bistro & Bar",
|
||||
description: "Tapas and cocktails in a sophisticated setting.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/vertical-selective-focus-shot-two-glasses-drink-with-blurry-lights-background_181624-36594.jpg",
|
||||
titleImageSrc: "http://img.b2bpic.net/free-photo/happy-new-year-2024-celebration_23-2151022282.jpg",
|
||||
buttonText: "See Menu",
|
||||
},
|
||||
title: "Chic Bistro & Bar", description: "Tapas and cocktails in a sophisticated setting.", imageSrc: "http://img.b2bpic.net/free-photo/vertical-selective-focus-shot-two-glasses-drink-with-blurry-lights-background_181624-36594.jpg", titleImageSrc: "http://img.b2bpic.net/free-photo/happy-new-year-2024-celebration_23-2151022282.jpg", buttonText: "See Menu"},
|
||||
{
|
||||
title: "Dog Friendly",
|
||||
description: "Bring your furry friends along for breakfast.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-arrangement-delicious-food_23-2148948971.jpg",
|
||||
titleImageSrc: "http://img.b2bpic.net/free-photo/healthy-food-composition-with-fried-egg_23-2147992873.jpg",
|
||||
buttonText: "Visit Us",
|
||||
},
|
||||
title: "Dog Friendly", description: "Bring your furry friends along for breakfast.", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-arrangement-delicious-food_23-2148948971.jpg", titleImageSrc: "http://img.b2bpic.net/free-photo/healthy-food-composition-with-fried-egg_23-2147992873.jpg", buttonText: "Visit Us"},
|
||||
]}
|
||||
title="The Chameleon Experience"
|
||||
description="Morning sanctuary or chic evening lounge?"
|
||||
@@ -155,30 +114,15 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
testimonials={[
|
||||
{
|
||||
id: "1",
|
||||
name: "Maxine D.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/indoor-shot-pleasant-looking-positive-woman-with-satisfied-expression-holds-disposable-cup-beverage_273609-18837.jpg",
|
||||
},
|
||||
id: "1", name: "Maxine D.", imageSrc: "http://img.b2bpic.net/free-photo/indoor-shot-pleasant-looking-positive-woman-with-satisfied-expression-holds-disposable-cup-beverage_273609-18837.jpg"},
|
||||
{
|
||||
id: "2",
|
||||
name: "Marie M.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/confident-man-enjoying-cup-coffee-while-having-work-break-lunch-modern-restaurant-young-intelligent-man-entrepreneur-relaxing-indoors-cafe-looking-pensive_639032-2873.jpg",
|
||||
},
|
||||
id: "2", name: "Marie M.", imageSrc: "http://img.b2bpic.net/free-photo/confident-man-enjoying-cup-coffee-while-having-work-break-lunch-modern-restaurant-young-intelligent-man-entrepreneur-relaxing-indoors-cafe-looking-pensive_639032-2873.jpg"},
|
||||
{
|
||||
id: "3",
|
||||
name: "John P.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/front-view-friends-enjoying-dinner-party_52683-132628.jpg",
|
||||
},
|
||||
id: "3", name: "John P.", imageSrc: "http://img.b2bpic.net/free-photo/front-view-friends-enjoying-dinner-party_52683-132628.jpg"},
|
||||
{
|
||||
id: "4",
|
||||
name: "Sarah T.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/stylish-smiling-beautiful-woman-retro-vintage-50s-cafe-sitting-bar-drinking-milk-shake-cocktail-pink-tshirt-balcj-leather-jacket-jeans-having-fun-cheerful-mood_285396-10732.jpg",
|
||||
},
|
||||
id: "4", name: "Sarah T.", imageSrc: "http://img.b2bpic.net/free-photo/stylish-smiling-beautiful-woman-retro-vintage-50s-cafe-sitting-bar-drinking-milk-shake-cocktail-pink-tshirt-balcj-leather-jacket-jeans-having-fun-cheerful-mood_285396-10732.jpg"},
|
||||
{
|
||||
id: "5",
|
||||
name: "David K.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/group-friends-having-lunch-together-restaurant_23-2150520106.jpg",
|
||||
},
|
||||
id: "5", name: "David K.", imageSrc: "http://img.b2bpic.net/free-photo/group-friends-having-lunch-together-restaurant_23-2150520106.jpg"},
|
||||
]}
|
||||
cardTitle="What Our Guests Say"
|
||||
cardTag="Social Proof"
|
||||
@@ -194,47 +138,17 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
products={[
|
||||
{
|
||||
id: "p1",
|
||||
name: "The Ultimate Hideaway",
|
||||
price: "£12",
|
||||
variant: "Breakfast",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/man-pouring-milk-coffee-latte-foam-decor_141793-17531.jpg",
|
||||
},
|
||||
id: "p1", name: "The Ultimate Hideaway", price: "£12", variant: "Breakfast", imageSrc: "http://img.b2bpic.net/free-photo/man-pouring-milk-coffee-latte-foam-decor_141793-17531.jpg"},
|
||||
{
|
||||
id: "p2",
|
||||
name: "Smoked Salmon Bagel",
|
||||
price: "£9",
|
||||
variant: "Breakfast",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/fresh-sandwiches-composition-wooden-background_23-2148617328.jpg",
|
||||
},
|
||||
id: "p2", name: "Smoked Salmon Bagel", price: "£9", variant: "Breakfast", imageSrc: "http://img.b2bpic.net/free-photo/fresh-sandwiches-composition-wooden-background_23-2148617328.jpg"},
|
||||
{
|
||||
id: "p3",
|
||||
name: "Halloumi Fries",
|
||||
price: "£5",
|
||||
variant: "After Dark",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/donut-bread-with-smoked-salmon-egg-benedict_1203-9394.jpg",
|
||||
},
|
||||
id: "p3", name: "Halloumi Fries", price: "£5", variant: "After Dark", imageSrc: "http://img.b2bpic.net/free-photo/donut-bread-with-smoked-salmon-egg-benedict_1203-9394.jpg"},
|
||||
{
|
||||
id: "p4",
|
||||
name: "Artisan Latte",
|
||||
price: "£3.5",
|
||||
variant: "Morning",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-salmon-olives-sandwich_23-2148640234.jpg",
|
||||
},
|
||||
id: "p4", name: "Artisan Latte", price: "£3.5", variant: "Morning", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-salmon-olives-sandwich_23-2148640234.jpg"},
|
||||
{
|
||||
id: "p5",
|
||||
name: "Eggs Hollandaise",
|
||||
price: "£10",
|
||||
variant: "Breakfast",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-hands-preparing-tasty-drink_23-2148865604.jpg",
|
||||
},
|
||||
id: "p5", name: "Eggs Hollandaise", price: "£10", variant: "Breakfast", imageSrc: "http://img.b2bpic.net/free-photo/close-up-hands-preparing-tasty-drink_23-2148865604.jpg"},
|
||||
{
|
||||
id: "p6",
|
||||
name: "Olives & Hummus",
|
||||
price: "£6",
|
||||
variant: "After Dark",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/mash-topped-with-sliced-tomato-cucumber-olives_140725-2796.jpg",
|
||||
},
|
||||
id: "p6", name: "Olives & Hummus", price: "£6", variant: "After Dark", imageSrc: "http://img.b2bpic.net/free-photo/mash-topped-with-sliced-tomato-cucumber-olives_140725-2796.jpg"},
|
||||
]}
|
||||
title="Taste Gallery"
|
||||
description="Our signature dishes and drinks."
|
||||
@@ -246,14 +160,7 @@ export default function LandingPage() {
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
names={[
|
||||
"Southport Food Guide",
|
||||
"The Daily Local",
|
||||
"Visit England",
|
||||
"Lord St News",
|
||||
"Cafe Weekly",
|
||||
"Bistro Trends",
|
||||
"Community Spot",
|
||||
]}
|
||||
"Southport Food Guide", "The Daily Local", "Visit England", "Lord St News", "Cafe Weekly", "Bistro Trends", "Community Spot"]}
|
||||
title="As Featured In"
|
||||
description="Local accolades and partnerships."
|
||||
/>
|
||||
@@ -265,20 +172,11 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
faqs={[
|
||||
{
|
||||
id: "q1",
|
||||
title: "Are you dog friendly?",
|
||||
content: "Yes, we are very dog friendly! Bring your furry companions along.",
|
||||
},
|
||||
id: "q1", title: "Are you dog friendly?", content: "Yes, we are very dog friendly! Bring your furry companions along."},
|
||||
{
|
||||
id: "q2",
|
||||
title: "Do you offer bottomless brunch?",
|
||||
content: "Yes, we offer a bottomless brunch experience on weekends.",
|
||||
},
|
||||
id: "q2", title: "Do you offer bottomless brunch?", content: "Yes, we offer a bottomless brunch experience on weekends."},
|
||||
{
|
||||
id: "q3",
|
||||
title: "Do you need a reservation?",
|
||||
content: "While we welcome walk-ins, reservations are recommended for peak times.",
|
||||
},
|
||||
id: "q3", title: "Do you need a reservation?", content: "While we welcome walk-ins, reservations are recommended for peak times."},
|
||||
]}
|
||||
title="Frequently Asked Questions"
|
||||
description="Everything you need to know about Hideaway."
|
||||
@@ -293,16 +191,10 @@ export default function LandingPage() {
|
||||
description="Reach out to reserve your spot at Hideaway."
|
||||
inputs={[
|
||||
{
|
||||
name: "name",
|
||||
type: "text",
|
||||
placeholder: "Your Name",
|
||||
required: true,
|
||||
name: "name", type: "text", placeholder: "Your Name", required: true,
|
||||
},
|
||||
{
|
||||
name: "email",
|
||||
type: "email",
|
||||
placeholder: "Email Address",
|
||||
required: true,
|
||||
name: "email", type: "email", placeholder: "Email Address", required: true,
|
||||
},
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/entrance-cozy-cafe-with-menu-by-door-restaurant-city-doorway_169016-71085.jpg"
|
||||
@@ -314,46 +206,29 @@ export default function LandingPage() {
|
||||
logoText="Hideaway Cafe"
|
||||
columns={[
|
||||
{
|
||||
title: "Navigate",
|
||||
items: [
|
||||
title: "Navigate", items: [
|
||||
{
|
||||
label: "Home",
|
||||
href: "#hero",
|
||||
},
|
||||
label: "Home", href: "#hero"},
|
||||
{
|
||||
label: "Menu",
|
||||
href: "#menu",
|
||||
},
|
||||
label: "Menu", href: "#menu"},
|
||||
{
|
||||
label: "About",
|
||||
href: "#about",
|
||||
},
|
||||
label: "About", href: "#about"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Legal",
|
||||
items: [
|
||||
title: "Legal", items: [
|
||||
{
|
||||
label: "Privacy Policy",
|
||||
href: "#",
|
||||
},
|
||||
label: "Privacy Policy", href: "#"},
|
||||
{
|
||||
label: "Terms of Service",
|
||||
href: "#",
|
||||
},
|
||||
label: "Terms of Service", href: "#"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Connect",
|
||||
items: [
|
||||
title: "Connect", items: [
|
||||
{
|
||||
label: "Instagram",
|
||||
href: "#",
|
||||
},
|
||||
label: "Instagram", href: "#"},
|
||||
{
|
||||
label: "Facebook",
|
||||
href: "#",
|
||||
},
|
||||
label: "Facebook", href: "#"},
|
||||
],
|
||||
},
|
||||
]}
|
||||
@@ -362,4 +237,4 @@ export default function LandingPage() {
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user