mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-23 06:49:37 +02:00
Image display modal
This commit is contained in:
parent
de759e1b58
commit
39fb4ad1ca
1 changed files with 2 additions and 1 deletions
|
@ -171,7 +171,8 @@
|
||||||
class="carousel-item w-full"
|
class="carousel-item w-full"
|
||||||
style="display: {i === currentSlide ? 'block' : 'none'}"
|
style="display: {i === currentSlide ? 'block' : 'none'}"
|
||||||
>
|
>
|
||||||
<a href="" on:click={() => (image_url = image.image)}
|
<!-- svelte-ignore a11y-invalid-attribute -->
|
||||||
|
<a href="#" on:click={() => (image_url = image.image)}
|
||||||
><img src={image.image} class="w-full h-48 object-cover" alt={adventure.name} /></a
|
><img src={image.image} class="w-full h-48 object-cover" alt={adventure.name} /></a
|
||||||
>
|
>
|
||||||
<div class="flex justify-center w-full py-2 gap-2">
|
<div class="flex justify-center w-full py-2 gap-2">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue