@extends('frontend.layouts.app') @section('title', $title) @section('description', $description) @section('content') @php $assetPath = fn (string $path) => asset('frontend/' . ltrim($path, '/')); @endphp @include('frontend.layouts.breadcrumb', ['title' => $department->name])
{{ $department->name }}
0
+

Team
Members

Department

{{ $department->name }} Department

{{ $department->description ?: "Learn about the {$department->name} department and the work handled by this team." }}

@foreach([ ['Team Members', $statistics['total_users']], ['Active Projects', $statistics['active_projects']], ['Completed Projects', $statistics['completed_projects']], ['Open Positions', $statistics['open_vacancies']], ] as $stat)

{{ $stat[1] }}

{{ $stat[0] }}

@endforeach
All DepartmentsAll Departments
@if($department->children->count() > 0)
Sub Departments

Teams Inside {{ $department->name }}

@foreach($department->children as $child)

{{ $child->name }}

{{ \Illuminate\Support\Str::limit($child->description ?: 'Explore this sub-department.', 110) }}

EXPLORE MOREEXPLORE MORE
@endforeach
@endif @if($department->projects->count() > 0)
Projects

Recent Department Projects

@foreach($department->projects as $project)
{{ $project->title }}

{{ $project->title }}

{{ strtoupper($project->status_label ?? $project->status) }}{{ optional($project->updated_at)->format('d M, Y') }}
@endforeach
@endif @if($department->vacancies->count() > 0)
Careers

Open Positions

@foreach($department->vacancies as $vacancy)

{{ $vacancy->title }}

{{ \Illuminate\Support\Str::limit(strip_tags($vacancy->description), 110) }}

APPLY NOWAPPLY NOW
@endforeach
@endif @include('frontend.partials.newsletter') @endsection