Revert "Add missing admin action files and navigation links"

This reverts commit 41be6835bf.
This commit is contained in:
Simo committed 2026-07-11 20:37:56 +02:00
1 parent 4a1e1115b3
commit 4d515bc400
338 files changed
+5949 -28144

No files matched your search

+3 -9
View File
@@ -69,9 +69,7 @@ export default async function AdminSubscriptions() {
</div>
<section className="mt-6">
<h2 className="admin-section-title">
{t("activeSubscriptions")} ({active.length})
</h2>
<h2 className="admin-section-title">{t("activeSubscriptions")} ({active.length})</h2>
<div className="admin-card">
<table>
<thead>
@@ -92,15 +90,11 @@ export default async function AdminSubscriptions() {
<td>{s.userId ?? "—"}</td>
<td>{s.subscriptionType ?? "—"}</td>
<td>
<span
className={`inline-block text-[0.72rem] font-bold px-2 py-0.5 rounded-full ${soon ? "bg-[var(--color-primary)]/18 text-[var(--color-text)]" : "bg-green-600/20 text-[var(--color-text)]"}`}
>
<span className={`inline-block text-[0.72rem] font-bold px-2 py-0.5 rounded-full ${soon ? "bg-[var(--color-primary)]/18 text-[var(--color-text)]" : "bg-green-600/20 text-[var(--color-text)]"}`}>
{soon ? t("statusExpiring") : t("statusActive")}
</span>
</td>
<td className="text-sm text-gray-500 dark:text-gray-400 whitespace-nowrap">
{fmt(s.expiresAt)}
</td>
<td className="text-sm text-gray-500 dark:text-gray-400 whitespace-nowrap">{fmt(s.expiresAt)}</td>
</tr>
);
})}