added title to buttons
This commit is contained in:
parent
54167bb10e
commit
d491af9c1c
|
@ -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>
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
{
|
||||
"image": "https://assets.derg.cz/buttons/theysosmall_by_liah.png",
|
||||
"url": "https://smolderg.xyz",
|
||||
"alt": ""They so small!" 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 "Wow!" "Look!" and "Pet them!""
|
||||
"alt": ""They so small!" 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 "Wow!" "Look!" and "Pet them!"",
|
||||
"title": ""They so small!" 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 "Wow!" "Look!" and "Pet them!""
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue