From 0085570206a598a19c6bdfc307bc97f4a691fc2e Mon Sep 17 00:00:00 2001 From: pluja Date: Thu, 9 Jan 2025 17:49:19 +0100 Subject: [PATCH] style fixes --- .../templates/partials/service_card.templ | 58 +++++++++---------- 1 file changed, 27 insertions(+), 31 deletions(-) diff --git a/src/frontend/templates/partials/service_card.templ b/src/frontend/templates/partials/service_card.templ index 650ed0b..9ecf76f 100644 --- a/src/frontend/templates/partials/service_card.templ +++ b/src/frontend/templates/partials/service_card.templ @@ -25,39 +25,35 @@ func getScoreColor(s int) string { } templ ServiceCard(service *ent.Service) { - -
-
- { -
- - if service.Verified { - - } - { service.Name } - if !service.Pending { - { fmt.Sprintf("%d", service.Score) } - } else { - PENDING - } - - - { service.Description } - -
-
-