@extends('layouts.portal') @section('title', 'Dashboard') @section('page-title', __('Employer Dashboard')) @section('sidebar') @include('employer.partials.sidebar') @endsection @section('content') @if(!$company)

{{ __('Please complete your company profile to start posting jobs.') }}

{{ __('Setup Company') }}
@else
@foreach([ ['label' => __('Active Jobs'), 'value' => $stats['active_jobs'], 'color' => 'text-brand-blue'], ['label' => __('Applications'), 'value' => $stats['total_applications'], 'color' => 'text-brand-purple'], ['label' => __('Total Views'), 'value' => number_format($stats['total_views']), 'color' => 'text-brand-magenta'], ] as $stat)

{{ $stat['label'] }}

{{ $stat['value'] }}

@endforeach
@if($recentApplications->count())

{{ __('Recent Applications') }}

@foreach($recentApplications as $app)

{{ $app->full_name }}

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

{{ __('View') }}
@endforeach
@endif @endif @endsection