Align Care header with other Ladill apps.
Deploy Ladill Care / deploy (push) Successful in 1m0s

Add Afia and notifications to the top bar, remove the duplicate desktop page
title, wire notification and AI routes, and fix mobile nav notification links.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-29 12:53:34 +00:00
co-authored by Cursor
parent 5411b10694
commit eaf6da5cdb
12 changed files with 378 additions and 15 deletions
+7 -7
View File
@@ -1,15 +1,15 @@
@php
$afiaGreeting = "Hi, I'm Afia 👋 Ask me about visitor check-in, kiosks, hosts, badges, devices, or setting up your reception desk";
$afiaGreeting = "Hi, I'm Afia 👋 Ask me about patients, appointments, the queue, consultations, lab requests, prescriptions, or billing";
$afiaSuggestions = [
'How do I set up a visitor kiosk?',
'How do I check a visitor in?',
'Where do I add reception desks?',
'How do hosts approve visits?',
'How do I register a new patient?',
'How does the patient queue work?',
'How do I start a consultation?',
'How do I request lab investigations?',
];
@endphp
{{-- Afia Ladill AI assistant slide-over. Opened via $dispatch('afia-open'). --}}
<div x-data="afia({
chatUrl: '{{ route('frontdesk.ai.chat') }}',
chatUrl: '{{ route('care.ai.chat') }}',
csrf: '{{ csrf_token() }}',
greeting: @js($afiaGreeting),
suggestions: @js($afiaSuggestions),
@@ -48,7 +48,7 @@
</span>
<div class="leading-tight">
<p class="text-sm font-semibold text-slate-900">Afia</p>
<p class="text-[11px] text-slate-400">Frontdesk assistant</p>
<p class="text-[11px] text-slate-400">Care assistant</p>
</div>
</div>
<div class="flex items-center gap-1">