diff options
| author | unwox <me@unwox.com> | 2024-09-27 16:47:38 +0600 |
|---|---|---|
| committer | unwox <me@unwox.com> | 2024-09-27 16:47:38 +0600 |
| commit | f58c176e592475e2b16e26f86548551ab27d6c9a (patch) | |
| tree | 4f95527832e5f8f38a5f11349065a5c4e914b6c2 | |
| parent | dd449357f502dbe9ca4487d4b06a06ee4e597146 (diff) | |
add missing site badges
| -rw-r--r-- | bin/serve.fnl | 10 | ||||
| -rw-r--r-- | static/artoftea.png | bin | 0 -> 2321 bytes | |||
| -rw-r--r-- | static/ozchai.ico | bin | 0 -> 32988 bytes | |||
| -rw-r--r-- | static/style.css | 6 |
4 files changed, 12 insertions, 4 deletions
diff --git a/bin/serve.fnl b/bin/serve.fnl index f4ef3c7..0368bed 100644 --- a/bin/serve.fnl +++ b/bin/serve.fnl @@ -36,10 +36,18 @@ (fn site-name-template [name] (if - (= name "ipuer.ru") + (= name "ipuer") [:a {:class "site-icon" :href "https://ipuer.ru"} [:img {:src "/static/ipuer.jpg"}] "Институт чая пуэр"] + (= name "artoftea") + [:a {:class "site-icon" :href "https://artoftea.ru"} + [:img {:src "/static/artoftea.png"}] + "Art of tea"] + (= name "ozchai") + [:a {:class "site-icon" :href "https://ozchai.ru"} + [:img {:src "/static/ozchai.ico"}] + "Чайная #OZCHAI"] "")) (fn item-template [product] diff --git a/static/artoftea.png b/static/artoftea.png Binary files differnew file mode 100644 index 0000000..c0d37eb --- /dev/null +++ b/static/artoftea.png diff --git a/static/ozchai.ico b/static/ozchai.ico Binary files differnew file mode 100644 index 0000000..f3328c7 --- /dev/null +++ b/static/ozchai.ico diff --git a/static/style.css b/static/style.css index 9b47676..388ce24 100644 --- a/static/style.css +++ b/static/style.css @@ -96,13 +96,13 @@ body { display: flex; gap: 0.5rem; align-items: center; - margin: 0.5rem 0 0.25rem; + margin: 0.5rem 0 0.375rem; text-decoration: none; font-size: 0.75rem; } .site-icon img { - width: 32px; + height: 24px; + width: auto; object-fit: contain; - height: auto; } |
