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

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

You're currently acting as: {{ Auth::user()->getCurrentRoleDisplayName() }}

Your Roles

You have {{ Auth::user()->activeRoles->count() }} active roles

@foreach(Auth::user()->activeRoles as $role) {{ $role->display_name }} @if(Auth::user()->currentRole && Auth::user()->currentRole->id === $role->id) (Current) @endif @endforeach
Manage Roles
Profile Management

Update your personal information and preferences

Edit Profile
Activity Overview

View your recent activities and statistics

View Activity
Role-specific Dashboard
@if(Auth::user()->currentRole) @switch(Auth::user()->currentRole->name) @case('athlete')
Training Schedule
  • Today Morning Training - 6:00 AM
  • Tomorrow Sparring Session - 4:00 PM
  • Friday Competition Prep - 10:00 AM
Upcoming Competitions
  • Regional Championship - March 15
  • State Tournament - April 5
  • National Games - May 20
@break @case('coach')
Team Management
  • 12 Active Athletes
  • 3 Training Sessions This Week
  • 2 Upcoming Competitions
Recent Activities
  • Updated training schedule
  • Registered team for tournament
  • Conducted skills assessment
@break @case('referee')
Assigned Matches
  • Youth Championship - March 10
  • Senior Division - March 18
  • Regional Finals - April 2
Certification Status
  • Level 3 Referee Certified
  • Renewal Due: June 2025
@break @default
{{ Auth::user()->currentRole->display_name }} Dashboard

{{ Auth::user()->currentRole->description }}

Role-specific content will be available soon.

@endswitch @else
No Active Role

Please select a role to access role-specific features.

Select Role
@endif
Quick Actions
@if(Auth::user()->currentRole) {{ Auth::user()->currentRole->display_name }} Dashboard @endif @if(Auth::user()->hasRole('athlete')) View Training Schedule @endif @if(Auth::user()->hasRole('coach')) Manage Team @endif @if(Auth::user()->hasRole('referee')) View Assignments @endif Settings Switch Role
Recent Activity
Profile Updated
Updated personal information
2 hours ago
Password Changed
Successfully updated password
1 day ago
Account Created
Welcome to our platform!
{{ Auth::user()->created_at->diffForHumans() }}
Quick Stats
Profile Completion 75%
Activity Level High
Member since: {{ Auth::user()->created_at->format('M Y') }}
@endsection