@php
if (!Auth::guard('user')->check()) {
    $authSiteSlug = $siteSlug ?: \App\Http\Helpers\SettingHelper::defaultSiteSlug();
    redirect(url('/' . $authSiteSlug . '/login-web'))->send();
    exit;
}
$user = Auth::guard('user')->user();
$admin = Auth::guard('admin')->check() ? Auth::guard('admin')->user() : null;
@endphp