@extends('layouts/layoutMaster') @section('title', 'Perfil del Mariachi') @section('content') @php $sections = [ 'datos' => 'Datos del mariachi', 'whatsapp' => 'WhatsApp', 'ubicacion' => 'Localizacion y mapa', 'fotos' => 'Fotos', 'videos' => 'Videos', 'redes' => 'Redes sociales y web', 'eventos' => 'Tipos de evento', 'filtros' => 'Filtros del anuncio', 'cobertura' => 'Cobertura', ]; $selectedEventTypeIds = $profile->eventTypes->pluck('id')->all(); $selectedServiceTypeIds = $profile->serviceTypes->pluck('id')->all(); $selectedGroupSizeIds = $profile->groupSizeOptions->pluck('id')->all(); $selectedBudgetIds = $profile->budgetRanges->pluck('id')->all(); $additionalCitiesText = $profile->serviceAreas->pluck('city_name')->join(', '); @endphp
Perfil profesional de {{ $profile->publicDisplayName() }}

Estado del perfil: {{ $profile->profile_completed ? 'perfil completo' : 'perfil incompleto' }}

Completa los modulos para preparar tu anuncio publico (fase posterior).
Progreso{{ $profile->profile_completion }}%
@if (session('status'))
{{ session('status') }}
@endif @if ($errors->any())
Hay errores de validacion.
@endif
Modulos del perfil
@foreach($sections as $key => $label) {{ $label }} @endforeach
@if($activeSection === 'datos')
Datos del mariachi
@csrf @method('PATCH')
@elseif($activeSection === 'whatsapp')
WhatsApp

Este campo queda preparado para modalidad premium futura.

@csrf @method('PATCH')
@elseif($activeSection === 'ubicacion')
Localizacion y mapa
@csrf @method('PATCH')
Mapa
@if($googleMaps['enabled'])
Puedes mover el marcador para ajustar coordenadas. @else
Configura Google Maps desde admin para activar mapa interactivo.
@endif
@elseif($activeSection === 'fotos')
Subir fotos
@csrf
Formatos: JPG, PNG o WEBP. Máximo 5 MB por foto. Recomendado: 1200–1600 px de ancho. Nosotros optimizamos automáticamente la imagen para que cargue rápido.
Galeria
@forelse($profile->photos as $photo)
foto
{{ $photo->title ?? 'Sin titulo' }}
@if($photo->is_featured)Destacada@endif
@csrf @method('PATCH')
@csrf @method('PATCH')
@csrf @method('PATCH')
@csrf @method('DELETE')
@empty

Aun no hay fotos cargadas.

@endforelse
@elseif($activeSection === 'videos')
Agregar video externo
@csrf
Videos registrados
@forelse($profile->videos as $video) @empty @endforelse
URLPlataformaAccion
{{ $video->url }} {{ $video->platform }}
@csrf @method('DELETE')
No hay videos.
@elseif($activeSection === 'redes')
Redes sociales y sitio web
@csrf @method('PATCH')
@elseif($activeSection === 'eventos')
Eventos o tipos de servicio
@csrf @method('PATCH')
@foreach($eventTypes as $eventType)
id, old('event_type_ids', $selectedEventTypeIds)) ? 'checked' : '' }}>
@endforeach
@elseif($activeSection === 'filtros')
Filtros del anuncio
@csrf @method('PATCH')
Tipo de servicio
@foreach($serviceTypes as $serviceType)
id, old('service_type_ids', $selectedServiceTypeIds)) ? 'checked' : '' }}>
@endforeach
Tamano del grupo
@foreach($groupSizeOptions as $option)
id, old('group_size_option_ids', $selectedGroupSizeIds)) ? 'checked' : '' }}>
@endforeach
Rango de presupuesto
@foreach($budgetRanges as $range)
id, old('budget_range_ids', $selectedBudgetIds)) ? 'checked' : '' }}>
@endforeach
@elseif($activeSection === 'cobertura')
Cobertura
@csrf @method('PATCH')
travels_to_other_cities) ? 'checked' : '' }}>
@endif
@endsection @if($activeSection === 'ubicacion' && $googleMaps['enabled']) @section('page-script') @parent @endsection @endif