added title to buttons

This commit is contained in:
Ulysia 2024-10-14 09:41:21 +02:00
parent 54167bb10e
commit d491af9c1c
2 changed files with 3 additions and 2 deletions

View file

@ -22,7 +22,7 @@ export default (() => {
<div class={`btn8831-container ${displayClass ?? ""}`}>
{buttons.map((button, index) => (
<a href={button.url} key={index}>
<img src={button.image} alt={button.alt} />
<img src={button.image} alt={button.alt} title={button.title} />
</a>
))}
</div>

View file

@ -2,6 +2,7 @@
{
"image": "https://assets.derg.cz/buttons/theysosmall_by_liah.png",
"url": "https://smolderg.xyz",
"alt": "&quot;They so small!&quot; in large letters accompanied by an arrow pointing at a tiny dragon in the corner of the image, surrounded by the smaller bits of text &quot;Wow!&quot; &quot;Look!&quot; and &quot;Pet them!&quot;"
"alt": "&quot;They so small!&quot; in large letters accompanied by an arrow pointing at a tiny dragon in the corner of the image, surrounded by the smaller bits of text &quot;Wow!&quot; &quot;Look!&quot; and &quot;Pet them!&quot;",
"title": "&quot;They so small!&quot; in large letters accompanied by an arrow pointing at a tiny dragon in the corner of the image, surrounded by the smaller bits of text &quot;Wow!&quot; &quot;Look!&quot; and &quot;Pet them!&quot;"
}
]