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
+14 -2
View File
@@ -77,8 +77,8 @@
},
"actions": "Actions",
"add": "Add",
"adminTitle": "Admin Dashboard - Drop",
"adminTitleTemplate": "{0} - Admin - Drop",
"adminTitle": "Admin Dashboard - {0}",
"adminTitleTemplate": "{0} - Admin - {1}",
"auth": {
"2fa": {
"backToOptions": "{arrow} Back to options",
@@ -330,6 +330,7 @@
"library": "Library",
"metadata": "Meta",
"settings": {
"general": "General Settings",
"store": "Store",
"title": "Settings",
"tokens": "API tokens"
@@ -617,6 +618,17 @@
},
"settings": {
"admin": {
"general": {
"applicationLogo": "Application logo",
"customLogo": "Custom logo",
"defaultLogo": "Default logo",
"logo": "Logo",
"serverName": "Server name",
"serverNameDescription": "The name of the server",
"serverNamePlaceholder": "My Drop Instance",
"title": "General settings",
"uploadLogo": "Upload logo"
},
"store": {
"dropGameAltPlaceholder": "Example Game icon",
"dropGameDescriptionPlaceholder": "This is an example game. It will be replaced if you import a game.",