use .link helpers

This commit is contained in:
2023-03-18 01:03:55 -04:00
parent 7fa9933a9b
commit c0441957b6
6 changed files with 21 additions and 13 deletions

View File

@ -1,3 +1,3 @@
<.link href={qr_code_image(@content)} download={@filename <> ".png"}>
<a href={qr_code_image(@content)} download={@filename <> ".png"}>
<img class={@image_class} alt={@filename} src={qr_code_image(@content)} />
</.link>
</a>