<?php $this->extend('layouts/main'); ?>

<?php $this->section('title'); ?>
Dashboard
<?php $this->endSection(); ?>

<?php $this->section('content'); ?>
<div class="mx-auto max-w-4xl rounded-xl border border-slate-200 bg-white p-6 shadow-sm">
    <h1 class="text-2xl font-semibold text-slate-900">Dashboard</h1>
    <p class="mt-2 text-slate-600">
        Layout admin memakai struktur partial CI4 (<code>extend</code> / <code>section</code>) dan aset TailAdmin di
        <code><?= esc(base_url('assets/tailadmin/')) ?></code>.
    </p>
    <ul class="mt-4 list-inside list-disc text-sm text-slate-600">
        <li>API mobile: <code class="rounded bg-slate-100 px-1">POST <?= esc(site_url('api/mobile/login')) ?></code></li>
        <li>Endpoint login JSON (opsional): <code class="rounded bg-slate-100 px-1">POST <?= esc(site_url('json/login')) ?></code></li>
    </ul>
</div>
<?php $this->endSection(); ?>
