Add missing admin action files and navigation links

- Add 11 missing server action files: badges, bulk-users, catalog, catalog-bc, catalog-items, import-badges, import-furni, multi-account-detect, permissions, rooms, soundtracks
- Add missing admin navigation links: tickets, sounds, translations, import, radio sub-pages
- Add translation keys for all new navigation items
This commit is contained in:
openhands committed 2026-07-11 12:01:05 +02:00
1 parent 7e1ae17a3b
commit 41be6835bf
347 files changed
+28378 -6091

No files matched your search

+23 -15
View File
@@ -29,11 +29,7 @@ export default async function NewsPage() {
return (
<main style={{ display: "grid", gap: "1.5rem" }}>
<ContentCard
icon="📰"
title={t("title")}
subtitle={t("subtitle")}
/>
<ContentCard icon="📰" title={t("title")} subtitle={t("subtitle")} />
<ContentCard padded={articles.length === 0}>
{articles.length === 0 ? (
@@ -55,27 +51,39 @@ export default async function NewsPage() {
>
{a.image ? (
<div style={{ position: "relative", width: "100%", aspectRatio: "16/9" }}>
<Image
src={a.image}
alt=""
fill
style={{ objectFit: "cover" }}
unoptimized
/>
<Image src={a.image} alt="" fill style={{ objectFit: "cover" }} unoptimized />
</div>
) : (
<div
style={{ width: "100%", aspectRatio: "16/9", backgroundColor: "color-mix(in srgb, var(--color-primary) 10%, var(--color-navbar))" }}
style={{
width: "100%",
aspectRatio: "16/9",
backgroundColor: "color-mix(in srgb, var(--color-primary) 10%, var(--color-navbar))",
}}
/>
)}
<div style={{ padding: "1rem 1.1rem", flex: 1, display: "flex", flexDirection: "column" }}>
<h3 style={{ margin: 0, fontSize: "1.05rem", color: "var(--color-navbar-text)", lineHeight: 1.4 }}>
<h3
style={{
margin: 0,
fontSize: "1.05rem",
color: "var(--color-navbar-text)",
lineHeight: 1.4,
}}
>
{a.title}
</h3>
<p className="muted" style={{ margin: "0.35rem 0 0.6rem", fontSize: "0.78rem" }}>
{formatDate(a.createdAt)}
</p>
<p style={{ margin: 0, color: "var(--color-navbar-text)", fontSize: "0.88rem", lineHeight: 1.55 }}>
<p
style={{
margin: 0,
color: "var(--color-navbar-text)",
fontSize: "0.88rem",
lineHeight: 1.55,
}}
>
{excerpt(a.shortStory, 150)}
</p>
</div>