summaryrefslogtreecommitdiff
path: root/views/partials
diff options
from:
to:
context:
space:
mode:
authorGravatar SayaAndy <saya.andy@posteo.com> 2025-11-04 14:43:52 +0300
committerGravatar SayaAndy <saya.andy@posteo.com> 2025-11-04 14:43:52 +0300
commit05d7fe78450219e85ebe9c4372a20f8edd264d8d (patch)
treea098615be83bf760a4643e5752f990ef9f29fe98 /views/partials
parentc52a07e3fa738135eaa5272d9f115e4740b60c61 (diff)
downloadweb-05d7fe78450219e85ebe9c4372a20f8edd264d8d.tar.gz
web-05d7fe78450219e85ebe9c4372a20f8edd264d8d.zip
feat: move published date info from header into start of the body
feat: show action date on any screen feat: show short description together with dates in page's body refactor: use minified packery dist
Diffstat (limited to 'views/partials')
-rw-r--r--views/partials/general-page-header.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/views/partials/general-page-header.html b/views/partials/general-page-header.html
index 90180de..83a1058 100644
--- a/views/partials/general-page-header.html
+++ b/views/partials/general-page-header.html
@@ -1,7 +1,5 @@
<title>{{ .Title }} // SAYA TODAY</title>
-<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-2">
+<div class="flex flex-row mb-2">
<p class="text-4xl font-andika font-light italic text-shadow-[0_2px_2px_var(--main-soft-color)] text-left mt-auto">{{ .Title }}</p>
- <p id="published-date" class="grow text-2xl font-andika italic text-secondary text-right mt-auto">{{ .PublishedDate }}</p>
</div>
{{ block "header" . }}{{ end }}