diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 4292519..213e9b8 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -73,15 +73,24 @@ export default function Layout() { title: "Hours", items: [ { - label: "Mon-Fri: 7am-9pm", + label: "Daily: 6:00 AM - 12:00 AM", href: "#", }, { - label: "Sat-Sun: 8am-10pm", + label: "يومياً: من 6 صباحاً حتى 12 منتصف الليل", href: "#", }, ], }, + { + title: "Location", + items: [ + { + label: "Sana'a, Yemen", + href: "#", + } + ] + }, ]} copyright="© 2024 Lithos Specialty Coffee. All rights reserved." links={[ diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 91fc806..c07d0a6 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -11,9 +11,10 @@ import GallerySection from './HomePage/sections/Gallery'; import TestimonialsSection from './HomePage/sections/Testimonials'; import MetricsSection from './HomePage/sections/Metrics'; import FaqSection from './HomePage/sections/Faq'; -import ContactSection from './HomePage/sections/Contact'; -export default function HomePage(): React.JSX.Element { + +import ContactSection from './HomePage/sections/Contact'; +import BookingSection from './HomePage/sections/Booking';export default function HomePage(): React.JSX.Element { return ( <> @@ -30,7 +31,8 @@ export default function HomePage(): React.JSX.Element { - + + ); } diff --git a/src/pages/HomePage/sections/Booking.tsx b/src/pages/HomePage/sections/Booking.tsx new file mode 100644 index 0000000..1906abe --- /dev/null +++ b/src/pages/HomePage/sections/Booking.tsx @@ -0,0 +1,205 @@ +import React, { useState } from 'react'; +import { MapPin, Phone, MessageCircle } from 'lucide-react'; + +export default function BookingSection() { + const [orderName, setOrderName] = useState(''); + const [orderDrink, setOrderDrink] = useState(''); + + const handleOrderSubmit = (e: React.FormEvent) => { + e.preventDefault(); + alert(`Order placed for ${orderName}: ${orderDrink}`); + }; + + const handleBookingSubmit = (e: React.FormEvent) => { + e.preventDefault(); + alert('Table booked successfully!'); + }; + + return ( +
+
+
+
+

Visit & Order

+

+ Find us in Sana'a, order your favorite drinks ahead of time, or book a quiet table for your next meeting. +

+
+ +
+ {/* Contact Info & Map */} +
+
+

Contact Us

+
+
+ +
+

Location

+

Sana'a, Yemen

+
+
+
+ + +
+
+
+ + + +
+ +
+
+ + {/* Order Ahead Form */} +
+

Order Ahead

+

Skip the line and pick up your favorites.

+ +
+
+ + setOrderName(e.target.value)} + required + className="w-full h-10 px-3 py-2 rounded-md border border-foreground/20 bg-background text-foreground focus:outline-none focus:border-foreground/50" + /> +
+ +
+ + +
+ +
+ +