Skip to content

Commit

Permalink
feat: link map image
Browse files Browse the repository at this point in the history
  • Loading branch information
escapedcat authored Feb 20, 2024
1 parent 121f80c commit a8fabf6
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,15 @@
</h2>
</div>
{#if typeof window !== 'undefined'}
<img
src={detectTheme() === 'dark' || $theme === 'dark'
? '/images/hero-mobile-example-dark.webp'
: '/images/hero-mobile-example.webp'}
alt="mobile example"
class="mx-auto mt-10 w-80 drop-shadow-2xl xl:mx-0 xl:mt-0"
/>
<a href="/map">
<img
src={detectTheme() === 'dark' || $theme === 'dark'
? '/images/hero-mobile-example-dark.webp'
: '/images/hero-mobile-example.webp'}
alt="mobile example"
class="mx-auto mt-10 w-80 drop-shadow-2xl xl:mx-0 xl:mt-0"
/>
</a>
{/if}
</section>

Expand Down

0 comments on commit a8fabf6

Please sign in to comment.