summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/serve.fnl10
-rw-r--r--static/artoftea.pngbin0 -> 2321 bytes
-rw-r--r--static/ozchai.icobin0 -> 32988 bytes
-rw-r--r--static/style.css6
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
new file mode 100644
index 0000000..c0d37eb
--- /dev/null
+++ b/static/artoftea.png
Binary files differ
diff --git a/static/ozchai.ico b/static/ozchai.ico
new file mode 100644
index 0000000..f3328c7
--- /dev/null
+++ b/static/ozchai.ico
Binary files differ
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;
}