commit fe98b77128b2bf92e1baddcd989f7de2b80109d2
parent c51ec87285512cb1702f24589eb6aed138136415
Author: Andreas Gruhler <agruhl@gmx.ch>
Date: Fri, 23 Jan 2026 11:18:48 +0100
feat: change title setting and blue color
Diffstat:
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
@@ -111,6 +111,7 @@ the them and appearance of the leaderboard:
* `logoUrl`: Add url to a logo to replace the default logo in the footer
* `showLogo`: Set to "false" to hide the logo in the footer
* `showVersion`: Set to "false" to hide the version in the footer
+* `title`: Set header title for the event
## Development & contributions
For a list of contributors see the [AUTHORS.md](./AUTHORS.md).
diff --git a/src/frontend/App.jsx b/src/frontend/App.jsx
@@ -73,7 +73,7 @@ function Layout() {
<NavLink
className={({ isActive, isPending }) => isPending ? "pending" : isActive ? `active ${theme}.active` : ""}
to="/">
- Leaderboard
+ {settings.title ? settings.title : "Leaderboard"}
</NavLink>
</li>
{session.auth ? <li>
diff --git a/src/frontend/css/blue.css b/src/frontend/css/blue.css
@@ -1,10 +1,10 @@
nav.blue {
- background: #144780;
+ background: #44546e;
border-bottom: 1px solid white;
}
nav.blue a.active {
font-weight: bold;
- background: #145dae;
+ background: #556f99;
}
nav.blue a {
color: white;