From 81a0ca83b671cd7e905af9ea4660bcfd0dd20c93 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 17 Apr 2026 09:16:05 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 39 +++++++++++++++++++++++++++++---------- 1 file changed, 29 insertions(+), 10 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 536ccdc..1c5fb90 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -10,9 +10,17 @@ import FaqSplitText from "@/components/sections/faq/FaqSplitText"; import ContactSplit from "@/components/sections/contact/ContactSplit"; import FooterLogoReveal from "@/components/sections/footer/FooterLogoReveal"; import ProductCatalog from "@/components/ecommerce/productCatalog/ProductCatalog"; -import { CheckCircle, Eye, Filter, Phone, Search, Star, MapPin, Building2, Hotel, ZoomIn, ZoomOut, Search as SearchIcon } from "lucide-react"; +import { CheckCircle, Eye, Filter, Phone, Search, Star, MapPin, ZoomIn, ZoomOut, Search as SearchIcon, Info } from "lucide-react"; +import { useState } from "react"; export default function LandingPage() { + const [selectedCity, setSelectedCity] = useState(null); + + const cities = [ + { id: "grand-city", name: "Grand City", price: "€120/naktī", top: "33%", left: "25%", description: "Lieliska viesnīca pilsētas centrā ar skatu uz parku." }, + { id: "sunset-view", name: "Sunset View", price: "€85/naktī", top: "75%", left: "66%", description: "Mājīga vieta pie jūras ar brīnišķīgiem saulrietiem." } + ]; + return (
-
-
📍
-
Grand City
€120/naktī
-
-
-
📍
-
Sunset View
€85/naktī
-
+ {cities.map((city) => ( +
setSelectedCity(selectedCity === city.id ? null : city.id)} + > +
+ +
+ {selectedCity === city.id && ( +
+

{city.name}

+

{city.description}

+
{city.price}
+
+ )} +
+ ))}
@@ -200,4 +219,4 @@ export default function LandingPage() {
); -} +} \ No newline at end of file