Make application and logo configurable (#336)

* Adds settings for server name and logo

* Implements ApplicationLogo and replaces site name based on settings

* Refactors component for changing the company logo

* Removes unused variable

* Uses message instead of statusMessage

* Replaces favicon with logo if set
This commit is contained in:
Paco
2026-02-06 00:43:21 +00:00
committed by GitHub
parent 15f5986b07
commit af08472e45
27 changed files with 452 additions and 102 deletions
+9 -2
View File
@@ -43,13 +43,20 @@ import {
BuildingStorefrontIcon,
CodeBracketIcon,
ServerIcon,
ServerStackIcon,
} from "@heroicons/vue/24/outline";
const navigation: Array<NavigationItem & { icon: Component }> = [
{
label: $t("header.admin.settings.store"),
label: $t("header.admin.settings.general"),
route: "/admin/settings",
prefix: "/admin/settings",
icon: ServerIcon,
},
{
label: $t("header.admin.settings.store"),
route: "/admin/settings/store",
prefix: "/admin/settings/store",
icon: BuildingStorefrontIcon,
},
{
@@ -62,7 +69,7 @@ const navigation: Array<NavigationItem & { icon: Component }> = [
label: "Services",
route: "/admin/settings/services",
prefix: "/admin/settings/services",
icon: ServerIcon,
icon: ServerStackIcon,
},
];