Add Ladill Link URL shortener on ladl.link.

Management UI at link.ladill.com with GHS 0.05 per link wallet billing,
click analytics, and legacy fallback to ladill.com/q for QR ecosystem codes.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-27 10:58:41 +00:00
co-authored by Cursor
parent 04e4f6ab51
commit d9c91ad7d8
30 changed files with 1002 additions and 247 deletions
@@ -0,0 +1,28 @@
<?php
namespace App\Http\Controllers\Link;
use App\Http\Controllers\Controller;
use App\Models\ShortLink;
use Illuminate\View\View;
class OverviewController extends Controller
{
public function index(): View
{
$account = ladill_account();
$wallet = $account->getOrCreateLinkWallet();
$recentLinks = ShortLink::query()
->where('user_id', $account->id)
->latest()
->limit(5)
->get();
return view('links.dashboard', [
'wallet' => $wallet,
'recentLinks' => $recentLinks,
'pricePerLink' => \App\Models\LinkWallet::pricePerLink(),
]);
}
}