Bob AI: Add al-shams-restaurant page
This commit is contained in:
@@ -3,12 +3,14 @@ import Layout from './components/Layout';
|
||||
import HomePage from './pages/HomePage';
|
||||
|
||||
import MenuPage from "@/pages/MenuPage";
|
||||
import AlShamsRestaurantPage from "@/pages/AlShamsRestaurantPage";
|
||||
export default function App() {
|
||||
return (
|
||||
<Routes>
|
||||
<Route element={<Layout />}>
|
||||
<Route path="/" element={<HomePage />} />
|
||||
<Route path="/menu" element={<MenuPage />} />
|
||||
<Route path="/al-shams-restaurant" element={<AlShamsRestaurantPage />} />
|
||||
</Route>
|
||||
</Routes>
|
||||
);
|
||||
|
||||
@@ -28,6 +28,8 @@ export default function Layout() {
|
||||
"href": "#contact"
|
||||
},
|
||||
{ name: "Menu", href: "/menu" },
|
||||
{ name: "Al Shams Restaurant", href: "/al-shams-restaurant" },
|
||||
|
||||
|
||||
];
|
||||
|
||||
|
||||
88
src/pages/AlShamsRestaurantPage.tsx
Normal file
88
src/pages/AlShamsRestaurantPage.tsx
Normal file
@@ -0,0 +1,88 @@
|
||||
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";
|
||||
|
||||
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>
|
||||
);
|
||||
}
|
||||
@@ -7,4 +7,5 @@ export interface Route {
|
||||
export const routes: Route[] = [
|
||||
{ path: '/', label: 'Home', pageFile: 'HomePage' },
|
||||
{ path: '/menu', label: 'Menu', pageFile: 'MenuPage' },
|
||||
{ path: '/al-shams-restaurant', label: 'Al Shams Restaurant', pageFile: 'AlShamsRestaurantPage' },
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user