@extends('layouts.app') @section('title', 'Welcome') @section('content')
@auth @if(auth()->user()->employee_id) {{-- Employee Landing Page --}}
Employee Portal

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

@if(auth()->user()->employee) {{ auth()->user()->employee->department->name ?? 'Support' }} Team @else Support Team @endif

Manage and respond to support issues assigned to you.

@else {{-- Regular User Landing Page --}}
Admin Portal

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

{{ config('app.name', 'Support Desk') }} - Client Support Management System

Access system administration and management tools.

Go to Dashboard View Issues @can('employees.view') Manage Employees @endcan @can('schools.view') Schools @endcan
@endif @else {{-- Guest Landing Page --}}

Welcome to {{ config('app.name', 'Support Desk') }}

Client Support Management System

Please log in to access the system.

Log In @if(Route::has('register')) Register @endif
@endauth
@endsection