summaryrefslogtreecommitdiff
path: root/views/partials
diff options
from:
to:
context:
space:
mode:
authorGravatar SayaAndy <saya.andy@posteo.com> 2025-10-19 17:02:23 +0700
committerGravatar SayaAndy <saya.andy@posteo.com> 2025-10-19 17:02:23 +0700
commit324c6df1ab878aa0c34f80c58f730e01aca1f4e9 (patch)
treee21b27e3446c24f0fca06e1aae44b6dd925f24c6 /views/partials
parent0aeed432c4fbce4a87b56e4dcb14b25065438300 (diff)
downloadweb-324c6df1ab878aa0c34f80c58f730e01aca1f4e9.tar.gz
web-324c6df1ab878aa0c34f80c58f730e01aca1f4e9.zip
feat: have toolbar on the top by default (only return to left if the screen is short on height)
feat: center the layout by default feat: switch font to Andika feat: switch masonry to use rem units feat: fit masonry to center
Diffstat (limited to 'views/partials')
-rw-r--r--views/partials/blog-page-like-button.html2
-rw-r--r--views/partials/general-page-footer.html2
-rw-r--r--views/partials/general-page-header.html6
3 files changed, 5 insertions, 5 deletions
diff --git a/views/partials/blog-page-like-button.html b/views/partials/blog-page-like-button.html
index f23ef9d..bcf3d0b 100644
--- a/views/partials/blog-page-like-button.html
+++ b/views/partials/blog-page-like-button.html
@@ -1,6 +1,6 @@
<button
hx-put="/api/v1/like" hx-vals='{"like": {{ not .Liked }}}' hx-target="this" hx-swap="outerHTML" hx-trigger="click"
- class="text-sm/[0.9] shrink-0 font-spectral text-left px-1 py-0.5 {{ if .Liked }}bg-main-light hover:bg-main-medium text-background-dark border-inset{{ else }}bg-main-dark hover:bg-main-medium text-background-light border-outset{{ end }} cursor-pointer border-2 border-background-dark">
+ class="text-sm/[0.9] shrink-0 font-andika text-left px-1 py-0.5 {{ if .Liked }}bg-main-light hover:bg-main-medium text-background-dark border-inset{{ else }}bg-main-dark hover:bg-main-medium text-background-light border-outset{{ end }} cursor-pointer border-2 border-background-dark">
<i class="fas fa-thumbs-up w-3 h-3"></i>
<span class="italic ml-0.5 text-background-light">({{ .LikedCount }})</span>
</button> \ No newline at end of file
diff --git a/views/partials/general-page-footer.html b/views/partials/general-page-footer.html
index 8979423..9b91bf0 100644
--- a/views/partials/general-page-footer.html
+++ b/views/partials/general-page-footer.html
@@ -1,5 +1,5 @@
{{ block "footer" . }}{{ end }}
-<p class="grow content-center text-base/[1] font-spectral italic text-right text-secondary mr-1">
+<p class="grow content-center text-base/[1] font-andika italic text-right text-secondary mr-1">
All the photos on <a href="https://saya.today/">saya.today</a> are licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> by <a href="https://t.me/EarlInisMona">Saya Andy</a> © {{ .PublishedYear }}
</p>
<img class="max-w-4 max-h-4 self-center" src="https://mirrors.creativecommons.org/presskit/icons/cc.svg" alt="CC">
diff --git a/views/partials/general-page-header.html b/views/partials/general-page-header.html
index e5488b4..d74c5c9 100644
--- a/views/partials/general-page-header.html
+++ b/views/partials/general-page-header.html
@@ -3,8 +3,8 @@
<a href="./" class="w-(--text-4xl) h-(--text-4xl) mx-1 my-auto">
<i onclick="return changeUrl('/../', true);" class="fas fa-circle-left hover:bg-main-dark hover:bg-opacity-10 cursor-pointer transition-colors duration-300 rounded-md text-4xl"></i>
</a>
- <p class="text-4xl font-spectral italic font-extrabold select-none my-auto pl-3 pr-3">//</p>
- <p class="text-4xl font-spectral italic text-left mt-auto">{{ .Title }}</p>
- <p id="published-date" class="grow text-2xl font-spectral text-secondary text-right mt-auto">{{ .PublishedDate }}</p>
+ <p class="text-4xl font-andika italic font-extrabold select-none my-auto pl-3 pr-3">//</p>
+ <p class="text-4xl font-andika italic text-left mt-auto">{{ .Title }}</p>
+ <p id="published-date" class="grow text-2xl font-andika text-secondary text-right mt-auto">{{ .PublishedDate }}</p>
</div>
{{ block "header" . }}{{ end }}