{{ __('User Guide & Help Center') }}

{{ __('Learn what each feature does, how it works, and why it matters — with pictures and short videos for every role.') }}

@php $roleIcons = ['admin' => 'shield', 'teacher' => 'academic-cap', 'student' => 'graduation-cap', 'guardian' => 'user-group']; $roleLabels = ['admin' => __('Admin'), 'teacher' => __('Teacher'), 'student' => __('Student'), 'guardian' => __('Guardian')]; @endphp
@foreach($roles as $role) @endforeach
@foreach($roles as $role) @php $articles = $articlesByRole->get($role, collect()); @endphp
@forelse($articles as $article) @php $hasImage = (bool) $article->image_path; $hasVideo = (bool) $article->videoEmbedUrl(); @endphp

{{ $article->title }}

@if($article->what_is_it)

{{ __('What is it?') }}

{{ $article->what_is_it }}

@endif @if($article->how_it_works)

{{ __('How does it work?') }}

{{ $article->how_it_works }}

@endif @if($article->why_it_matters)

{{ __('Why this matters') }}

{{ $article->why_it_matters }}

@endif
@if($hasImage && $hasVideo)
{{ $article->title }}
@elseif($hasImage)
{{ $article->title }}
@elseif($hasVideo)
@endif
@empty

{{ __('Guide articles for this role are coming soon.') }}

@endforelse
@endforeach