@unless($kind==='overview')
{{ $kind==='overview' ? 'YOUR SWEDISH JOURNEY' : 'YOUR NEXT CHAPTER' }}

{{ ['overview'=>'Welcome, '.$user->name.'.','journey'=>'My journey.','tasks'=>'One task at a time.','checklist'=>'Your document checklist.','sfi'=>'Find your Swedish.','resources'=>'Go straight to the source.','onboarding'=>'Start where you are.'][$kind] }}

{{ $kind==='overview' ? 'A clear view of where you are, and what comes next.' : 'Your progress is self-reported. Check requirements with the relevant authority.' }}

@if($kind==='overview')View my journey @endif
@endunless @if(!$user->onboarded_at && $kind!=='onboarding')

Make this journey yours.

Add a starting point to put the relevant steps in view. You can skip anything you’re unsure about.

Set my starting point
@endif @if($kind==='onboarding')@include('app.onboarding') @elseif($kind==='overview') @include('app.overview') @elseif($kind==='journey')
@include('app.journey-stages')

Tasks can happen in parallel. Earlier stages do not lock later ones.

@elseif($kind==='tasks')
@foreach($tasks->where('is_sfi',false) as $task)@include('app.task')@endforeach
@if($user->hasPremium())@include('app.sharing')@endif @foreach($shared as $share)

Tasks shared with you

@foreach(\App\Models\Task::whereIn('id',$share->task_ids)->where('user_id',$share->owner_id)->get() as $task)@include('app.task',['collaborator'=>true])@endforeach
@endforeach @elseif($kind==='checklist')

Track preparation only. Keep documents in your own secure storage. SwedenStart does not accept files, document details or identity numbers. Check the official list for your route.

@foreach(config('journey.documents') as $i=>$label)
$checklist[$i]??false])>@csrf{{ $label }}
@endforeach
@elseif($kind==='sfi')
@foreach($tasks->where('is_sfi',true) as $task)@include('app.task')@endforeach
@elseif($kind==='resources')
@foreach($resources as $resource)@endforeach
@endif