From 99294b260661a8d3f6992404de7881945eab837b Mon Sep 17 00:00:00 2001 From: SayaAndy Date: Sat, 4 Apr 2026 05:59:30 +0700 Subject: feat: redo the design of blog catalog article rows --- views/pages/blog-catalogue.html | 2 +- views/partials/catalogue-blog-cards.html | 53 +++++++++++++++++++++----------- 2 files changed, 36 insertions(+), 19 deletions(-) diff --git a/views/pages/blog-catalogue.html b/views/pages/blog-catalogue.html index 7e02ced..2584bda 100644 --- a/views/pages/blog-catalogue.html +++ b/views/pages/blog-catalogue.html @@ -58,7 +58,7 @@
+ class="blog-cards relative grow flex flex-col overflow-y-auto bg-paper bg-background-light pr-2"> Loading...
diff --git a/views/partials/catalogue-blog-cards.html b/views/partials/catalogue-blog-cards.html index 45fef12..4333c77 100644 --- a/views/partials/catalogue-blog-cards.html +++ b/views/partials/catalogue-blog-cards.html @@ -1,27 +1,44 @@ {{- range .BlogPages }} -
-
- - - -
+
+
+
+ +
+
+ + + Smiley Thumbs Up Streamline Icon: https://streamlinehq.com + + + + + + + + {{ .LikeCount }} +
+
+ + + View Eye 1 Streamline Icon: https://streamlinehq.com + + + + + {{ .ViewCount }} +
+
+
+
-

{{ .ShortDescription }}

-

- - {{ .LikeCount }} - // - - {{ .ViewCount }} -

-

{{ $.L.TagsLabel }} {{ template "catalogue-blog-card-tags.html" . }}

+

{{ .ShortDescription }}

+

{{ $.L.TagsLabel }} {{ template "catalogue-blog-card-tags.html" . }}

{{- end }} \ No newline at end of file -- cgit v1.3.1+13