1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-08-06 05:35:19 +02:00
This commit is contained in:
Sean Morley 2024-07-26 09:06:37 -04:00
parent 65ad5348e2
commit 7d931c7a97
4 changed files with 28478 additions and 2 deletions

View file

@ -202,7 +202,7 @@
id="visited"
value="visited"
aria-label="Visited"
checked
checked={newAdventure.type === 'visited'}
on:click={() => (type = 'visited')}
/>
<input
@ -212,6 +212,7 @@
id="planned"
value="planned"
aria-label="Planned"
checked={newAdventure.type === 'planned'}
on:click={() => (type = 'planned')}
/>
</div>

View file

@ -5,7 +5,7 @@ import type { Adventure, VisitedRegion } from '$lib/types';
const endpoint = PUBLIC_SERVER_URL || 'http://localhost:8000';
export const load = (async (event) => {
let countryCodesToFetch = ['FR', 'US', 'CA', 'DE', 'AU', 'MX'];
let countryCodesToFetch = ['FR', 'US', 'CA', 'DE', 'AU', 'MX', 'JP'];
let geoJSON = {
type: 'FeatureCollection',
features: []