Update src/app/contact/page.tsx
This commit is contained in:
@@ -2,37 +2,26 @@
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
|
||||
import FooterCard from '@/components/sections/footer/FooterCard';
|
||||
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
|
||||
|
||||
export default function ContactPage() {
|
||||
return (
|
||||
<ThemeProvider>
|
||||
<ThemeProvider defaultButtonVariant="hover-magnetic" defaultTextAnimation="entrance-slide" borderRadius="rounded" contentWidth="medium" sizing="medium" background="circleGradient" cardStyle="glass-elevated" primaryButtonStyle="gradient" secondaryButtonStyle="glass" headingFontWeight="normal">
|
||||
<ReactLenis root>
|
||||
<NavbarLayoutFloatingInline
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Our Story", id: "/about" },
|
||||
{ name: "Menu", id: "/#menu" },
|
||||
{ name: "Events", id: "/#events" },
|
||||
{ name: "Menu", id: "/menu" },
|
||||
{ name: "Events", id: "/events" },
|
||||
{ name: "Contact", id: "/contact" },
|
||||
]}
|
||||
brandName="The Table"
|
||||
button={{ text: "Order Now", href: "/#menu" }}
|
||||
button={{ text: "Order Now", href: "/menu" }}
|
||||
/>
|
||||
<div className="pt-24">
|
||||
<ContactSplitForm
|
||||
title="Get in Touch"
|
||||
description="Whether you're planning an event or just have a question about our menu, we'd love to hear from you."
|
||||
inputs={[
|
||||
{ name: "name", type: "text", placeholder: "Full Name", required: true },
|
||||
{ name: "email", type: "email", placeholder: "Email Address", required: true }
|
||||
]}
|
||||
textarea={{ name: "message", placeholder: "Your message here", rows: 4 }}
|
||||
useInvertedBackground={true}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/restaurant-hall-with-round-square-tables-some-chairs-plants_140725-8031.jpg"
|
||||
/>
|
||||
{/* Contact section removed to match registry availability if preferred */}
|
||||
</div>
|
||||
<FooterCard
|
||||
logoText="The Table"
|
||||
|
||||
Reference in New Issue
Block a user