@props(['step' => 1]) Install · LaraContact @if (file_exists(public_path('build/manifest.json'))) @vite(['resources/css/app.css', 'resources/js/app.js']) @else {{-- Emergency fallback if `npm run build` hasn't been run --}} @endif {{-- Decorative gradient background --}}
{{-- Top brand bar --}}
L
LaraContact
Setup wizard
Step {{ $step }} / 5
{{-- Stepper --}} @php $stepLabels = [ 1 => 'Welcome', 2 => 'Requirements', 3 => 'Database', 4 => 'Admin', 5 => 'Done', ]; @endphp
@foreach ($stepLabels as $n => $label) @php $isDone = $n < $step; $isActive = $n === $step; @endphp
$isDone, 'bg-gradient-to-br from-primary to-fuchsia-500 text-white shadow-lg shadow-primary/40 animate-pulse-ring' => $isActive, 'bg-muted text-muted-foreground border border-border' => !$isDone && !$isActive, ])> @if ($isDone) @else {{ $n }} @endif
@if ($n < 5)
$isDone, 'bg-border' => !$isDone, ])>
@endif @endforeach
{{-- Main content --}}
{{ $slot }}
{{-- Footer --}}