Skip to content

Commit 6359ad7

Browse files
committed
I forgot to push DiscordInviteBuilder
1 parent 232e9bf commit 6359ad7

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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+
}

0 commit comments

Comments
 (0)