import { Wind, Car, Bus, MapPin, Sofa } from "lucide-react"; import { House } from "@/src/config/apartments"; interface HouseHighlightsProps { house: House; locale: string; } export function HouseHighlights({ house, locale }: HouseHighlightsProps) { const isHerdweg = house.id === "herdweg"; const highlights = isHerdweg ? [ { icon: Car, title: locale === "de" ? "Gleiche Straße wie Panzer Kaserne" : "Same Street as Panzer Kaserne", text: locale === "de" ? "Kein Abbiegen nötig" : "Zero turns needed", highlight: true, }, { icon: Bus, title: locale === "de" ? "Bushaltestelle" : "Bus stop", text: locale === "de" ? "In der Nähe" : "Nearby", }, { icon: Wind, title: locale === "de" ? "Klimaanlage" : "Air conditioning", text: locale === "de" ? "In den meisten Apartments" : "In most apartments", }, { icon: Sofa, title: locale === "de" ? "Vollmöbliert" : "Fully furnished", text: locale === "de" ? "Alle Apartments" : "All apartments", }, ] : [ { icon: MapPin, title: locale === "de" ? "Stadtzentrum" : "City center", text: locale === "de" ? "Nahe gelegen" : "Close by", }, { icon: Car, title: locale === "de" ? "Daimler Werk Sindelfingen" : "Daimler plant Sindelfingen", text: locale === "de" ? "Leicht erreichbar" : "Easy to reach", }, { icon: Wind, title: locale === "de" ? "Klimaanlage" : "Air conditioning", text: locale === "de" ? "In allen Apartments" : "In all apartments", }, { icon: Sofa, title: locale === "de" ? "Vollmöbliert" : "Fully furnished", text: locale === "de" ? "Alle Apartments" : "All apartments", }, ]; return (
{highlight.title}
{highlight.text}