Reapply "Add missing admin action files and navigation links"
This reverts commit 4d515bc400.
This commit is contained in:
1 parent
96ed768f14
commit
5b4228261a
338 files changed
+28143
-5948
No files matched your search
+29
-9
@@ -64,21 +64,31 @@ 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>
|
||||
)}
|
||||
|
||||
@@ -86,7 +96,9 @@ 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>
|
||||
)}
|
||||
@@ -94,13 +106,19 @@ 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>
|
||||
@@ -108,7 +126,9 @@ 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>
|
||||
)}
|
||||
|
||||
Reference in new issue
Block a user