Merge version_3 into main #2
59
src/app/location/page.tsx
Normal file
59
src/app/location/page.tsx
Normal file
@@ -0,0 +1,59 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
|
||||
import ContactCenter from '@/components/sections/contact/ContactCenter';
|
||||
import FooterMedia from '@/components/sections/footer/FooterMedia';
|
||||
|
||||
export default function LocationPage() {
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="expand-hover"
|
||||
defaultTextAnimation="entrance-slide"
|
||||
borderRadius="soft"
|
||||
contentWidth="compact"
|
||||
sizing="mediumSizeLargeTitles"
|
||||
background="none"
|
||||
cardStyle="layered-gradient"
|
||||
primaryButtonStyle="radial-glow"
|
||||
secondaryButtonStyle="layered"
|
||||
headingFontWeight="light"
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleFullscreen
|
||||
navItems={[
|
||||
{ name: "Menu", id: "/#menu" },
|
||||
{ name: "Story", id: "/#story" },
|
||||
{ name: "Location", id: "/location" },
|
||||
]}
|
||||
brandName="Chouchou Crepes"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="location-content" data-section="location-content" style={{ paddingTop: "10rem", paddingBottom: "10rem" }}>
|
||||
<ContactCenter
|
||||
tag="Visit Us"
|
||||
title="Our Gastown Home"
|
||||
description="73 Water St, Vancouver. Open 10am-4pm daily in the heart of Gastown. Come experience authentic French crepes in a historic setting."
|
||||
background={{ variant: "plain" }}
|
||||
useInvertedBackground={false}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterMedia
|
||||
imageSrc="http://img.b2bpic.net/free-photo/hookah-sparksfrom-grapefruit-hookah-bowl_141793-3261.jpg"
|
||||
logoText="Chouchou"
|
||||
columns={[
|
||||
{ title: "Menu", items: [{ label: "Sweet", href: "/#menu" }, { label: "Savory", href: "/#menu" }] },
|
||||
{ title: "Info", items: [{ label: "About", href: "/#story" }, { label: "Location", href: "/location" }] },
|
||||
{ title: "Events", items: [{ label: "Catering", href: "/#cta" }, { label: "Bookings", href: "/#cta" }] },
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
@@ -35,7 +35,7 @@ export default function LandingPage() {
|
||||
{
|
||||
name: "Story", id: "#story"},
|
||||
{
|
||||
name: "Find Us", id: "#location"},
|
||||
name: "Location", id: "/location"},
|
||||
]}
|
||||
brandName="Chouchou Crepes"
|
||||
/>
|
||||
@@ -75,7 +75,7 @@ export default function LandingPage() {
|
||||
{
|
||||
text: "View Our Menu", href: "#menu"},
|
||||
{
|
||||
text: "Find Us", href: "#location"},
|
||||
text: "Find Us", href: "/location"},
|
||||
]}
|
||||
avatars={[
|
||||
{
|
||||
@@ -204,17 +204,6 @@ export default function LandingPage() {
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="location" data-section="location">
|
||||
<ContactCenter
|
||||
useInvertedBackground={false}
|
||||
background={{
|
||||
variant: "plain"}}
|
||||
tag="Visit Us"
|
||||
title="Find Chouchou"
|
||||
description="73 Water St, Vancouver. Open 10am-4pm daily in the heart of Gastown."
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="cta" data-section="cta">
|
||||
<ContactCenter
|
||||
useInvertedBackground={false}
|
||||
@@ -245,7 +234,7 @@ export default function LandingPage() {
|
||||
{
|
||||
label: "About", href: "#story"},
|
||||
{
|
||||
label: "Location", href: "#location"},
|
||||
label: "Location", href: "/location"},
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -262,4 +251,4 @@ export default function LandingPage() {
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user