File tree Expand file tree Collapse file tree 3 files changed +125
-0
lines changed
src/main/resources/static Expand file tree Collapse file tree 3 files changed +125
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ dependencies {
2424 implementation(" org.springframework.boot:spring-boot:3.3.0" )
2525 implementation(" org.springframework.cloud:spring-cloud-config-server:4.2.2" )
2626 implementation(" ch.qos.logback:logback-classic:1.5.6" )
27+ implementation(" org.springframework.boot:spring-boot-starter-web:3.3.0" )
2728}
2829
2930fun versionFromGit (): String {
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="UTF-8 ">
5+ < title > Lavalink Config Server</ title >
6+ < link rel ="icon " href ="lavalink.svg " type ="image/png ">
7+ < style >
8+ body {
9+ background-color : # ff624a ;
10+ color : # ffffff ;
11+ font-family : Arial, sans-serif;
12+ text-align : center;
13+ padding-top : 100px ;
14+ transition : background-color 0.3s ease, color 0.3s ease;
15+ }
16+ img {
17+ width : 150px ;
18+ margin-bottom : 30px ;
19+ }
20+ h1 {
21+ font-size : 36px ;
22+ margin-bottom : 20px ;
23+ }
24+ a .button {
25+ display : inline-block;
26+ padding : 12px 24px ;
27+ background-color : # ff624a ;
28+ color : # ffffff ;
29+ text-decoration : none;
30+ border-radius : 20px ;
31+ font-size : 18px ;
32+ transition : background-color 0.3s ease, color 0.3s ease;
33+ }
34+ a .button : hover {
35+ background-color : # e65c00 ;
36+ }
37+ @media (prefers-color-scheme : dark) {
38+ body {
39+ background-color : # 1e1e1e ;
40+ color : # ffffff ;
41+ }
42+
43+ a .button {
44+ background-color : # ff624a ;
45+ color : # ffffff ;
46+ }
47+
48+ a .button : hover {
49+ background-color : # e65c00 ;
50+ }
51+ }
52+ @media (prefers-color-scheme : light) {
53+ body {
54+ background-color : # ffffff ;
55+ color : # 000000 ;
56+ }
57+
58+ a .button {
59+ background-color : # ff624a ;
60+ color : # ffffff ;
61+ }
62+
63+ a .button : hover {
64+ background-color : # e65c00 ;
65+ }
66+ }
67+ </ style >
68+ </ head >
69+ < body >
70+ < img src ="lavalink.svg " alt ="Lavalink Logo ">
71+ < h1 > Lavalink Config Server</ h1 >
72+ < a href ="https://feature-remote-config.lavalink-bne.pages.dev/configuration/config/config-server.html " class ="button "> Docs</ a >
73+ </ body >
74+ </ html >
You can’t perform that action at this time.
0 commit comments