@php
$area = $role ?? null;
$heading = match ($area) {
'parent' => 'Parent Login',
'student' => 'Student Login',
'teacher' => 'Teacher Login',
default => 'Welcome back',
};
$hint = match ($area) {
'parent' => 'Sign in with your parent/guardian account to follow your children.',
'teacher' => 'Sign in with your teacher account to open your teaching workspace.',
default => 'Sign in with your student or parent account to continue.',
};
@endphp
{{ $heading }}
{{ $hint }}
@if ($errors->any())
@foreach ($errors->all() as $error)
{{ $error }}
@endforeach
@endif
Trouble signing in? Use “Forgot password?” above or contact the school office.