> */ private const SOURCE = [ 'de' => [ 'slug' => 'azizi-creek-views-4', 'title' => 'Azizi Developments: Creek Views 4', 'location' => 'Al Jaddaf, Dubai', 'status' => 'NEW LAUNCH', 'launch_date' => '03.03.2026', 'price_from' => 'ab 1.125.000 AED (ca. 283.000 EUR / 306.000 USD)', 'image' => 'expose/a1/image-4.jpeg', 'highlights' => [ 'Prime Waterfront Views', '1BR: ab 1.125.000 AED (ca. 283.000 EUR / 306.000 USD)', 'Exklusives 3BR Penthouse (Single Inventory)', 'High Rental Demand & Capital Appreciation', ], 'quick_facts' => [ [ 'icon' => 'home-modern', 'label' => 'Typen', 'value' => '1BR & 3BR Penthouse', ], [ 'icon' => 'squares-2x2', 'label' => 'Größe', 'value' => '543 – 2.346 sqft', ], [ 'icon' => 'building-office-2', 'label' => 'Einheiten', 'value' => 'Nur 132 (Limited)', ], [ 'icon' => 'user', 'label' => 'Entwickler', 'value' => 'Azizi Developments', ], ], 'investment_case' => [ 'title' => 'Starkes Investment, hohe Nachfrage.', 'text' => 'Creek Views 4 bietet eine strategische Top-Lage in Al Jaddaf. Die Kombination aus limitiertem Angebot (nur 132 Einheiten) und Premium-Ausstattung macht dieses Projekt zur idealen Wahl für Investoren, die auf Wertsteigerung (Capital Appreciation) und hohe Mietnachfrage abzielen.', 'views' => [ 'Road View', 'Sitting & Play Area View', 'Neighbour View', ], ], 'gallery' => [ 'expose/a1/image-4.jpeg', 'expose/a1/image-3.jpeg', 'expose/a1/image-2.jpeg', 'expose/a1/image-5.jpeg', 'expose/a1/image-6.jpeg', 'expose/a1/image-7.jpeg', ], 'location_info' => [ 'title' => 'Strategische Location: Al Jaddaf', 'map_url' => 'https://maps.google.com/?q=Al+Jaddaf+Dubai', 'points' => [ 'Direkte Anbindung an Dubai Creek und Waterfront', 'Wenige Minuten bis Downtown Dubai & Burj Khalifa', 'Exzellente Infrastruktur und wachsender Stadtteil', ], ], 'contact' => [ 'title' => 'Sichern Sie sich eine der 132 Einheiten.', 'subtitle' => 'Ihr Ansprechpartner: Marcel Scheibe', 'options' => [ '' => 'Ich interessiere mich für...', '1br' => '1 Bedroom Apartment', '3br_penthouse' => '3BR Penthouse (Single Unit)', 'general' => 'Allgemeine Beratung', ], ], ], 'en' => [ 'slug' => 'azizi-creek-views-4', 'title' => 'Azizi Developments: Creek Views 4', 'location' => 'Al Jaddaf, Dubai', 'status' => 'NEW LAUNCH', 'launch_date' => '03.03.2026', 'price_from' => 'from 1.125.000 AED (ca. 283.000 EUR / 306.000 USD)', 'image' => 'expose/a1/image-4.jpeg', 'highlights' => [ 'Prime Waterfront Views', '1BR: from 1.125.000 AED (ca. 283.000 EUR / 306.000 USD)', 'Exclusive 3BR Penthouse (Single Inventory)', 'High Rental Demand & Capital Appreciation', ], 'quick_facts' => [ [ 'icon' => 'home-modern', 'label' => 'Types', 'value' => '1BR & 3BR Penthouse', ], [ 'icon' => 'squares-2x2', 'label' => 'Size', 'value' => '543 – 2,346 sqft', ], [ 'icon' => 'building-office-2', 'label' => 'Units', 'value' => 'Only 132 (Limited)', ], [ 'icon' => 'user', 'label' => 'Developer', 'value' => 'Azizi Developments', ], ], 'investment_case' => [ 'title' => 'Strong Investment, High Demand.', 'text' => 'Creek Views 4 offers a strategic top location in Al Jaddaf. The combination of limited supply (only 132 units) and premium finishes makes this project the ideal choice for investors targeting capital appreciation and high rental demand.', 'views' => [ 'Road View', 'Sitting & Play Area View', 'Neighbour View', ], ], 'gallery' => [ 'expose/a1/image-4.jpeg', 'expose/a1/image-3.jpeg', 'expose/a1/image-2.jpeg', 'expose/a1/image-5.jpeg', 'expose/a1/image-6.jpeg', 'expose/a1/image-7.jpeg', ], 'location_info' => [ 'title' => 'Strategic Location: Al Jaddaf', 'map_url' => 'https://maps.google.com/?q=Al+Jaddaf+Dubai', 'points' => [ 'Direct connection to Dubai Creek and Waterfront', 'Just minutes to Downtown Dubai & Burj Khalifa', 'Excellent infrastructure and growing district', ], ], 'contact' => [ 'title' => 'Secure one of the 132 units.', 'subtitle' => 'Your contact: Marcel Scheibe', 'options' => [ '' => 'I am interested in...', '1br' => '1 Bedroom Apartment', '3br_penthouse' => '3BR Penthouse (Single Unit)', 'general' => 'General Consultation', ], ], ], ]; /** * Seed the CMS projects table from {@see self::SOURCE}. * * Zusätzliche Blöcke investor_trust / furniture_benefit sind in den Lang-Dateien * nicht enthalten und werden hier mit DE/EN ergänzt. */ public function run(): void { foreach ($this->getProjects() as $data) { CmsProject::query()->updateOrCreate( ['slug' => $data['slug']], $data, ); } } /** * @return array> */ private function getProjects(): array { $de = self::SOURCE['de']; $en = self::SOURCE['en']; $launchDate = isset($de['launch_date']) && is_string($de['launch_date']) ? Carbon::createFromFormat('d.m.Y', $de['launch_date']) : Carbon::create(2026, 3, 3); $extras = $this->projectTrustAndFurnitureBlocks(); return [ [ 'slug' => self::PROJECT_SLUG, 'title' => [ 'de' => (string) ($de['title'] ?? ''), 'en' => (string) ($en['title'] ?? $de['title'] ?? ''), ], 'location' => [ 'de' => (string) ($de['location'] ?? ''), 'en' => (string) ($en['location'] ?? $de['location'] ?? ''), ], 'status' => (string) ($de['status'] ?? 'NEW LAUNCH'), 'launch_date' => $launchDate, 'price_from_aed' => 1_125_000, 'currency' => 'AED', 'image' => (string) ($de['image'] ?? ''), 'highlights' => [ 'de' => is_array($de['highlights'] ?? null) ? $de['highlights'] : [], 'en' => is_array($en['highlights'] ?? null) ? $en['highlights'] : [], ], 'quick_facts' => is_array($de['quick_facts'] ?? null) ? $de['quick_facts'] : [], 'investment_case' => [ 'de' => is_array($de['investment_case'] ?? null) ? $de['investment_case'] : [], 'en' => is_array($en['investment_case'] ?? null) ? $en['investment_case'] : [], ], 'gallery' => is_array($de['gallery'] ?? null) ? $de['gallery'] : [], 'location_info' => [ 'de' => is_array($de['location_info'] ?? null) ? $de['location_info'] : [], 'en' => is_array($en['location_info'] ?? null) ? $en['location_info'] : [], ], 'contact' => [ 'de' => is_array($de['contact'] ?? null) ? $de['contact'] : [], 'en' => is_array($en['contact'] ?? null) ? $en['contact'] : [], ], 'investor_trust' => $extras['investor_trust'], 'furniture_benefit' => $extras['furniture_benefit'], 'is_published' => true, 'order' => 0, ], ]; } /** * @return array{investor_trust: array>, furniture_benefit: array>} */ private function projectTrustAndFurnitureBlocks(): array { return [ 'investor_trust' => [ 'de' => [ 'title' => 'Maximale Sicherheit für Ihr Investment', 'intro' => 'Der Kaufprozess in Dubai ist durch strenge staatliche Regularien international führend im Investorenschutz.', 'columns' => [ [ 'icon' => 'heroicon-o-lock-closed', 'title' => 'Staatliches Escrow-System', 'text' => 'Ihre Zahlungen fließen nicht an den Bauträger, sondern auf speziell regulierte Treuhandkonten der RERA (Real Estate Regulatory Agency).', ], [ 'icon' => 'heroicon-o-building-library', 'title' => 'Strenge DLD-Kontrolle', 'text' => 'Jeder Kaufvertrag (SPA) wird offiziell beim Dubai Land Department registriert. Lückenlose behördliche Überwachung jedes Bauprojekts.', ], [ 'icon' => 'heroicon-o-chart-bar', 'title' => 'Transparente Planbarkeit', 'text' => 'Gelder werden nur streng nach zertifiziertem Baufortschritt freigegeben. Eine Zweckentfremdung Ihres Kapitals ist gesetzlich ausgeschlossen.', ], ], 'cta_url' => '/magazin/1', 'cta_label' => 'Deep Dive: Erfahren Sie im Magazin im Detail, wie das Escrow-System in Dubai Sie als Käufer schützt', ], 'en' => [ 'title' => 'Maximum security for your investment', 'intro' => 'The purchase process in Dubai is among the world’s most investor-protective, thanks to strict government regulation.', 'columns' => [ [ 'icon' => 'heroicon-o-lock-closed', 'title' => 'Government Escrow system', 'text' => 'Your payments do not go to the developer; they are held in specially regulated trust accounts with the RERA (Real Estate Regulatory Agency).', ], [ 'icon' => 'heroicon-o-building-library', 'title' => 'Strict DLD oversight', 'text' => 'Every purchase contract (SPA) is officially registered with the Dubai Land Department. Every construction project is monitored end-to-end.', ], [ 'icon' => 'heroicon-o-chart-bar', 'title' => 'Transparent planning', 'text' => 'Funds are released only according to certified construction progress. Misuse of your capital is legally ruled out.', ], ], 'cta_url' => '/magazin/1', 'cta_label' => 'Deep dive: read in the magazine how Dubai’s Escrow system protects you as a buyer', ], ], 'furniture_benefit' => [ 'de' => [ 'title' => 'Ihr Investment, Ihr Vorteil', 'text' => 'Als Käufer einer B2in-Immobilie erhalten Sie exklusiven Insider-Zugang zu unserem B2in-Möbelnetzwerk. Richten Sie Ihre Immobilie zu unschlagbaren Partner-Konditionen ein.', 'button_text' => 'Mehr zum B2in-Netzwerk', 'button_link' => '/netzwerk', ], 'en' => [ 'title' => 'Your investment, your advantage', 'text' => 'As a buyer of a B2in property, you receive exclusive insider access to our B2in furniture network. Furnish your property at unbeatable partner conditions.', 'button_text' => 'Learn more about the B2in network', 'button_link' => '/netzwerk', ], ], ]; } }