diff options
| author | 2025-10-15 23:23:27 +0700 | |
|---|---|---|
| committer | 2025-10-15 23:23:27 +0700 | |
| commit | d3ffefbd3d9de2378b564e4c6f965c03a5a06113 (patch) | |
| tree | ad6191c3fc0823ed71930ccd9bc27de7eb249f24 /views/partials | |
| parent | e231d8a3074853fbdbae9b368976bd902a1428f7 (diff) | |
| download | web-d3ffefbd3d9de2378b564e4c6f965c03a5a06113.tar.gz web-d3ffefbd3d9de2378b564e4c6f965c03a5a06113.zip | |
feat: adapt layout for phone screens (especially small ones)
Diffstat (limited to 'views/partials')
| -rw-r--r-- | views/partials/general-page-body.html | 2 | ||||
| -rw-r--r-- | views/partials/general-page-header.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/views/partials/general-page-body.html b/views/partials/general-page-body.html index 4686ea1..c3aa3eb 100644 --- a/views/partials/general-page-body.html +++ b/views/partials/general-page-body.html @@ -1,2 +1,2 @@ -<title>SAYA TODAY // {{ .Title }}</title> +<title>{{ .Title }} // SAYA TODAY</title> {{ block "body" . }}{{ end }}
\ No newline at end of file diff --git a/views/partials/general-page-header.html b/views/partials/general-page-header.html index 115ab13..7f6ab8a 100644 --- a/views/partials/general-page-header.html +++ b/views/partials/general-page-header.html @@ -1,7 +1,7 @@ <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"> <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-4xl mt-auto mb-auto px-1"></i> - <p class="text-4xl font-spectral italic font-extrabold select-none mt-auto pl-3 pr-3">//</p> + <p class="text-4xl font-spectral italic font-extrabold select-none mt-auto mb-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> </div> |