62 lines
2.7 KiB
TypeScript
62 lines
2.7 KiB
TypeScript
/* eslint-disable */
|
|
// @ts-nocheck — generated by catalog-eject; runtime-correct but TS strict-mode false-positives on inlined catalog body
|
|
import ScrollReveal from "@/components/ui/ScrollReveal";
|
|
import TextAnimation from "@/components/ui/TextAnimation";
|
|
import Button from "@/components/ui/Button";
|
|
import Input from "@/components/ui/Input";
|
|
import Textarea from "@/components/ui/Textarea";
|
|
|
|
const ContactInline = () => {
|
|
return (
|
|
<section aria-label="Contact section" className="py-20">
|
|
<div className="w-content-width mx-auto">
|
|
<ScrollReveal variant="slide-up">
|
|
<div className="flex flex-col items-center gap-8 md:gap-10 py-20 px-8 rounded card">
|
|
<div className="flex flex-col items-center gap-2">
|
|
<div className="px-3 py-1 mb-1 text-sm card rounded w-fit">
|
|
<p>{"Reservations"}</p>
|
|
</div>
|
|
|
|
<TextAnimation
|
|
text={"Book a Table"}
|
|
variant="fade-blur"
|
|
gradientText={true}
|
|
tag="h2"
|
|
className="md:max-w-8/10 text-5xl 2xl:text-6xl leading-[1.15] font-semibold text-center text-balance"
|
|
/>
|
|
|
|
<p className="text-lg text-muted-foreground text-center mt-4 max-w-2xl">
|
|
Reserve your spot to savor the authentic taste of Vietnam right here in Santa Barbara. We can't wait to welcome you!
|
|
</p>
|
|
|
|
<form className="flex flex-col gap-4 mt-8 w-full max-w-2xl" onSubmit={(e) => e.preventDefault()}>
|
|
<div className="grid grid-cols-1 sm:grid-cols-2 gap-4">
|
|
<Input type="text" placeholder="Full Name" required className="w-full" />
|
|
<Input type="email" placeholder="Email Address" required className="w-full" />
|
|
</div>
|
|
<div className="grid grid-cols-1 sm:grid-cols-2 gap-4">
|
|
<Input type="number" placeholder="Number of Guests" required min={1} className="w-full" />
|
|
<Input type="datetime-local" placeholder="Date & Time" required className="w-full" />
|
|
</div>
|
|
<Textarea placeholder="Special Requests (Optional)" rows={3} className="w-full" />
|
|
<div className="flex justify-center mt-4 gap-4">
|
|
<Button text="Request Reservation" variant="primary" />
|
|
<Button text="Call Restaurant" variant="secondary" href="tel:+1234567890" />
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</ScrollReveal>
|
|
</div>
|
|
</section>
|
|
);
|
|
};
|
|
|
|
export default function ContactSection() {
|
|
return (
|
|
<div data-webild-section="contact" id="contact">
|
|
<ContactInline />
|
|
</div>
|
|
);
|
|
}
|