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
+16
-10
@@ -43,7 +43,9 @@ export default async function RadioLayout({ children }: { children: ReactNode })
|
||||
marginBottom: "0.25rem",
|
||||
}}
|
||||
>
|
||||
<span aria-hidden style={{ fontSize: "1.2rem" }}>📻</span>
|
||||
<span aria-hidden style={{ fontSize: "1.2rem" }}>
|
||||
📻
|
||||
</span>
|
||||
Radio
|
||||
</Link>
|
||||
{RADIO_SIDEBAR_LINKS.map((link) => (
|
||||
@@ -63,18 +65,22 @@ export default async function RadioLayout({ children }: { children: ReactNode })
|
||||
transition: "background 0.15s",
|
||||
}}
|
||||
>
|
||||
<span aria-hidden style={{ flex: "none", fontSize: "1rem" }}>{link.icon}</span>
|
||||
{link.key === "schedule" ? t("linkSchedule") :
|
||||
link.key === "shouts" ? t("linkShouts") :
|
||||
link.key === "requests" ? t("linkRequests") :
|
||||
link.key === "apply" ? t("linkApply") :
|
||||
t("linkLeaderboard")}
|
||||
<span aria-hidden style={{ flex: "none", fontSize: "1rem" }}>
|
||||
{link.icon}
|
||||
</span>
|
||||
{link.key === "schedule"
|
||||
? t("linkSchedule")
|
||||
: link.key === "shouts"
|
||||
? t("linkShouts")
|
||||
: link.key === "requests"
|
||||
? t("linkRequests")
|
||||
: link.key === "apply"
|
||||
? t("linkApply")
|
||||
: t("linkLeaderboard")}
|
||||
</Link>
|
||||
))}
|
||||
</aside>
|
||||
<section style={{ flex: 1, minWidth: 0 }}>
|
||||
{children}
|
||||
</section>
|
||||
<section style={{ flex: 1, minWidth: 0 }}>{children}</section>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user