"use client" import { useState } from "react" import { Button } from "@/components/ui/button" import { Card, CardContent, CardHeader, CardTitle, CardDescription } from "@/components/ui/card" import { Badge } from "@/components/ui/badge" import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs" import { MapPin, Building, Bath, BedDouble, Share, ChevronRight, Info, Ruler, Clock, Star, Droplets, Wind, Sun, BarChart2, LineChart, Calendar, Download, FileText, } from "lucide-react" import Link from "next/link" export default function PropertyDetailPage({ params }: { params: { id: string } }) { const [liked, setLiked] = useState(false) // This would normally come from an API call using the ID const property = { id: params.id, title: "Modern Condominium in Sukhumvit", price: 15000000, location: "Sukhumvit Soi 24, Bangkok", bedrooms: 3, bathrooms: 2, area: 150, type: "Condominium", description: "This stunning modern condominium is located in the heart of Sukhumvit, one of Bangkok's most vibrant neighborhoods. The property features 3 spacious bedrooms, 2 bathrooms, and a large living area with floor-to-ceiling windows offering panoramic city views. The unit comes fully furnished with high-end appliances and fixtures. The building amenities include a swimming pool, fitness center, sauna, and 24-hour security.", features: [ "Floor-to-ceiling windows", "Fully furnished", "High-end appliances", "Marble countertops", "Hardwood floors", "Central air conditioning", "Walk-in closet", "Balcony with city view", ], amenities: [ "Swimming pool", "Fitness center", "Sauna", "24-hour security", "Parking", "Garden", "Playground", "BBQ area", ], images: [ "/placeholder.svg?height=500&width=800", "/placeholder.svg?height=500&width=800", "/placeholder.svg?height=500&width=800", "/placeholder.svg?height=500&width=800", ], yearBuilt: 2018, floorLevel: 15, totalFloors: 32, parkingSpaces: 1, furnished: "Fully Furnished", ownership: "Freehold", availableFrom: "Immediate", premium: true, priceHistory: [ { date: "2018", price: 12000000 }, { date: "2020", price: 13500000 }, { date: "2022", price: 14800000 }, { date: "2024", price: 15000000 }, ], marketTrends: { areaGrowth: 5.2, similarProperties: 8, averagePrice: 14500000, pricePerSqm: 100000, }, environmentalFactors: { floodRisk: "Moderate", airQuality: "Poor", noiseLevel: "Low", }, nearbyFacilities: [ { name: "BTS Phrom Phong Station", distance: 300 }, { name: "EmQuartier Shopping Mall", distance: 500 }, { name: "Benchasiri Park", distance: 700 }, { name: "Samitivej Hospital", distance: 1200 }, ], } return (
{property.description}
The estimated price based on various factors
Prices in this area have increased by {property.marketTrends.areaGrowth}% in the last year