From 134a1fc6edccd104964dc0f1941aeb41cbfda090 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kr=C3=BChlmann?= Date: Mon, 5 Jan 2026 14:19:55 +0100 Subject: [PATCH] Add branding --- .../java/dev/kruhlmann/imgfloat/config/SecurityConfig.java | 2 ++ src/main/resources/static/css/styles.css | 2 -- src/main/resources/static/img/brand.png | 1 + src/main/resources/templates/admin.html | 1 + src/main/resources/templates/broadcast.html | 1 + src/main/resources/templates/channels.html | 1 + src/main/resources/templates/dashboard.html | 7 ++++--- src/main/resources/templates/index.html | 7 ++++--- src/main/resources/templates/settings.html | 1 + 9 files changed, 15 insertions(+), 8 deletions(-) create mode 120000 src/main/resources/static/img/brand.png diff --git a/src/main/java/dev/kruhlmann/imgfloat/config/SecurityConfig.java b/src/main/java/dev/kruhlmann/imgfloat/config/SecurityConfig.java index b0cc5e6..ec8e78d 100644 --- a/src/main/java/dev/kruhlmann/imgfloat/config/SecurityConfig.java +++ b/src/main/java/dev/kruhlmann/imgfloat/config/SecurityConfig.java @@ -28,6 +28,8 @@ public class SecurityConfig { .authorizeHttpRequests(auth -> auth .requestMatchers( "/", + "/favicon.ico", + "/img/**", "/css/**", "/js/**", "/webjars/**", diff --git a/src/main/resources/static/css/styles.css b/src/main/resources/static/css/styles.css index ca11804..f2fbdee 100644 --- a/src/main/resources/static/css/styles.css +++ b/src/main/resources/static/css/styles.css @@ -314,8 +314,6 @@ body { .brand-mark { width: 40px; height: 40px; - border-radius: 12px; - background: linear-gradient(135deg, #7c3aed, #4f46e5); display: grid; place-items: center; font-weight: 700; diff --git a/src/main/resources/static/img/brand.png b/src/main/resources/static/img/brand.png new file mode 120000 index 0000000..1d154ac --- /dev/null +++ b/src/main/resources/static/img/brand.png @@ -0,0 +1 @@ +../../assets/icon/raw.png \ No newline at end of file diff --git a/src/main/resources/templates/admin.html b/src/main/resources/templates/admin.html index e948270..ca58f16 100644 --- a/src/main/resources/templates/admin.html +++ b/src/main/resources/templates/admin.html @@ -3,6 +3,7 @@ Imgfloat Admin + Imgfloat Broadcast + diff --git a/src/main/resources/templates/channels.html b/src/main/resources/templates/channels.html index 7074cf1..b81ec3a 100644 --- a/src/main/resources/templates/channels.html +++ b/src/main/resources/templates/channels.html @@ -3,6 +3,7 @@ Browse channels - Imgfloat + diff --git a/src/main/resources/templates/dashboard.html b/src/main/resources/templates/dashboard.html index 9f23095..2338567 100644 --- a/src/main/resources/templates/dashboard.html +++ b/src/main/resources/templates/dashboard.html @@ -3,13 +3,14 @@ Imgfloat Dashboard +
-
IF
+
Imgfloat
Twitch overlay manager
@@ -122,7 +123,7 @@ Download .dmgDownload DMG
@@ -134,7 +135,7 @@ Download .exeDownload EXE
diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 670aa56..de94a3a 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -3,13 +3,14 @@ Imgfloat - Twitch overlay +
-
IF
+
Imgfloat
Twitch overlay manager
@@ -44,7 +45,7 @@ Download .dmgDownload DMG
@@ -56,7 +57,7 @@ Download .exeDownload EXE
diff --git a/src/main/resources/templates/settings.html b/src/main/resources/templates/settings.html index 2952d26..0ab209e 100644 --- a/src/main/resources/templates/settings.html +++ b/src/main/resources/templates/settings.html @@ -3,6 +3,7 @@ Imgfloat Admin +