@if(app()->environment('production')) @else @endif {{-- Preconnect en premier : réduit la latence DNS+TCP+TLS des ressources critiques --}} {{-- Google Fonts : preconnect + link direct (évite le @import CSS en cascade) --}} @php $__wUser = auth()->user(); $__wMeta = $__wUser ? [ 'id' => $__wUser->id, 'name' => $__wUser->name, 'email' => $__wUser->email, 'photo_url' => $__wUser->photo_url, 'secondary_photo_url' => $__wUser->secondary_photo_url, 'nbr_posts' => $__wUser->nbr_posts ?? 0, ] : new \stdClass(); @endphp {{-- CSS non-critique : préchargé sans bloquer le premier affichage --}} {{-- sweetalert2 chargé dans footer.blade.php --}}
×
@include('components.elements.header') {{-- Debug des informations utilisateur --}} @if(isset($user_infos) && count($user_infos) > 0)
@foreach ($user_infos as $user_info) {{ $user_info['message'] }}
@endforeach ×
@endif {{-- Script de gestion des alertes utilisateur --}}
@if(!empty($bannerAds))
@foreach($bannerAds as $ad)
@if(($ad['link'] ?? '#') !== '#') @endif {{ $ad['alt'] }} @if(($ad['link'] ?? '#') !== '#') @endif
@endforeach
@if(count($bannerAds) > 1)
@endif
@else
@endif
@include('components.modals.pub')

 {{__('global.Choose a city or region')}}

@foreach (collect($country['cities'])->take(15) as $city) @endforeach

@if (strtolower($country['code']) != 'ci')
@endif @if (strtolower($country['code']) != 'ci')
@endif
@if (strtolower($country['code']) == 'ci')
@endif
@if (Auth::check()) @php $currentUser = Auth::user(); $abonnement = $currentUser->abonnement_actuel; $canCreateFlash = $abonnement && $abonnement->package_id != 6 && $abonnement->nbr_flash_restant > 0 && !$currentUser->flashes()->where('created_at', '>', now()->subHours(48))->exists(); $flashError = null; if ($abonnement && $abonnement->package_id == 6) { $flashError = "Vous ne pouvez pas publier de flash en mode gratuit."; } elseif ($abonnement && $abonnement->nbr_flash_restant <= 0) { $flashError = "Vous avez atteint la limite de {$abonnement->maxFlash} flash."; } elseif ($currentUser->flashes()->where('created_at', '>', now()->subHours(48))->exists()) { $flashError = "Vous devez attendre 48h après la création de votre dernier flash."; } @endphp @if ($canCreateFlash) @else @endif @else @endif
Photo profil
Flash
@for ($i = 0; $i < 6; $i++)
@endfor

Capsules

@for ($i = 0; $i < 5; $i++)
@endfor
@php $homeAuthUser = auth()->user(); $homeSubscription = $homeAuthUser?->abonnement_actuel; $homeHasCapsule = $homeAuthUser ? $homeAuthUser->capsules()->exists() : false; @endphp
@include('components.elements.footer') @include('components.modals.bug') @include('components.modals.confirmation') @include('components.modals.countries') @include('components.modals.create_post') @include('components.modals.error') {{-- Modal langues (désactivé) --}} @include('components.modals.quick_login') @include('components.modals.locations')