Reapply "Add missing admin action files and navigation links"

This reverts commit 4d515bc400.
This commit is contained in:
Simo committed 2026-07-11 20:52:56 +02:00
1 parent 96ed768f14
commit 5b4228261a
338 files changed
+28143 -5948

No files matched your search

+3 -12
View File
@@ -48,10 +48,7 @@ export default async function FriendsPage() {
})
.catch(() => [])
: Promise.resolve([]),
siteSettings.get(
"habbo_imaging_url",
"https://www.habbo.com/habbo-imaging/avatarimage",
),
siteSettings.get("habbo_imaging_url", "https://www.habbo.com/habbo-imaging/avatarimage"),
]);
return (
@@ -59,18 +56,12 @@ export default async function FriendsPage() {
<ContentCard
icon="🤝"
title={t("title")}
subtitle={
friends.length === 0
? t("emptySubtitle")
: t("subtitle", { count: friends.length })
}
subtitle={friends.length === 0 ? t("emptySubtitle") : t("subtitle", { count: friends.length })}
/>
<ContentCard padded={friends.length === 0}>
{friends.length === 0 ? (
<EmptyState icon="🤝">
{t("emptyState")}
</EmptyState>
<EmptyState icon="🤝">{t("emptyState")}</EmptyState>
) : (
<div className="card-grid sm-2 lg-3" style={{ padding: "1rem" }}>
{friends.map((friend) => {