From cabcbdce77b71e24241e9aec2765501327592531 Mon Sep 17 00:00:00 2001 From: unwox Date: Mon, 8 Sep 2025 15:43:32 +0600 Subject: update according to luna changes --- templates.fnl | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'templates.fnl') 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]) -- cgit v1.2.3