feat: 優化中央後台 UI (用語調整、移除連結) 與實作 RWD 支援
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 44s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped

This commit is contained in:
2026-01-16 10:14:59 +08:00
parent 8a9b8135bd
commit aa4143ccf1
6 changed files with 72 additions and 51 deletions

View File

@@ -45,7 +45,7 @@ export default function TenantShow({ tenant }: Props) {
};
return (
<LandlordLayout title="戶詳情">
<LandlordLayout title="戶詳情">
<div className="max-w-3xl space-y-6">
{/* Back Link */}
<Link
@@ -60,7 +60,7 @@ export default function TenantShow({ tenant }: Props) {
<div className="flex items-start justify-between">
<div>
<h1 className="text-2xl font-bold text-slate-900">{tenant.name}</h1>
<p className="text-slate-500 mt-1"> ID: {tenant.id}</p>
<p className="text-slate-500 mt-1"> ID: {tenant.id}</p>
</div>
<Link
href={`/landlord/tenants/${tenant.id}/edit`}
@@ -79,8 +79,8 @@ export default function TenantShow({ tenant }: Props) {
<dd className="mt-1">
<span
className={`px-2 py-1 rounded-full text-xs font-medium ${tenant.is_active
? "bg-green-100 text-green-700"
: "bg-slate-100 text-slate-600"
? "bg-green-100 text-green-700"
: "bg-slate-100 text-slate-600"
}`}
>
{tenant.is_active ? "啟用" : "停用"}