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

View file

@ -7,7 +7,7 @@ const { name, slug } = Astro.props
--- ---
<a class="tag" href={`/tags/${slug}`}> <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} {name}
</a> </a>