@php $user = Auth::user(); @endphp @extends('layouts.dashboard') @section('title', 'Dashboard ' . $user->role . ' | GrowUp') @section('cssExternal') @endsection @section('dashboard_content') {{-- HOME DASHBOARD MENTOR --}}
avatar.png
@if ($user->role == 'Mentor')
icon
Pendapatan Rp{{ number_format($salary) }}
icon
Total Kelas {{ $courses->count() }} Kelas
icon
Total Mentee {{ $transactions->count() }} Mentee
icon
Total Forum 20 Diskusi
icon
Rating Kelas @for ($i = 1; $i <= 5; $i++) @endfor
@else
icon
Total Kelas {{ $transactions->count() }} Kelas
icon
Total Mentor {{ $transactions->count() }} Mentor
icon
Total Forum 20 Diskusi
@endif
@endsection