Adjust Card subtype styling

This commit is contained in:
Fred Boniface
2024-07-03 11:25:21 +01:00
parent d17b9c23af
commit 89109a3a48
3 changed files with 9 additions and 19 deletions

View File

@@ -1,21 +1,12 @@
<script lang="ts">
import Card from "$lib/cards/Card.svelte";
import type { LookupCardConfig } from "$lib/cards/Card.types";
import LookupCard from "$lib/cards/LookupCard.svelte";
import NearToMeCard from "$lib/cards/NearToMeCard.svelte";
let CardConfig = {
title: "Near to Me",
showHelp: false,
showRefresh: true,
helpText: "May not detect your location correctly on non-mobile devices",
onRefresh: onRefresh,
};
let LookupConfig: LookupCardConfig = {
title: "Live Arr/Dep Boards",
helpText: "Enter CRS, TIPLOC or STANOX code to see live departures",
placeholder: "Enter CRS/TIPLOC/STANOX",
placeholder: "Enter CRS/TIPLOC",
maxLen: 7,
formAction: "/ldb/",
fieldName: "station",