aboutsummaryrefslogtreecommitdiff
path: root/cmd/mi
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2025-01-12 16:58:50 -0500
committerXe Iaso <me@xeiaso.net>2025-01-12 16:58:50 -0500
commit583fad573e8342cbf063f46619cf9da4c9bfb734 (patch)
tree3afcc2716d4c0affc09ff571421f75d4e38c65cc /cmd/mi
parent674fb0b22243dc49b2865c48a42a30243e535d29 (diff)
downloadx-583fad573e8342cbf063f46619cf9da4c9bfb734.tar.xz
x-583fad573e8342cbf063f46619cf9da4c9bfb734.zip
cmd/mi/services/glance: frosted glass is cool
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'cmd/mi')
-rw-r--r--cmd/mi/services/glance/glance.templ4
-rw-r--r--cmd/mi/services/glance/glance_templ.go2
2 files changed, 2 insertions, 4 deletions
diff --git a/cmd/mi/services/glance/glance.templ b/cmd/mi/services/glance/glance.templ
index 88889a3..af14846 100644
--- a/cmd/mi/services/glance/glance.templ
+++ b/cmd/mi/services/glance/glance.templ
@@ -7,17 +7,15 @@ import (
)
templ whoIsFront(sw *models.Switch) {
- <div class="cards-vertical">
<div class="widget-content-frame relative">
<div class="reddit-card-thumbnail-container">
<img class="reddit-card-thumbnail cached finished-transition" loading="lazy" src={ sw.Member.AvatarURL } alt="">
</div>
- <div class="padding-widget relative">
+ <div class="padding-widget relative" style="padding-top: 12rem;">
<p><span class="color-primary">{sw.Member.Name}</span> is front</p>
<p>Change logged <span data-dynamic-relative-time={ fmt.Sprint(sw.CreatedAt.Unix()) }></span> ago</p>
</div>
- </div>
</div>
}
diff --git a/cmd/mi/services/glance/glance_templ.go b/cmd/mi/services/glance/glance_templ.go
index b1a9414..548ef89 100644
--- a/cmd/mi/services/glance/glance_templ.go
+++ b/cmd/mi/services/glance/glance_templ.go
@@ -48,7 +48,7 @@ func whoIsFront(sw *models.Switch) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, "\" alt=\"\"></div><div class=\"padding-widget relative\"><p><span class=\"color-primary\">")
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, "\" alt=\"\"></div><div class=\"padding-widget relative\" style=\"padding-top: 12rem;\"><p><span class=\"color-primary\">")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}