Skip to content

Commit

Permalink
fix lint errors and finish treasure
Browse files Browse the repository at this point in the history
  • Loading branch information
secondl1ght committed Apr 20, 2023
1 parent 5f84ff8 commit bd9a14a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/routes/map/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -828,6 +828,7 @@ ${
const layerControl = L.control.layers(baseMaps, overlayMaps).addTo(map);
// treasure hunt event
// eslint-disable-next-line no-undef
const treasureIcon = L.divIcon({
className: 'treasure-icon',
iconSize: [24, 24],
Expand All @@ -841,10 +842,11 @@ ${
</span>`
});
const treasureMarker = L.marker([53.37225, -6.17711], { icon: treasureIcon })
// eslint-disable-next-line no-undef
L.marker([53.37225, -6.17711], { icon: treasureIcon })
.bindTooltip(
`<p class='text-primary dark:text-white text-lg text-center px-1.5'>
<strong>Bitcoin Treasure Hunt</strong>
`<p class='text-primary dark:text-white text-lg text-center p-2'>
<i class="fa-solid fa-coins text-bitcoin"></i> <strong>Bitcoin Treasure Hunt</strong> <i class="fa-solid fa-coins text-bitcoin"></i>
<br/>
April 29th, 2023 @ 1PM
<br/>
Expand Down

0 comments on commit bd9a14a

Please sign in to comment.