From 7b92b9c8a3313a93097b027dd667ac1deba9f114 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 6 Mar 2026 13:46:16 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 328 +++++++++++++++++++++++++---------------------- 1 file changed, 172 insertions(+), 156 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 54df6ce..a21ba3b 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -3,8 +3,6 @@ import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen"; import HeroLogo from "@/components/sections/hero/HeroLogo"; import InlineImageSplitTextAbout from "@/components/sections/about/InlineImageSplitTextAbout"; -import PricingCardNine from "@/components/sections/pricing/PricingCardNine"; -import FeatureCardEight from "@/components/sections/feature/FeatureCardEight"; import MetricCardSeven from "@/components/sections/metrics/MetricCardSeven"; import TestimonialCardThirteen from "@/components/sections/testimonial/TestimonialCardThirteen"; import FaqBase from "@/components/sections/faq/FaqBase"; @@ -12,12 +10,24 @@ import ContactText from "@/components/sections/contact/ContactText"; import FooterCard from "@/components/sections/footer/FooterCard"; import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import Link from "next/link"; -import { Facebook, Twitter, Instagram, Tag as TagIcon, Sparkles, Award } from "lucide-react"; +import { Facebook, Twitter, Instagram, Tag as TagIcon, Sparkles, Award, MapPin, Wifi, UtensilsCrossed } from "lucide-react"; +import { useState } from "react"; export default function HomePage() { + const [selectedHotel, setSelectedHotel] = useState(null); + + const hotels = [ + { + id: "park-continental", name: "Park Continental", location: "Masab Tank, Hyderabad", rating: "3.4/5", reviews: "787+", price: "₹2,248", image: "http://img.b2bpic.net/free-photo/woman-sauna-sunlit-wellness-wooden-waves_169016-68878.jpg", description: "Experience affordable luxury in the heart of Hyderabad. 3-star comfort with modern amenities, just 3 km from Banjara Hills."}, + { + id: "grand-plaza", name: "Grand Plaza Hotel", location: "Somajiguda, Hyderabad", rating: "4.1/5", reviews: "542+", price: "₹2,899", image: "http://img.b2bpic.net/free-photo/woman-sauna-sunlit-wellness-wooden-waves_169016-68878.jpg", description: "Contemporary comfort meets traditional hospitality. Premium 3-star hotel with modern amenities and excellent service."}, + { + id: "heritage-inn", name: "Heritage Inn", location: "Jubilee Hills, Hyderabad", rating: "3.8/5", reviews: "621+", price: "₹2,599", image: "http://img.b2bpic.net/free-photo/woman-sauna-sunlit-wellness-wooden-waves_169016-68878.jpg", description: "Blend of heritage charm and modern convenience. Spacious rooms with all essential amenities for a comfortable stay."}, + ]; + const navItems = [ { name: "Home", id: "/" }, - { name: "Rooms", id: "/rooms" }, + { name: "Hotels", id: "#featured-hotels" }, { name: "Amenities", id: "amenities" }, { name: "Reviews", id: "testimonials" }, { name: "Contact", id: "contact" }, @@ -38,51 +48,135 @@ export default function HomePage() { >
+
+
+
+
+

Select Your Hotel

+

Choose from our collection of premium properties

+
+
+ {hotels.map((hotel) => ( +
setSelectedHotel(hotel.id)} + className={`p-6 rounded-lg cursor-pointer transition-all ${ + selectedHotel === hotel.id + ? "bg-blue-50 border-2 border-blue-500" + : "bg-white border border-gray-200 hover:border-gray-400" + }`} + > + {hotel.name} +

{hotel.name}

+
+ + {hotel.location} +
+
+
+ {hotel.rating} + ({hotel.reviews} reviews) +
+ {hotel.price}/night +
+

{hotel.description}

+
+ ))} +
+
+
+
+ + +
@@ -92,39 +186,21 @@ export default function HomePage() {
); -} \ No newline at end of file +}