feat: SPA polish — wrapup sections, shareable card, webhook instructions, blocked merge
Some checks failed
CI / Check / Test (push) Failing after 6m35s

This commit is contained in:
2026-06-04 16:56:09 +02:00
parent 49728f8cd7
commit a76386345f
10 changed files with 449 additions and 27 deletions

View File

@@ -5,7 +5,6 @@ import {
ArrowLeft,
ChevronRight,
Download,
Globe,
Key,
LogOut,
RefreshCw,
@@ -69,22 +68,13 @@ function SettingsPage() {
const social: SettingsItem[] = [
{
label: t("settings.blockedUsers"),
label: isAdmin ? t("settings.blockedUsersAndDomains") : t("settings.blockedUsers"),
description: isAdmin ? t("settings.blockedUsersDescAdmin") : t("settings.blockedUsersDesc"),
to: "/settings/blocked",
icon: <ShieldBan className="size-4" />,
},
]
if (isAdmin) {
social.push({
label: t("settings.blockedDomains"),
description: t("settings.blockedDomainsDesc"),
to: "/settings/blocked",
icon: <Globe className="size-4" />,
})
}
const handleLogout = () => {
logout()
navigate({ to: "/login" })