Update and implement TimeBar, needs testing with NRCC messages present.

This commit is contained in:
Fred Boniface
2024-07-12 12:20:36 +01:00
parent 6f800dab67
commit 7f1dc1ac3f
7 changed files with 24 additions and 41 deletions

View File

@@ -30,7 +30,7 @@
}
</script>
<Header title={"Test"} />
<TimeBar />
<TimeBar updatedTime={new Date} />
<LookupCard config={LookupConfig} />
<LookupCard config={TimetableConfig} />
<NearToMeCard />

View File

@@ -9,6 +9,7 @@
import TrainDetail from "$lib/train/train-detail.svelte";
import { getApiUrl } from "$lib/scripts/upstream";
import toast from "svelte-french-toast";
import TimeBar from "$lib/navigation/TimeBar.svelte";
let title = "Timetable Results";
let id = "";
@@ -79,7 +80,7 @@
</script>
<Header {title} />
<div id="whitespace" />
<TimeBar updatedTime={undefined} />
{#if error}
<Island>
@@ -100,9 +101,6 @@
<Nav />
<style>
#whitespace {
height: 15px;
}
p {
color: white;
font-size: 18px;