diff --git a/src/frontend/templates/service.templ b/src/frontend/templates/service.templ index dc56355..e847795 100644 --- a/src/frontend/templates/service.templ +++ b/src/frontend/templates/service.templ @@ -321,6 +321,11 @@ templ Service(s *ent.Service) {

Alghough comments are moderated, beware of fake reviews. Always do your own research.

+
+

+ New comments are disabled until the new version is published. Please Read the blog post. +

+
diff --git a/src/frontend/templates/service_request_form.templ b/src/frontend/templates/service_request_form.templ index f44e413..850b22f 100644 --- a/src/frontend/templates/service_request_form.templ +++ b/src/frontend/templates/service_request_form.templ @@ -2,329 +2,15 @@ package templates import ( "kycnot.me/internal/ent" - "kycnot.me/internal/ent/attribute" "kycnot.me/internal/models" ) -func getAttributeColor(t attribute.Rating) string { - switch t { - case attribute.RatingBad: - return "text-red-400/80" - case attribute.RatingInfo: - return "text-blue-400/80" - case attribute.RatingGood: - return "text-green-400/80" - case attribute.RatingWarn: - return "text-yellow-400/80" - default: - return "" - } -} - templ RequestForm(opts *models.BaseOpts, attributes []*ent.Attribute) { @Base("Request") { - if opts.Error != "" { -
-

- { opts.Error } -

-
- } - if opts.Message != "" { -
-

- { opts.Message } -

-
- } -
-

Request a service

- *This form requires JavaScript, read more here. -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - *If more than one, separate with commas. - -
-
- - -
-
- - *If more than one, separate with commas. - -
-
- - *If more than one, separate with commas. - -
-
- - *If more than one, separate with commas. - -
-
-

Accepted currencies

-
- - - - - - - - - - - - - - - - - - - - -
-
-
-

KYC Level

- - - - -
-

Attributes

- * Scrollable. You must check at least 3 -
- for _, attr := range attributes { - - - - - } -
- -
- - - - 🧠 I'm Human -
- -
-
- - +
+

+ Service requests are disabled until the new version is published. Please Read the blog post. +

+
} }