feat: integrate custom branding, time-based themes, and LXGW font directly into frontend

This commit is contained in:
Bot
2026-04-16 16:59:01 +08:00
parent 191d44bfd0
commit cb436904ea
6 changed files with 79 additions and 5 deletions
-3
View File
@@ -70,10 +70,8 @@ function Header() {
const siteName = settingData?.data?.config?.site_name;
// @ts-expect-error CustomLogo is a global variable
const customLogo = window.CustomLogo || "/apple-touch-icon.png";
// @ts-expect-error CustomDesc is a global variable
const customDesc = window.CustomDesc || t("nezha");
const customMobileBackgroundImage =
@@ -208,7 +206,6 @@ type links = {
};
function Links() {
// @ts-expect-error CustomLinks is a global variable
const customLinks = window.CustomLinks as string;
const links: links[] | null = customLinks ? JSON.parse(customLinks) : null;