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
@@ -0,0 +1,15 @@
-- DropIndex
DROP INDEX "Game_mName_idx";
-- DropIndex
DROP INDEX "GameTag_name_idx";
-- AlterTable
ALTER TABLE "ApplicationSettings" ADD COLUMN "mLogoObjectId" TEXT,
ADD COLUMN "serverName" TEXT NOT NULL DEFAULT 'Drop';
-- CreateIndex
CREATE INDEX "Game_mName_idx" ON "Game" USING GIST ("mName" gist_trgm_ops(siglen=32));
-- CreateIndex
CREATE INDEX "GameTag_name_idx" ON "GameTag" USING GIST ("name" gist_trgm_ops(siglen=32));
+2
View File
@@ -8,6 +8,8 @@ model ApplicationSettings {
saveSlotHistoryLimit Int @default(3)
showGamePanelTextDecoration Boolean @default(true)
serverName String @default("Drop")
mLogoObjectId String?
}
enum Platform {