mirror of
https://github.com/imgfloat/server.git
synced 2026-02-05 11:49:25 +00:00
Add branding
This commit is contained in:
@@ -28,6 +28,8 @@ public class SecurityConfig {
|
|||||||
.authorizeHttpRequests(auth -> auth
|
.authorizeHttpRequests(auth -> auth
|
||||||
.requestMatchers(
|
.requestMatchers(
|
||||||
"/",
|
"/",
|
||||||
|
"/favicon.ico",
|
||||||
|
"/img/**",
|
||||||
"/css/**",
|
"/css/**",
|
||||||
"/js/**",
|
"/js/**",
|
||||||
"/webjars/**",
|
"/webjars/**",
|
||||||
|
|||||||
@@ -314,8 +314,6 @@ body {
|
|||||||
.brand-mark {
|
.brand-mark {
|
||||||
width: 40px;
|
width: 40px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
border-radius: 12px;
|
|
||||||
background: linear-gradient(135deg, #7c3aed, #4f46e5);
|
|
||||||
display: grid;
|
display: grid;
|
||||||
place-items: center;
|
place-items: center;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
|||||||
1
src/main/resources/static/img/brand.png
Symbolic link
1
src/main/resources/static/img/brand.png
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
../../assets/icon/raw.png
|
||||||
@@ -3,6 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<title>Imgfloat Admin</title>
|
<title>Imgfloat Admin</title>
|
||||||
|
<link rel="icon" href="/favicon.ico" />
|
||||||
<link rel="stylesheet" href="/css/styles.css" />
|
<link rel="stylesheet" href="/css/styles.css" />
|
||||||
<link
|
<link
|
||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<title>Imgfloat Broadcast</title>
|
<title>Imgfloat Broadcast</title>
|
||||||
|
<link rel="icon" href="/favicon.ico" />
|
||||||
<link rel="stylesheet" href="/css/styles.css" />
|
<link rel="stylesheet" href="/css/styles.css" />
|
||||||
<script src="https://cdn.jsdelivr.net/npm/sockjs-client@1/dist/sockjs.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/sockjs-client@1/dist/sockjs.min.js"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/stompjs@2.3.3/lib/stomp.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/stompjs@2.3.3/lib/stomp.min.js"></script>
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<title>Browse channels - Imgfloat</title>
|
<title>Browse channels - Imgfloat</title>
|
||||||
|
<link rel="icon" href="/favicon.ico" />
|
||||||
<link rel="stylesheet" href="/css/styles.css" />
|
<link rel="stylesheet" href="/css/styles.css" />
|
||||||
</head>
|
</head>
|
||||||
<body class="channels-body">
|
<body class="channels-body">
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<title>Imgfloat Dashboard</title>
|
<title>Imgfloat Dashboard</title>
|
||||||
|
<link rel="icon" href="/favicon.ico" />
|
||||||
<link rel="stylesheet" href="/css/styles.css" />
|
<link rel="stylesheet" href="/css/styles.css" />
|
||||||
</head>
|
</head>
|
||||||
<body class="dashboard-body">
|
<body class="dashboard-body">
|
||||||
<div class="dashboard-shell">
|
<div class="dashboard-shell">
|
||||||
<header class="dashboard-topbar">
|
<header class="dashboard-topbar">
|
||||||
<div class="brand">
|
<div class="brand">
|
||||||
<div class="brand-mark">IF</div>
|
<img class="brand-mark" src="/img/brand.png"/>
|
||||||
<div>
|
<div>
|
||||||
<div class="brand-title">Imgfloat</div>
|
<div class="brand-title">Imgfloat</div>
|
||||||
<div class="brand-subtitle">Twitch overlay manager</div>
|
<div class="brand-subtitle">Twitch overlay manager</div>
|
||||||
@@ -122,7 +123,7 @@
|
|||||||
<a
|
<a
|
||||||
class="button block"
|
class="button block"
|
||||||
th:href="'https://github.com/Kruhlmann/imgfloat-j/releases/download/' + ${releaseVersion} + '/Imgfloat-' + ${releaseVersion} + '-arm64.dmg'"
|
th:href="'https://github.com/Kruhlmann/imgfloat-j/releases/download/' + ${releaseVersion} + '/Imgfloat-' + ${releaseVersion} + '-arm64.dmg'"
|
||||||
>Download .dmg</a
|
>Download DMG</a
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
<div class="download-card" data-platform="windows">
|
<div class="download-card" data-platform="windows">
|
||||||
@@ -134,7 +135,7 @@
|
|||||||
<a
|
<a
|
||||||
class="button block"
|
class="button block"
|
||||||
th:href="'https://github.com/Kruhlmann/imgfloat-j/releases/download/' + ${releaseVersion} + '/Imgfloat.Setup.' + ${releaseVersion} + '.exe'"
|
th:href="'https://github.com/Kruhlmann/imgfloat-j/releases/download/' + ${releaseVersion} + '/Imgfloat.Setup.' + ${releaseVersion} + '.exe'"
|
||||||
>Download .exe</a
|
>Download EXE</a
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
<div class="download-card" data-platform="linux">
|
<div class="download-card" data-platform="linux">
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<title>Imgfloat - Twitch overlay</title>
|
<title>Imgfloat - Twitch overlay</title>
|
||||||
|
<link rel="icon" href="/favicon.ico" />
|
||||||
<link rel="stylesheet" href="/css/styles.css" />
|
<link rel="stylesheet" href="/css/styles.css" />
|
||||||
</head>
|
</head>
|
||||||
<body class="landing-body">
|
<body class="landing-body">
|
||||||
<div class="landing">
|
<div class="landing">
|
||||||
<header class="landing-header">
|
<header class="landing-header">
|
||||||
<div class="brand">
|
<div class="brand">
|
||||||
<div class="brand-mark">IF</div>
|
<img class="brand-mark" src="/img/brand.png"/>
|
||||||
<div>
|
<div>
|
||||||
<div class="brand-title">Imgfloat</div>
|
<div class="brand-title">Imgfloat</div>
|
||||||
<div class="brand-subtitle">Twitch overlay manager</div>
|
<div class="brand-subtitle">Twitch overlay manager</div>
|
||||||
@@ -44,7 +45,7 @@
|
|||||||
<a
|
<a
|
||||||
class="button block"
|
class="button block"
|
||||||
th:href="'https://github.com/Kruhlmann/imgfloat-j/releases/download/' + ${releaseVersion} + '/Imgfloat-' + ${releaseVersion} + '-arm64.dmg'"
|
th:href="'https://github.com/Kruhlmann/imgfloat-j/releases/download/' + ${releaseVersion} + '/Imgfloat-' + ${releaseVersion} + '-arm64.dmg'"
|
||||||
>Download .dmg</a
|
>Download DMG</a
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
<div class="download-card" data-platform="windows">
|
<div class="download-card" data-platform="windows">
|
||||||
@@ -56,7 +57,7 @@
|
|||||||
<a
|
<a
|
||||||
class="button block"
|
class="button block"
|
||||||
th:href="'https://github.com/Kruhlmann/imgfloat-j/releases/download/' + ${releaseVersion} + '/Imgfloat.Setup.' + ${releaseVersion} + '.exe'"
|
th:href="'https://github.com/Kruhlmann/imgfloat-j/releases/download/' + ${releaseVersion} + '/Imgfloat.Setup.' + ${releaseVersion} + '.exe'"
|
||||||
>Download .exe</a
|
>Download EXE</a
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
<div class="download-card" data-platform="linux">
|
<div class="download-card" data-platform="linux">
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<title>Imgfloat Admin</title>
|
<title>Imgfloat Admin</title>
|
||||||
|
<link rel="icon" href="/favicon.ico" />
|
||||||
<link rel="stylesheet" href="/css/styles.css" />
|
<link rel="stylesheet" href="/css/styles.css" />
|
||||||
<link
|
<link
|
||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
|
|||||||
Reference in New Issue
Block a user