From: TheSaminator Date: Mon, 14 Feb 2022 17:32:06 +0000 (-0500) Subject: Add link to profile pic X-Git-Url: https://gitweb.starshipfights.net/?a=commitdiff_plain;h=3aa66a4223a4dec2a20a149a4d238a035e3f9c5e;p=starship-fights Add link to profile pic --- diff --git a/src/jvmMain/kotlin/starshipfights/info/views_main.kt b/src/jvmMain/kotlin/starshipfights/info/views_main.kt index a9bcd7b..15b23fd 100644 --- a/src/jvmMain/kotlin/starshipfights/info/views_main.kt +++ b/src/jvmMain/kotlin/starshipfights/info/views_main.kt @@ -135,8 +135,10 @@ suspend fun ApplicationCall.newUsersPage(): HTML.() -> Unit { newUsers.forEach { newUser -> div { style = "display:inline-block;width:20%;padding:2%" - img(src = newUser.discordAvatarUrl) { - style = "width:100%;border-radius:50%" + a(href = "/user/${newUser.id}") { + img(src = newUser.discordAvatarUrl) { + style = "width:100%;border-radius:50%" + } } p { style = "text-align:center"