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

+9 -29
View File
@@ -64,31 +64,21 @@ export default async function VerifyPage({
<main style={{ maxWidth: 480, margin: "2rem auto" }}>
{status === "verified" && (
<ContentCard icon="✅" title={t("verifiedTitle")} subtitle={t("verifiedSubtitle")}>
<p className="muted" style={{ marginTop: 0 }}>
{t("verifiedBody")}
</p>
<Link href="/login" className="btn btn-primary">
{t("goToLogin")}
</Link>
<p className="muted" style={{ marginTop: 0 }}>{t("verifiedBody")}</p>
<Link href="/login" className="btn btn-primary">{t("goToLogin")}</Link>
</ContentCard>
)}
{status === "already" && (
<ContentCard icon="✅" title={t("alreadyTitle")} subtitle={t("alreadySubtitle")}>
<p className="muted" style={{ marginTop: 0 }}>
{t("alreadyBody")}
</p>
<Link href="/login" className="btn btn-primary">
{t("goToLogin")}
</Link>
<p className="muted" style={{ marginTop: 0 }}>{t("alreadyBody")}</p>
<Link href="/login" className="btn btn-primary">{t("goToLogin")}</Link>
</ContentCard>
)}
{status === "unavailable" && (
<ContentCard icon="⏳" title={t("unavailableTitle")} subtitle={t("unavailableSubtitle")}>
<p className="muted" style={{ margin: 0 }}>
{t("unavailableBody")}
</p>
<p className="muted" style={{ margin: 0 }}>{t("unavailableBody")}</p>
</ContentCard>
)}
@@ -96,9 +86,7 @@ export default async function VerifyPage({
<ContentCard icon="📧" title={t("invalidTitle")} subtitle={t("invalidSubtitle")}>
<EmptyState icon="🔗">{t("invalidBody")}</EmptyState>
<div style={{ textAlign: "center" }}>
<Link href="/login" className="btn btn-outline">
{t("backToLogin")}
</Link>
<Link href="/login" className="btn btn-outline">{t("backToLogin")}</Link>
</div>
</ContentCard>
)}
@@ -106,19 +94,13 @@ export default async function VerifyPage({
{status === "discord" && (
<ContentCard icon="🎮" title="Verifieer via Discord" subtitle="Koppel je Discord account">
{linked === "1" && (
<div
className="rounded-md p-4 text-center mb-4"
style={{ backgroundColor: "#14532d", color: "white" }}
>
<div className="rounded-md p-4 text-center mb-4" style={{ backgroundColor: "#14532d", color: "white" }}>
<p className="text-lg font-bold mb-1">Gelinkt!</p>
<p className="text-sm opacity-90">Je Discord account is gekoppeld. Je kunt nu verder.</p>
</div>
)}
{discordAlreadyLinked ? (
<div
className="rounded-md p-4 text-center"
style={{ backgroundColor: "#14532d", color: "white" }}
>
<div className="rounded-md p-4 text-center" style={{ backgroundColor: "#14532d", color: "white" }}>
<p className="text-lg font-bold mb-1">Al geverifieerd!</p>
<p className="text-sm opacity-90">Je Discord account is al gekoppeld aan dit account.</p>
</div>
@@ -126,9 +108,7 @@ export default async function VerifyPage({
<DiscordVerifyForm />
)}
<div style={{ textAlign: "center", marginTop: "1rem" }}>
<Link href="/" className="btn btn-primary">
Naar home
</Link>
<Link href="/" className="btn btn-primary">Naar home</Link>
</div>
</ContentCard>
)}