@extends('installer.layout')
@section('content')
{{ __('install.title_step_2') }}
{{ __('install.preflight_heading', ['app_name' => brand()]) }}
@php
$hasWarnings = collect($checks)->contains('status', 'warn');
@endphp
@if($hasCritical)
{{ __('install.preflight_has_failures') }}
@elseif($hasWarnings)
{{ __('install.preflight_has_warnings') }}
@else
{{ __('install.preflight_all_passed') }}
@endif
@foreach($checks as $check)
$check['status'] === 'pass',
'bg-yellow-50' => $check['status'] === 'warn',
'bg-red-50' => $check['status'] === 'fail',
])>
@if($check['status'] === 'pass')
✔
@elseif($check['status'] === 'warn')
⚠
@else
✘
@endif
{{ $check['name'] }}
$check['status'] === 'pass',
'text-yellow-700' => $check['status'] === 'warn',
'text-red-700' => $check['status'] === 'fail',
])>{{ $check['message'] }}
@endforeach
@endsection