@vite(['resources/themes/' . setting('theme') . '/css/app.css', 'resources/themes/' . setting('theme') . '/js/app.js'], 'build')

{{ __('Maintenance Mode') }}

{{ setting('hotel_name') }}

@php $scheduledAt = setting('maintenance_scheduled_at'); $duration = (int) setting('maintenance_duration_minutes', 30); $endTime = $scheduledAt ? \Carbon\Carbon::parse($scheduledAt)->addMinutes($duration) : null; $isScheduled = $endTime && $endTime->isFuture(); @endphp @if($isScheduled)
{{ __('Estimated Completion') }}
--:--:--

{{ __('Date') }}: {{ $endTime->format('d M Y') }} {{ __('Time') }}: {{ $endTime->format('H:i') }}

@endif

{{ __('Important Information') }}

{!! setting('maintenance_message') !!}

@if(setting('discord_invitation_link')) {{ __('Join our Discord') }} @endif @if(setting('twitter_url')) {{ __('Follow us on X') }} @endif
{{ __('Progress') }} @php $totalTasks = ($tasks instanceof \Illuminate\Pagination\LengthAwarePaginator || method_exists($tasks, 'total')) ? $tasks->total() : ($tasks->count() ?? 0); $completedTasks = $tasks->where('completed', true)->count(); $progress = $totalTasks > 0 ? round(($completedTasks / $totalTasks) * 100) : 0; @endphp {{ $progress }}%
@guest
@endguest