mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-20 21:39:37 +02:00
images
This commit is contained in:
parent
b3c36638ce
commit
921aae763e
3 changed files with 2 additions and 9 deletions
|
@ -42,12 +42,7 @@
|
|||
<figure>
|
||||
<!-- svelte-ignore a11y-img-redundant-alt -->
|
||||
{#if adventure.image && adventure.image !== ''}
|
||||
<img
|
||||
src={adventure.image}
|
||||
alt="Adventure Image"
|
||||
class="w-full h-48 object-cover"
|
||||
crossorigin="anonymous"
|
||||
/>
|
||||
<img src={adventure.image} alt="Adventure Image" class="w-full h-48 object-cover" />
|
||||
{:else}
|
||||
<img
|
||||
src={'https://placehold.co/300?text=No%20Image%20Found&font=roboto'}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue