summaryrefslogtreecommitdiff
path: root/views/partials/general-page-header.html
diff options
from:
to:
context:
space:
mode:
authorGravatar Saya Andy <145215889+SayaAndy@users.noreply.github.com> 2025-09-10 14:20:54 +0700
committerGravatar GitHub <noreply@github.com> 2025-09-10 14:20:54 +0700
commit2e93141f1f53410d6c38122b918972581ec4aa8d (patch)
tree8530dcb7ab9ebff4e42bcc41c6d5b3ecb78344da /views/partials/general-page-header.html
parent46a7e3ea25eb0d5b95a303018159cc59807a1367 (diff)
parente372d8ad15ca9026fffb9248991e3df48c72b5f6 (diff)
downloadweb-0.8.2.tar.gz
web-0.8.2.zip
v0.8.2 (#9)v0.8.2
- feat: add page views - feat: more responsive header size to keep it in one row - feat: add contacts on main page - refactor: move like and view count into separate row in blog card
Diffstat (limited to 'views/partials/general-page-header.html')
-rw-r--r--views/partials/general-page-header.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/partials/general-page-header.html b/views/partials/general-page-header.html
index 63803bd..6cb87b7 100644
--- a/views/partials/general-page-header.html
+++ b/views/partials/general-page-header.html
@@ -1,8 +1,8 @@
<div {{ if .PublishedDate }} hx-get="/api/v1/tz" hx-vals='js:{timestamp: "{{ .PublishedDate }}", tz: clientTimeZone}' hx-target="#published-date" hx-swap="innerHTML" hx-trigger="load" {{ end }}
class="flex flex-row mb-[0.4vmin]">
<i onclick="changeUrl('/../', true);" class="fas fa-circle-left hover:bg-main-dark hover:bg-opacity-10 cursor-pointer transition-colors duration-300 rounded-md text-[2vmax] mt-auto mb-auto px-[0.8vmin]"></i>
- <p class="text-[2vmax] font-spectral italic font-extrabold select-none mt-auto pl-[0.8vmin] pr-[1.2vmin]">//</p>
- <p class="text-[2vmax] font-spectral italic text-left mt-auto">{{ .Title }}</p>
- <p id="published-date" class="grow text-[1.5vmax] font-spectral text-secondary text-right mt-auto">{{ .PublishedDate }}</p>
+ <p class="text-[2.5vmin] font-spectral italic font-extrabold select-none mt-auto pl-[0.8vmin] pr-[1.2vmin]">//</p>
+ <p class="text-[2.5vmin] font-spectral italic text-left mt-auto">{{ .Title }}</p>
+ <p id="published-date" class="grow text-[1.75vmin] font-spectral text-secondary text-right mt-auto">{{ .PublishedDate }}</p>
</div>
{{ block "header" . }}{{ end }}