mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-07-24 00:42:51 +10:00
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:
@@ -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,
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user