Bob AI: Populate src/pages/AlShamsRestaurantPage.tsx (snippet builder, 3 sections)
This commit is contained in:
@@ -1,88 +1,24 @@
|
||||
import React from "react";
|
||||
import { routes } from "@/routes";
|
||||
import NavbarCentered from "@/components/ui/NavbarCentered";
|
||||
import HeroBillboard from "@/components/sections/hero/HeroBillboard";
|
||||
import ProductMediaCards from "@/components/sections/product/ProductMediaCards";
|
||||
import FeaturesMediaGrid from "@/components/sections/features/FeaturesMediaGrid";
|
||||
import ContactCta from "@/components/sections/contact/ContactCta";
|
||||
import FooterBasic from "@/components/sections/footer/FooterBasic";
|
||||
import { ArrowUpRight, Loader2 } from "lucide-react";
|
||||
import Button from "@/components/ui/Button";
|
||||
import TextAnimation from "@/components/ui/TextAnimation";
|
||||
import ImageOrVideo from "@/components/ui/ImageOrVideo";
|
||||
import GridOrCarousel from "@/components/ui/GridOrCarousel";
|
||||
import ScrollReveal from "@/components/ui/ScrollReveal";
|
||||
import useProducts from "@/hooks/useProducts";
|
||||
import { cls } from "@/lib/utils";
|
||||
|
||||
export default function AlShamsRestaurantPage() {
|
||||
return (
|
||||
<div className="min-h-screen bg-background text-foreground flex flex-col pb-16 md:pb-0">
|
||||
<NavbarCentered
|
||||
logo="Al Shams"
|
||||
navItems={routes.map((r) => ({ name: r.label, href: r.path }))}
|
||||
ctaButton={{ text: "Book Table", href: "#reservations" }}
|
||||
/>
|
||||
|
||||
<main className="flex-1">
|
||||
<HeroBillboard
|
||||
tag="Authentic Cuisine"
|
||||
title="Welcome to Al Shams"
|
||||
description="Experience the finest flavors of the Middle East in a warm, inviting atmosphere."
|
||||
primaryButton={{ text: "View Menu", href: "#menu" }}
|
||||
secondaryButton={{ text: "Book a Table", href: "#reservations" }}
|
||||
imageSrc="https://images.unsplash.com/photo-1555396273-367ea4eb4db5?auto=format&fit=crop&q=80"
|
||||
/>
|
||||
|
||||
<div id="menu">
|
||||
<ProductMediaCards
|
||||
tag="Our Menu"
|
||||
title="Signature Dishes"
|
||||
description="Savor our carefully crafted recipes passed down through generations."
|
||||
products={[
|
||||
{ name: "Mixed Grill Platter", price: "$28", imageSrc: "https://images.unsplash.com/photo-1544025162-d76694265947?auto=format&fit=crop&q=80" },
|
||||
{ name: "Classic Hummus", price: "$12", imageSrc: "https://images.unsplash.com/photo-1633436374961-09b92742047b?auto=format&fit=crop&q=80" },
|
||||
{ name: "Lamb Shawarma", price: "$22", imageSrc: "https://images.unsplash.com/photo-1645696301019-35adcc18fc21?auto=format&fit=crop&q=80" }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<FeaturesMediaGrid
|
||||
tag="Gallery"
|
||||
title="A Glimpse Inside"
|
||||
description="Discover our beautiful dining space and culinary creations."
|
||||
items={[
|
||||
{ title: "Dining Area", description: "Cozy and elegant.", imageSrc: "https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&q=80" },
|
||||
{ title: "Fresh Ingredients", description: "Locally sourced.", imageSrc: "https://images.unsplash.com/photo-1596450514735-111a2fe02935?auto=format&fit=crop&q=80" },
|
||||
{ title: "Private Events", description: "Book our special room.", imageSrc: "https://images.unsplash.com/photo-1559339352-11d035aa65de?auto=format&fit=crop&q=80" }
|
||||
]}
|
||||
/>
|
||||
|
||||
<div id="reservations">
|
||||
<ContactCta
|
||||
tag="Reservations"
|
||||
text="Ready to dine with us? Reserve your table today."
|
||||
primaryButton={{ text: "Book Now", href: "/reservations" }}
|
||||
secondaryButton={{ text: "Call Us", href: "tel:+1234567890" }}
|
||||
/>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<FooterBasic
|
||||
columns={[
|
||||
{ title: "Location", items: [{ label: "123 Main St, City", href: "#" }] },
|
||||
{ title: "Hours", items: [{ label: "Mon-Sun: 11am - 10pm", href: "#" }] }
|
||||
]}
|
||||
leftText="© 2024 Al Shams Restaurant."
|
||||
rightText="All rights reserved."
|
||||
/>
|
||||
|
||||
<div className="md:hidden fixed bottom-0 left-0 right-0 bg-card border-t border-border p-2 flex justify-around items-center z-50 shadow-[0_-4px_10px_rgba(0,0,0,0.1)]">
|
||||
<a href="tel:+1234567890" className="flex flex-col items-center text-muted-foreground hover:text-primary-cta text-xs font-medium transition-colors">
|
||||
<span className="text-lg mb-1">📞</span>
|
||||
Call
|
||||
</a>
|
||||
<a href="https://maps.google.com" target="_blank" rel="noreferrer" className="flex flex-col items-center text-muted-foreground hover:text-primary-cta text-xs font-medium transition-colors">
|
||||
<span className="text-lg mb-1">📍</span>
|
||||
Directions
|
||||
</a>
|
||||
<a href="#menu" className="flex flex-col items-center text-muted-foreground hover:text-primary-cta text-xs font-medium transition-colors">
|
||||
<span className="text-lg mb-1">🍽️</span>
|
||||
Menu
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<>
|
||||
<div data-webild-section="ProductMediaCards"><section aria-label="Products section" className="py-20"><div className="w-content-width mx-auto flex justify-center"><Loader2 className="size-8 animate-spin text-foreground" strokeWidth={1.5} /></div></section></div>
|
||||
<div data-webild-section="FeaturesImageBento"><section aria-label="Features image bento section" className="py-20"><div className="flex flex-col gap-8 md:gap-10"><div className="flex flex-col items-center w-content-width mx-auto gap-2"><div className="px-3 py-1 mb-1 text-sm card rounded w-fit"><p>Modern Dining</p></div><TextAnimation text="Experience Al Shams Restaurant" variant="slide-up" gradientText={true} tag="h2" className="md:max-w-8/10 text-6xl 2xl:text-7xl leading-[1.15] font-semibold text-center text-balance" /><TextAnimation text="A seamless blend of exquisite culinary artistry and cutting-edge digital convenience. Explore our menu, book a table, and immerse yourself in elegance." variant="slide-up" gradientText={false} tag="p" className="md:max-w-7/10 text-lg md:text-xl leading-snug text-center text-balance" /><div className="flex flex-wrap justify-center gap-3 mt-2 md:mt-3"><Button text="View Menu" href="#menu" variant="primary" /><Button text="Book a Table" href="#reservations" variant="secondary" animationDelay={0.1} /></div></div><div className="w-content-width mx-auto grid grid-cols-1 md:grid-cols-6 gap-3"><ScrollReveal key={0} variant="slide-up" delay={0} className="col-span-1 group md:col-span-2"><div className="overflow-hidden rounded"></div></ScrollReveal>
|
||||
<ScrollReveal key={1} variant="slide-up" delay={0.1} className="col-span-1 group md:col-span-4"><div className="overflow-hidden rounded"></div></ScrollReveal>
|
||||
<ScrollReveal key={2} variant="slide-up" delay={0} className="col-span-1 group md:col-span-3"><div className="overflow-hidden rounded"></div></ScrollReveal>
|
||||
<ScrollReveal key={3} variant="slide-up" delay={0.1} className="col-span-1 group md:col-span-3"><div className="overflow-hidden rounded"></div></ScrollReveal>
|
||||
<ScrollReveal key={4} variant="slide-up" delay={0} className="col-span-1 group md:col-span-2"><div className="overflow-hidden rounded"></div></ScrollReveal>
|
||||
<ScrollReveal key={5} variant="slide-up" delay={0.1} className="col-span-1 group md:col-span-2"><div className="overflow-hidden rounded"></div></ScrollReveal>
|
||||
<ScrollReveal key={6} variant="slide-up" delay={0.2} className="col-span-1 group md:col-span-2"><div className="overflow-hidden rounded"></div></ScrollReveal></div></div></section></div>
|
||||
<div data-webild-section="ContactCta"><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>Book a Table</p></div><TextAnimation text="Experience the finest culinary delights at Al Shams Restaurant. Reserve your table today." 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" /><div className="flex flex-wrap justify-center gap-3 mt-2 md:mt-3"><Button text="Reserve Now" href="#reservations" variant="primary" /><Button text="View Menu" href="#menu" variant="secondary" animationDelay={0.1} /></div></div></div></ScrollReveal></div></section></div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user