summaryrefslogtreecommitdiff
path: root/templates.fnl
diff options
context:
space:
mode:
authorunwox <me@unwox.com>2025-09-08 15:43:32 +0600
committerunwox <me@unwox.com>2025-09-08 15:43:32 +0600
commitcabcbdce77b71e24241e9aec2765501327592531 (patch)
tree5acb8d947fcabc237bed4779a5face3d0c9196b4 /templates.fnl
parent88d1725520afde9fe10a3daa1ad5c1c0a552f041 (diff)
update according to luna changes
Diffstat (limited to 'templates.fnl')
-rw-r--r--templates.fnl10
1 files changed, 6 insertions, 4 deletions
diff --git a/templates.fnl b/templates.fnl
index fb9a882..d0b74ae 100644
--- a/templates.fnl
+++ b/templates.fnl
@@ -20,7 +20,7 @@
"Посещение по предварительной договоренности, "
"стоимость 500 рублей с человека.")}]
[:style {} [:NO-ESCAPE (read-file "static/style.css")]]
- [:link {:rel "icon" :href "https://whitetoad.ru/static/favicon.svg"
+ [:link {:rel "icon" :href "/static/favicon.svg"
:type "image/svg+xml"}]]
[:body {}
[:main {:class "container"} (table.concat content)]]]))
@@ -28,15 +28,17 @@
(fn header [current-path authenticated?]
(local logo
(HTML
- [:img {:src "/static/logo.svg"
+ [:img {:class "logo-img" :src "/static/logo.svg"
:alt "Белая жаба в мультяшном стиле с чайником на голове"}]))
(HTML
[:article {:class "article"}
[:div {:class "logo"}
+ (HTML [:img {:class "logo-bg" :src "/static/logo-bg.png"
+ :alt "Солнце за логотипом, фон"}])
(if authenticated?
- (HTML [:img {:class "glasses" :src "/static/glasses.png"
- :alt "Солнцезащитные очки"}])
+ (HTML [:img {:class "logo-glasses" :src "/static/glasses.png"
+ :alt "Солнцезащитные очки"}])
"")
(if (~= current-path "")
(HTML [:a {:href "/" :class "d-inline-block"} logo])