diff --git a/src/frontend/templates/attribute.html b/src/frontend/templates/attribute.html index 59966aa..0cdb8cd 100644 --- a/src/frontend/templates/attribute.html +++ b/src/frontend/templates/attribute.html @@ -1,14 +1,13 @@ - + - + - + {{if eq "info" .Attribute.Rating}} 🔵 {{end}} @@ -36,9 +35,9 @@ - - Services with this point: - + + Services with this point: + {{range .Services}} {{partial "partials/service_card" .}} {{end}} diff --git a/src/frontend/templates/index.html b/src/frontend/templates/index.html index bb6db22..cd49e5f 100644 --- a/src/frontend/templates/index.html +++ b/src/frontend/templates/index.html @@ -1,17 +1,19 @@ - - - - - - - - - {{.Announcement.Title}} - {{.Announcement.Body}} - - + + + + + + + + + + {{.Announcement.Title}} + {{.Announcement.Body}} + + + @@ -24,44 +26,44 @@ - + - - + + btc - + xmr - + ln - + fiat - + cash - filter @@ -72,11 +74,11 @@ class="p-1 {{if eq "" .Filters.Type}}border-b border-lime-500/60 text-lime-500{{end}} text-xs">All - Exchanges - Services @@ -84,8 +86,8 @@ - - + + {{range .Services}} {{partial "partials/service_card" .}} {{end}} diff --git a/src/frontend/templates/layouts/main.html b/src/frontend/templates/layouts/main.html index 37697ba..bd8305d 100644 --- a/src/frontend/templates/layouts/main.html +++ b/src/frontend/templates/layouts/main.html @@ -52,39 +52,40 @@ {{end}} - - - - - - - - + + + + + + - - - Home - Request - About - Support - - + + + + Home + + + + Request + + + About + + + Support + diff --git a/src/frontend/templates/partials/service_card.html b/src/frontend/templates/partials/service_card.html index 4d557b0..d96301d 100644 --- a/src/frontend/templates/partials/service_card.html +++ b/src/frontend/templates/partials/service_card.html @@ -1,39 +1,59 @@ {{/* service_card.html */}} - - - - - - - - - {{if .Verified}} - - - - - {{end}} - {{.Name}} - + + + + + + + + + {{if .Verified}} + + + + + {{end}} {{.Name}} + - {{if isNew .Created}} - - ✨ NEW - - {{end}} - - {{.Score}} - - - {{shortText - .Description | safe}} - - - - - - - {{if eq .Type "exchange"}} - - {{.Type}} - - {{else}} - - {{.Category}} - - {{end}} - {{partial "partials/service_icons" .}} + text-white/70" + > + {{.Score}} + + {{shortText .Description | safe}} + + - \ No newline at end of file + + + {{if eq .Type "exchange"}} + + {{.Type}} + + {{else}} + + {{.Category}} + + {{end}} {{partial "partials/service_icons" .}} + + + +