diff --git a/src/lib/buttons/LinkButton.svelte b/src/lib/buttons/LinkButton.svelte index 796d41f..c2b98ef 100644 --- a/src/lib/buttons/LinkButton.svelte +++ b/src/lib/buttons/LinkButton.svelte @@ -13,6 +13,7 @@ text-decoration: none; margin: 5px; background-color: var(--island-button-color); + font-family: urwgothic, "Lucida Sans", "Lucida Sans Regular", "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana, sans-serif; padding: 5px 10px; min-width: 40px; height: 25px; diff --git a/src/lib/buttons/ScriptButton.svelte b/src/lib/buttons/ScriptButton.svelte new file mode 100644 index 0000000..ec12ef6 --- /dev/null +++ b/src/lib/buttons/ScriptButton.svelte @@ -0,0 +1,36 @@ + + + + + \ No newline at end of file diff --git a/src/lib/cards/NearToMeCard.svelte b/src/lib/cards/NearToMeCard.svelte index 673c511..65a44df 100644 --- a/src/lib/cards/NearToMeCard.svelte +++ b/src/lib/cards/NearToMeCard.svelte @@ -10,6 +10,8 @@ import { apiGet } from "$lib/scripts/apiFetch"; import { onMount } from "svelte"; import { nearToMeCache } from "$lib/stores/nearToMeCache"; + import LinkButton from "$lib/buttons/LinkButton.svelte"; + import ScriptButton from "$lib/buttons/ScriptButton.svelte"; let errorMessage: string; let stations: NearestStationResponse[] = []; @@ -61,7 +63,7 @@ {#if !$uuid || $uuid === "null"} -

Register to use this feature

+ {:else if $location} {#if !stations.length} {#if errorMessage} @@ -72,39 +74,16 @@ {:else}
{#each stations as station} - {station.NLCDESC} - {station.miles}mi + {/each}
{/if} {:else} -

+ {/if}