chore: specify correct image sizes, add alt tag

This commit is contained in:
Ivan R. 2024-05-21 01:08:52 +05:00
parent fd739b0d8a
commit 2f7e27d0d4
Signed by: lumin
GPG key ID: E0937DC7CD6D3817
2 changed files with 14 additions and 14 deletions

View file

@ -3,9 +3,9 @@
<a href="http://[201:80ed:6eeb:aea4:cdc0:c836:2831:f2dd]">
<img
src="/icons/leaf-solid.svg"
width="18px"
height="18px"
alt="Листик, похожая на иконку Yggdrasil"
width="18"
height="18"
alt="Листик, похожий на иконку Yggdrasil"
/>
Yggdrasil
</a>
@ -13,8 +13,8 @@
<a href="https://git.comfycamp.space/lumin/comfycamp" target="_blank">
<img
src="/icons/git.svg"
width="18px"
height="18px"
width="18"
height="18"
alt="Git logo"
/>
Исходный код
@ -25,8 +25,8 @@
<a href="https://m.comfycamp.space/@lumin" rel="me" target="_blank">
<img
src="/icons/mastodon.svg"
width="18px"
height="18px"
width="18"
height="18"
alt="Mastodon logo"
/>
Mastodon
@ -34,8 +34,8 @@
<a href="mailto:admin@comfycamp.space" target="_blank">
<img
src="/icons/envelope-solid.svg"
width="18px"
height="18px"
width="18"
height="18"
alt="Email icon"
/>
admin@comfycamp.space
@ -45,8 +45,8 @@
<a href="https://matrix.to/#/@lumin:matrix.comfycamp.space" target="_blank">
<img
src="/icons/matrix.svg"
width="18px"
height="18px"
width="18"
height="18"
alt="Matrix logo"
/>
@lumin:matrix.comfycamp.space
@ -54,8 +54,8 @@
<a href="xmpp://lumin@xmpp.comfycamp.space" target="_blank">
<img
src="/icons/xmpp.svg"
width="18px"
height="18px"
width="18"
height="18"
alt="XMPP logo"
/>
lumin@xmpp.comfycamp.space

View file

@ -7,7 +7,7 @@ const { name, slug } = Astro.props
---
<a class="tag" href={`/tags/${slug}`}>
<img width="12" height="12" src="/icons/tag.svg" />
<img width="12" height="12" src="/icons/tag.svg" alt="Тег" />
{name}
</a>