@extends('layouts.panel-escort')
@section('title', 'Mi Panel')
@section('content')
{{-- ================================================
Estado del perfil
================================================ --}}
Estado de tu perfil
@if($status->isPublished)
✓ Tu perfil está publicado y visible.
@else
Tu perfil no está publicado. Para publicarlo necesitas:
@if(!$status->profileExists)
Rellenar el perfil
@endif
@if(!$status->hasAtLeastOnePhoto)
Al menos una foto
@endif
@if($status->profileExists && !$status->isVisible)
Mostrar el perfil (actualmente está oculto)
@endif
@endif
@if($profile)
@if($profile->visible)
@else
@endif
@if($profile->published)
Ver perfil
@endif
@endif
{{-- ================================================
Mi perfil — formulario
================================================ --}}
{{-- ================================================
Fotos (solo si ya existe perfil)
================================================ --}}
@if($profile)
Fotos ({{ count($photos) }}/{{ config('app.max_photos') }})
@if(count($photos) > 0)
@foreach($photos as $i => $photo)
@if($i > 0)
@csrf
↑
@else
@endif
@if($i < count($photos) - 1)
@csrf
↓
@else
@endif
@csrf
@method('DELETE')
Eliminar
@endforeach
@else
Aún no has subido ninguna foto.
@endif
@if(count($photos) < config('app.max_photos'))
@csrf
Subir foto (JPG, PNG — máx. 5 MB)
@error('photo'){{ $message }} @enderror
Subir foto
@else
Has alcanzado el límite de {{ config('app.max_photos') }} fotos. Elimina alguna para subir otra.
@endif
@if($profile && $profile->showContentCreatorLink())
Quiero aumentar mis ingresos
@endif
@endif
{{-- ================================================
Vídeos (solo si ya existe perfil)
================================================ --}}
@if($profile)
Vídeos ({{ count($videos) }}/{{ config('app.max_videos') }})
@if(count($videos) > 0)
@foreach($videos as $i => $video)
@endforeach
@else
Aún no has subido ningún vídeo.
@endif
@if(count($videos) < config('app.max_videos'))
@csrf
Subir vídeo (MP4, MOV, AVI, WEBM — máx. {{ config('app.video_max_mb') }} MB)
@error('video'){{ $message }} @enderror
Subir vídeo
@else
Has alcanzado el límite de {{ config('app.max_videos') }} vídeos. Elimina alguno para subir otro.
@endif
@if($profile && $profile->showContentCreatorLink())
Quiero ganar más con mis vídeos
@endif
@endif
{{-- ================================================
Mi cuenta
================================================ --}}
@push('scripts')
@endpush
@endsection