From f6dcf9a99cc380968217772f1a1d977990f18f7f Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Fri, 19 Jun 2026 13:04:50 +0000 Subject: [PATCH 1/2] Bob AI: Add room-reservation page --- src/App.tsx | 2 + src/components/Layout.tsx | 4 +- src/pages/RoomReservationPage.tsx | 111 ++++++++++++++++++++++++++++++ src/routes.ts | 1 + 4 files changed, 117 insertions(+), 1 deletion(-) create mode 100644 src/pages/RoomReservationPage.tsx diff --git a/src/App.tsx b/src/App.tsx index 33d15f9..ec6fe35 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -2,11 +2,13 @@ import { Routes, Route } from 'react-router-dom'; import Layout from './components/Layout'; import HomePage from './pages/HomePage'; +import RoomReservationPage from "@/pages/RoomReservationPage"; export default function App() { return ( }> } /> + } /> ); diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 3f5cfb7..4dc5b21 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -34,7 +34,9 @@ export default function Layout() { { "name": "Contact", "href": "#contact" - } + }, + { name: "Room Reservation", href: "/room-reservation" }, + ]; return ( diff --git a/src/pages/RoomReservationPage.tsx b/src/pages/RoomReservationPage.tsx new file mode 100644 index 0000000..65b835e --- /dev/null +++ b/src/pages/RoomReservationPage.tsx @@ -0,0 +1,111 @@ +import React from "react"; +import { routes } from "@/routes"; +import NavbarCentered from "@/components/ui/NavbarCentered"; +import HeroBillboard from "@/components/sections/hero/HeroBillboard"; +import FeaturesDetailedSteps from "@/components/sections/features/FeaturesDetailedSteps"; +import ProductMediaCards from "@/components/sections/product/ProductMediaCards"; +import FooterSimple from "@/components/sections/footer/FooterSimple"; + +export default function RoomReservationPage() { + return ( +
+ ({ name: r.label, href: r.path }))} + ctaButton={{ text: "Book Now", href: "/room-reservation" }} + /> + +
+ + + + +
+ console.log("Book Deluxe King") + }, + { + name: "Ocean View Suite", + price: "$450 / night", + imageSrc: "https://images.unsplash.com/photo-1582719478250-c89cae4dc85b?auto=format&fit=crop&q=80", + onClick: () => console.log("Book Ocean View") + }, + { + name: "Standard Double", + price: "$180 / night", + imageSrc: "https://images.unsplash.com/photo-1590490360182-c33d57733427?auto=format&fit=crop&q=80", + onClick: () => console.log("Book Standard Double") + } + ]} + /> +
+
+ + +
+ ); +} \ No newline at end of file diff --git a/src/routes.ts b/src/routes.ts index 362ecb5..4ed5653 100644 --- a/src/routes.ts +++ b/src/routes.ts @@ -6,4 +6,5 @@ export interface Route { export const routes: Route[] = [ { path: '/', label: 'Home', pageFile: 'HomePage' }, + { path: '/room-reservation', label: 'Room Reservation', pageFile: 'RoomReservationPage' }, ]; -- 2.49.1 From a874e1d5f74716e89d985fe1179c3d02554ef800 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Fri, 19 Jun 2026 13:05:28 +0000 Subject: [PATCH 2/2] Bob AI: Populate src/pages/RoomReservationPage.tsx (snippet builder, 3 sections) --- src/pages/RoomReservationPage.tsx | 141 +++++++----------------------- 1 file changed, 34 insertions(+), 107 deletions(-) diff --git a/src/pages/RoomReservationPage.tsx b/src/pages/RoomReservationPage.tsx index 65b835e..fbe5309 100644 --- a/src/pages/RoomReservationPage.tsx +++ b/src/pages/RoomReservationPage.tsx @@ -1,111 +1,38 @@ -import React from "react"; -import { routes } from "@/routes"; -import NavbarCentered from "@/components/ui/NavbarCentered"; -import HeroBillboard from "@/components/sections/hero/HeroBillboard"; -import FeaturesDetailedSteps from "@/components/sections/features/FeaturesDetailedSteps"; -import ProductMediaCards from "@/components/sections/product/ProductMediaCards"; -import FooterSimple from "@/components/sections/footer/FooterSimple"; +import Button from "@/components/ui/Button"; +import HeroBackgroundSlot from "@/components/ui/HeroBackgroundSlot"; +import TextAnimation from "@/components/ui/TextAnimation"; +import ImageOrVideo from "@/components/ui/ImageOrVideo"; +import AvatarGroup from "@/components/ui/AvatarGroup"; +import { Check } from "lucide-react"; +import GridOrCarousel from "@/components/ui/GridOrCarousel"; +import ScrollReveal from "@/components/ui/ScrollReveal"; +import ContactSplitForm from "@/components/sections/contact/ContactSplitForm"; export default function RoomReservationPage() { return ( -
- ({ name: r.label, href: r.path }))} - ctaButton={{ text: "Book Now", href: "/room-reservation" }} - /> - -
- - - - -
- console.log("Book Deluxe King") - }, - { - name: "Ocean View Suite", - price: "$450 / night", - imageSrc: "https://images.unsplash.com/photo-1582719478250-c89cae4dc85b?auto=format&fit=crop&q=80", - onClick: () => console.log("Book Ocean View") - }, - { - name: "Standard Double", - price: "$180 / night", - imageSrc: "https://images.unsplash.com/photo-1590490360182-c33d57733427?auto=format&fit=crop&q=80", - onClick: () => console.log("Book Standard Double") - } - ]} - /> -
-
- - -
+ <> +
+

Room Rates

Standard Room

6,000 DZD/ntA cozy and comfortable room perfect for solo travelers or short business trips.
1 Queen Bed
+
Free Wi-Fi
+
Air Conditioning
+
En-suite Bathroom
+

Deluxe Room

9,000 DZD/ntSpacious and elegantly furnished, ideal for couples or extended stays.
1 King Bed
+
City View
+
Mini-bar
+
Free Breakfast
+

Executive Suite

15,000 DZD/ntOur premium offering with a separate living area for ultimate comfort and luxury.
Separate Living Area
+
Premium Amenities
+
Room Service
+
Late Check-out
+
+ ); -} \ No newline at end of file +} -- 2.49.1