diff --git a/src/lib/cards/FindByHeadcodeCard.svelte b/src/lib/cards/FindByHeadcodeCard.svelte new file mode 100644 index 0000000..94c4ae4 --- /dev/null +++ b/src/lib/cards/FindByHeadcodeCard.svelte @@ -0,0 +1,14 @@ + + + \ No newline at end of file diff --git a/src/routes/pis/+page.svelte b/src/routes/pis/+page.svelte index a64246a..f21cea6 100644 --- a/src/routes/pis/+page.svelte +++ b/src/routes/pis/+page.svelte @@ -9,6 +9,7 @@ import type { OB_Pis_FullObject } from "@owlboard/ts-types"; import Card from "$lib/cards/Card.svelte"; import type { CardConfig } from "$lib/cards/Card.types"; + import FindByHeadcodeCard from "$lib/cards/FindByHeadcodeCard.svelte"; const title = "PIS Finder"; let entryPIS = ""; @@ -96,14 +97,6 @@ onRefresh: () => {}, refreshing: false, } - const findByHeadcodeCard: CardConfig = { - title: "Find by Headcode", - showHelp: true, - helpText: "Find by Headcode can be found on the homepage", - showRefresh: false, - onRefresh: () => {}, - refreshing: false, - } const findByStartEndCard: CardConfig = { title: "Find by Start/End CRS", showHelp: true, @@ -147,12 +140,7 @@ {:else} - - Find by Headcode from the homepage -
- The tools below are more helpful if you've been diverted or are not starting your journey at your scheduled origin. -

-
+