Add hero section to My Links index with wallet stats and balance gate.
Deploy Ladill Link / deploy (push) Successful in 41s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-04 23:53:41 +00:00
co-authored by Cursor
parent 5e87debe32
commit 99a0cdb013
2 changed files with 63 additions and 11 deletions
@@ -32,10 +32,15 @@ class LinkController extends Controller
->latest()
->paginate(20);
$wallet = $account->getOrCreateLinkWallet();
return view('links.index', [
'links' => $links,
'wallet' => $wallet,
'balance' => $this->billing->balanceCedis($account),
'canCreate' => $this->billing->canCreate($account),
'pricePerLink' => \App\Models\LinkWallet::pricePerLink(),
'topupUrl' => ladill_account_url('wallet'),
]);
}