Scope Afia assistant to Ladill Transfer.
Deploy Ladill Transfer / deploy (push) Successful in 45s

Replace Mini/QR Plus copy and system prompt with Transfer file-sharing context, suggestions, and dashboard metrics.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-08 10:11:27 +00:00
co-authored by Cursor
parent de999851d0
commit b09a72cefc
6 changed files with 82 additions and 57 deletions
+6 -6
View File
@@ -1,10 +1,10 @@
@php
$afiaGreeting = "Hi, I'm Afia 👋 Ask me about payment QRs — creating one, accepting payments, payouts, or the 5% platform fee";
$afiaGreeting = "Hi, I'm Afia 👋 Ask me about file transfers — uploading, share links, QR codes, retention, or storage billing";
$afiaSuggestions = [
'How do I create a payment QR?',
'How do customers pay me?',
'When do payouts reach my wallet?',
'What is the platform fee?',
'How do I create a new transfer?',
'How do recipients download my files?',
'How does storage billing work?',
'Can I password-protect a transfer?',
];
@endphp
{{-- Afia Ladill AI assistant slide-over. Opened via $dispatch('afia-open'). --}}
@@ -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">Mini assistant</p>
<p class="text-[11px] text-slate-400">Transfer assistant</p>
</div>
</div>
<div class="flex items-center gap-1">
+2 -2
View File
@@ -3,7 +3,7 @@
@php $fmt = fn ($m) => 'GHS '.number_format($m / 100, 2); @endphp
<div class="mx-auto max-w-3xl">
<h1 class="text-xl font-semibold tracking-tight text-slate-900">Wallet</h1>
<p class="mt-0.5 text-sm text-slate-500">Your Ladill wallet funds QR Plus and other Ladill apps.</p>
<p class="mt-0.5 text-sm text-slate-500">Your Ladill wallet funds Transfer storage and other Ladill apps.</p>
<div class="mt-6 rounded-2xl bg-gradient-to-br from-indigo-700 via-indigo-600 to-blue-500 p-6 text-white shadow-sm">
<p class="text-xs font-medium uppercase tracking-wide text-indigo-100">Balance</p>
<p class="mt-1 text-3xl font-semibold">{{ $fmt($balanceMinor) }}</p>
@@ -11,7 +11,7 @@
</div>
<div class="mt-4 grid gap-4 sm:grid-cols-2">
<div class="rounded-2xl border border-slate-200 bg-white p-5">
<p class="text-xs font-medium uppercase tracking-wide text-slate-400">Spent on QR Plus</p>
<p class="text-xs font-medium uppercase tracking-wide text-slate-400">Spent on Transfer</p>
<p class="mt-1.5 text-2xl font-semibold text-slate-900">{{ $fmt($spentMinor) }}</p>
</div>
<div class="rounded-2xl border border-slate-200 bg-white p-5">