@props(['activePage', 'role', 'studentId', 'teacherId'])

@if ($role === 'admin')
  <x-navbars.admin_sidebar
    activePage="{{ $activePage }}"></x-navbars.admin_sidebar>
@elseif ($role === 'teacher')
  <x-navbars.teacher_sidebar
    activePage="{{ $activePage }}"
    teacherId="{{ $teacherId }}"
  ></x-navbars.teacher_sidebar>
@elseif ($role === 'debug')
  <x-navbars.debug_sidebar
    activePage="{{ $activePage }}"></x-navbars.debug_sidebar>
@else
  <x-navbars.student_sidebar
    activePage="{{ $activePage }}"
    studentId="{{ $studentId }}"
  ></x-navbars.student_sidebar>
@endif
