Commit 6359ad7 1 parent 232e9bf commit 6359ad7 Copy full SHA for 6359ad7
File tree 1 file changed +30
-0
lines changed
web/src/main/kotlin/net/cakeyfox/foxy/web/frontend/info
1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ package net.cakeyfox.foxy.web.frontend.info
2
+
3
+ import kotlinx.html.*
4
+ import kotlinx.html.stream.createHTML
5
+
6
+ class DiscordInviteBuilder {
7
+ fun build (): String {
8
+ return createHTML().html {
9
+ body {
10
+ div(" discord-invite-wrapper" ) {
11
+ div(" discord-invite-title" ) { + " Você foi convidado(a) a entrar em um servidor" }
12
+ div(" discord-server-details" ) {
13
+ div(" discord-server-icon" ) {
14
+ img { src = " /assets/icons/supportserver.png" }
15
+ }
16
+
17
+ div(" discord-server-info" ) {
18
+ div(" discord-server-name" ) { + " Cafeteria da Foxy ☕" }
19
+ }
20
+
21
+ a(href = " https://discord.gg/6mG2xDtuZD" , target = " _blank" ) {
22
+ classes = setOf (" discord-server-button" )
23
+ + " Juntar-se"
24
+ }
25
+ }
26
+ }
27
+ }
28
+ }
29
+ }
30
+ }
You can’t perform that action at this time.
0 commit comments