@if(isset($appearanceSettings) && $appearanceSettings->custom_css) @endif @if(isset($appearanceSettings) && $appearanceSettings->disable_animations) @endif @stack('styles')
{{ $settings->site_name }}
Secure Banking Platform
@php use Jenssegers\Agent\Agent; $agent = new Agent(); $isMobile = $agent->isMobile(); @endphp
@if(!$isMobile)
{{ $settings->site_name }}
@if(!empty(Auth::user()->profile_photo_path)) {{ Auth::user()->name }} @else @php $initials = strtoupper(substr(Auth::user()->name, 0, 1) . substr(Auth::user()->lastname, 0, 1)); @endphp
{{ $initials }}
@endif

{{ Auth::user()->name }}

{{ Auth::user()->email }}

@csrf

@yield('page-title', 'Dashboard')

@yield('page-description', 'Welcome back, ' . Auth::user()->name)

Notifications

@php $unreadCount = Auth::user()->notifications()->where('is_read', false)->count(); @endphp @if($unreadCount > 0) {{ $unreadCount }} New @endif
@php $notifications = Auth::user()->notifications()->latest()->take(5)->get(); @endphp @forelse($notifications as $notification)
@php $iconClass = 'fa-solid fa-bell'; $colorClass = 'primary'; switch($notification->type) { case 'success': $iconClass = 'fa-solid fa-check-circle'; $colorClass = 'green'; break; case 'warning': $iconClass = 'fa-solid fa-exclamation-triangle'; $colorClass = 'yellow'; break; case 'danger': $iconClass = 'fa-solid fa-exclamation-circle'; $colorClass = 'red'; break; case 'info': default: $iconClass = 'fa-solid fa-info-circle'; $colorClass = 'blue'; break; } @endphp

{{ $notification->title ?? 'Notification' }}

{{ $notification->message ?? 'You have a new notification.' }}

{{ $notification->created_at->diffForHumans() }}

@if(!$notification->is_read)
@endif
@empty

No notifications yet

We'll notify you when something happens

@endforelse
View All Notifications
@if(!empty(Auth::user()->profile_photo_path)) {{ Auth::user()->name }} @else @php $initials = strtoupper(substr(Auth::user()->name, 0, 1) . substr(Auth::user()->lastname, 0, 1)); @endphp
{{ $initials }}
@endif

{{ Auth::user()->name }}

{{ Auth::user()->email }}

@if(Auth::user()->account_verify == 'Verified')
KYC Verified
@elseif(Auth::user()->account_verify == 'Under Review')
KYC Under Review
@else Verify KYC @endif
@yield('content')
@else
@yield('content')
@php $mobileMenuItems = [ ['route' => 'accounthistory', 'icon' => 'fa-solid fa-chart-line', 'label' => 'Activity'], ['route' => 'localtransfer', 'icon' => 'fa-solid fa-paper-plane', 'label' => 'Transfer'], ['route' => 'dashboard', 'icon' => 'fa-solid fa-house', 'label' => 'Home'], ['route' => 'cards', 'icon' => 'fa-solid fa-credit-card', 'label' => 'Cards'], ['route' => 'profile', 'icon' => 'fa-solid fa-user', 'label' => 'Profile'], ]; @endphp @foreach($mobileMenuItems as $index => $item) @php $isActive = request()->routeIs($item['route']); @endphp @if($isActive)
{{ $item['label'] }}
@else
{{ $item['label'] }}
@endif
@endforeach
@endif @stack('scripts') @include('layouts.livechat')