Skip to content

Commit

Permalink
make treasure chest a clickable link to event
Browse files Browse the repository at this point in the history
  • Loading branch information
secondl1ght committed Apr 20, 2023
1 parent 6a7eae7 commit 7734c47
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/routes/map/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -833,14 +833,16 @@ ${
const treasureIcon = L.divIcon({
className: 'treasure-icon',
iconSize: [24, 24],
html: `<span class="relative flex h-6 w-6">
<span
class="animate-ping absolute inline-flex h-full w-full rounded-full bg-bitcoin opacity-75"
/>
<span
class="relative inline-flex h-6 w-6 rounded-full bg-bitcoin"
/>
</span>`
html: `<a href='https://dublinbitcoiners.com/treasure-hunt' target='_blank' rel='noreferrer'>
<span class="relative flex h-6 w-6">
<span
class="animate-ping absolute inline-flex h-full w-full rounded-full bg-bitcoin opacity-75"
/>
<span
class="relative inline-flex h-6 w-6 rounded-full bg-bitcoin"
/>
</span>
</a>`
});
// eslint-disable-next-line no-undef
Expand Down

0 comments on commit 7734c47

Please sign in to comment.