summaryrefslogtreecommitdiff
path: root/templates.fnl
diff options
context:
space:
mode:
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])