--- import Layout from '../../layouts/Layout.astro'; import EviivoWidget from '../../components/EviivoWidget.astro'; import { getCollection } from 'astro:content'; export async function getStaticPaths() { const apartments = await getCollection('apartments'); return apartments.map((apt) => ({ params: { slug: apt.slug }, props: { apartment: apt }, })); } const { apartment } = Astro.props; const { Content } = await apartment.render(); const { title, subtitle, category, guests, sizeSqm, balcony, workspace, kitchen, highlights } = apartment.data; ---
← Zurück zur Apartment-Übersicht
{category}

{title}

{subtitle}

Kapazität 👥 {guests} Gäste
Größe 📐 {sizeSqm} m²
Balkon / Terrasse {balcony ? '🌿 Ja' : 'Nein'}
Workspace {workspace ? '💻 Inklusive' : 'WLAN'}
{title} — High-Res Fotografie

Beschreibung & Ausstattung

Küche & Verpflegung

{kitchen}

Ausstattungs-Highlights

    {highlights.map((h) => (
  • ✓ {h}
  • ))}