@extends('web.layouts.web-master') @php $projects = collect($content['projects'] ?? []); $featured = $content['featured'] ?? []; $featuredProject = $projects->firstWhere('slug', $featured['slug'] ?? ''); $categories = collect($content['categories'] ?? []); $districts = collect(data_get($content, 'districts.items', [])); $gridProjectsCount = $projects->reject(fn ($project) => $project['slug'] === data_get($featured, 'slug'))->count(); $statusLabels = [ 'ready' => 'Sofort verfuegbar', 'construction' => 'Im Bau', 'offplan' => 'Off-Plan', ]; $statusClasses = [ 'ready' => 'bg-emerald-500', 'construction' => 'bg-sky-500', 'offplan' => 'bg-amber-400 text-zinc-950', ]; @endphp @section('title', data_get($content, 'meta.title', 'Dubai Immobilien - B2in')) @section('meta_description', data_get($content, 'meta.description', 'Kuratierte Immobilienprojekte in Dubai.')) @section('content')

{{ data_get($content, 'hero.eyebrow') }}

{{ data_get($content, 'hero.title') }}

{{ data_get($content, 'hero.subtitle') }}

{{ data_get($content, 'hero.microcopy') }}

Kuratiert statt katalogisiert

{{ data_get($content, 'intro.title') }}

"{{ data_get($content, 'intro.quote') }}"
@foreach (data_get($content, 'intro.paragraphs', []) as $paragraph)

{{ $paragraph }}

@endforeach
Headline-Projekt

{{ $featured['title'] ?? '' }}

{{ $featured['location'] ?? '' }}

{{ $featured['status'] ?? '' }}

{{ $featured['headline'] ?? '' }}

{{ $featured['text'] ?? '' }}

Marcels Einschätzung

{{ $featured['marcel_take'] ?? '' }}

Preis
{{ $featured['price_from'] ?? '' }}
Uebergabe
{{ $featured['handover'] ?? '' }}
    @foreach ($featured['facts'] ?? [] as $fact)
  • @svg('heroicon-o-check-circle', 'mt-0.5 h-4 w-4 shrink-0 text-secondary') {{ $fact }}
  • @endforeach
@if ($featuredProject) @endif

{{ data_get($content, 'map.title') }}

{{ data_get($content, 'map.subtitle') }}

Downtown Al Furjan Dubai South Palm Dubai Islands @foreach (data_get($content, 'map.pins', []) as $pin) @php $pinProject = $projects->firstWhere('slug', $pin['slug']); $group = $pinProject['status_group'] ?? 'ready'; @endphp @if ($pinProject) @endif @endforeach
@foreach ($statusLabels as $key => $label)

{{ $label }}

{{ $projects->where('status_group', $key)->count() }} Projekte in dieser Auswahl.

@endforeach
@if ($districts->isNotEmpty())

Stadtteil-Kontext

{{ data_get($content, 'districts.title') }}

{{ data_get($content, 'districts.subtitle') }}

@foreach ($districts as $district)

{{ $district['projects'] ?? '' }}

{{ $district['name'] ?? '' }}

{{ $district['description'] ?? '' }}

@endforeach
@endif

Projektgrid

{{ $gridProjectsCount }} Projekte im Vergleich

Burj Azizi steht bewusst als eigenes Flaggschiff oben. Die restlichen PDF-Positionen und kuratierten Zusatzprojekte sind nach Käuferlogik, Stadtteil und Entwicklungsstatus sortiert.

@foreach ($categories as $category) @php $categoryProjects = $projects ->where('category', $category['key']) ->reject(fn ($project) => $project['slug'] === data_get($featured, 'slug')); @endphp @if ($categoryProjects->isNotEmpty())

{{ $category['title'] }}

{{ $category['intro'] }}

@foreach ($categoryProjects as $project) @endforeach
@endif @endforeach

{{ data_get($content, 'market_context.title') }}

{{ data_get($content, 'market_context.subtitle') }}

@foreach (data_get($content, 'market_context.facts', []) as $fact)
@svg('heroicon-o-' . $fact['icon'], 'h-6 w-6')

{{ $fact['title'] }}

{{ $fact['description'] }}

@endforeach

{{ data_get($content, 'process.title') }}

@foreach (data_get($content, 'process.steps', []) as $step)
{{ $step['number'] }}

{{ $step['title'] }}

{{ $step['description'] }}

@endforeach

{{ data_get($content, 'mindset.title') }}

{{ data_get($content, 'mindset.positive') }}

{{ data_get($content, 'mindset.negative') }}

{{ data_get($content, 'furniture.title') }}

{{ data_get($content, 'furniture.text') }}

@endsection