| author | 2025-09-10 13:55:30 +0700 | |
|---|---|---|
| committer | 2025-09-10 13:55:30 +0700 | |
| commit | f9a621d56c54110d5938ad0071bbace325773070 (patch) | |
| tree | 13709c592639b13838eb072b31f743382d0a2712 /views/partials/catalogue-blog-cards.html | |
| parent | f219d4ac0e8d8f6f9dd7cd9be9e8038939863233 (diff) | |
| download | web-f9a621d56c54110d5938ad0071bbace325773070.tar.gz web-f9a621d56c54110d5938ad0071bbace325773070.zip | |
feat: add page views
feat: more responsive header size to keep it in one row
refactor: move like and view count into separate row in blog card
Diffstat (limited to 'views/partials/catalogue-blog-cards.html')
| -rw-r--r-- | views/partials/catalogue-blog-cards.html | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/views/partials/catalogue-blog-cards.html b/views/partials/catalogue-blog-cards.html index 06d99d5..37b3f57 100644 --- a/views/partials/catalogue-blog-cards.html +++ b/views/partials/catalogue-blog-cards.html @@ -8,14 +8,17 @@ <span class="font-extrabold">{{ .Title }}</span> <span class="font-extrabold select-none text-secondary">//</span> <span class="italic text-secondary">{{ .ActionDate }}</span> - <span class="font-extrabold select-none text-secondary">//</span> - <i class="fas fa-thumbs-up w-[1vmax] h-[1vmax]"></i> - <span class="italic text-secondary">{{ .LikeCount }}</span> </a> - <div hx-trigger="click from:#user_search_bar" hx-get="/endpoint1" hx-target="#users-list"></div> <p class="flex-3/12 grow-0 text-[1vmax] italic text-secondary text-right">{{ .PublishedTime }}</p> </div> <p class="text-[1vmax] text-main-dark">{{ .ShortDescription }}</p> + <p class="text-[1vmax] text-secondary italic"> + <i class="fas fa-thumbs-up w-[1vmax] h-[1vmax]"></i> + <span>{{ .LikeCount }}</span> + <span class="font-extrabold select-none">//</span> + <i class="fas fa-eye w-[1vmax] h-[1vmax]"></i> + <span>{{ .ViewCount }}</span> + </p> <p class="text-[1vmax] text-secondary">{{ $.L.TagsLabel }} {{ template "catalogue-blog-card-tags.html" . }}</p> </div> </div> |