@extends('layouts.app') @section('title', 'Dashboard') @section('content')

Welcome, {{ auth()->user()->name }}

{{-- Stats --}}
@foreach ([ ['Total Applications', $stats['total_applications'], 'text-blue-600', 'bg-blue-50'], ['Pending', $stats['pending'], 'text-yellow-600', 'bg-yellow-50'], ['Shortlisted', $stats['shortlisted'], 'text-green-600', 'bg-green-50'], ['Rejected', $stats['rejected'], 'text-red-600', 'bg-red-50'], ] as [$label, $count, $textColor, $bgColor])

{{ $count }}

{{ $label }}

@endforeach
{{-- Recent Applications --}}

Recent Applications

View all
@forelse($recentApplications as $app)

{{ $app->job->title }}

{{ $app->job->company?->name }}

{{ $app->status_label }}
@empty

এখনো কোনো জবে apply করা হয়নি।

@endforelse
{{-- Recommended Jobs --}}

Recommended Jobs

Browse all
@foreach($recommendedJobs as $job)

{{ $job->title }}

{{ $job->company?->name }} • {{ $job->location }}

@endforeach
{{-- Quick Actions --}}

Quick Actions

@endsection