@php $panel = $panel ?? 'admin'; $isEmployee = $panel === 'employee'; $titlePrefix = $isEmployee ? 'Employee Login' : 'Admin Login'; $panelLabel = $isEmployee ? 'Employee Access Panel' : 'Admin Control Panel'; $placeholderEmail = $isEmployee ? 'employee@example.com' : 'owner@example.com'; $formAction = $formAction ?? route('login'); $switchUrl = $switchUrl ?? null; $switchLabel = $switchLabel ?? null; $siteSettings = \App\Models\GeneralSetting::getContent(); $siteLogo = $siteSettings['site']['logo'] ?? null; $logoUrl = $siteLogo ? ((str_starts_with($siteLogo, 'http://') || str_starts_with($siteLogo, 'https://')) ? $siteLogo : asset('storage/' . ltrim($siteLogo, '/'))) : null; @endphp
{{ $panelLabel }}
Use your email and password to access the {{ $isEmployee ? 'employee workspace' : 'admin control panel' }} securely.
© {{ date('Y') }} {{ config('app.name') }}. All rights reserved.