Add toast to Public LDB suggesting registering

This commit is contained in:
Fred Boniface 2024-07-12 19:34:58 +01:00
parent f92f01af16
commit b6a8bd0461

View File

@ -9,6 +9,7 @@
import { getApiUrl } from "$lib/scripts/upstream";
import TimeBar from "$lib/navigation/TimeBar.svelte";
import { IconBus, IconSailboat } from "@tabler/icons-svelte";
import toast from "svelte-french-toast";
let requestedStation;
$: requestedStation = station;
@ -143,6 +144,7 @@
}
onMount(() => {
toast("Register for more detailed departure boards")
if (requestedStation && jsonData === null) {
fetchData();
}
@ -363,11 +365,6 @@
{/if}
<style>
#timestamp {
margin: auto;
text-align: left;
font-size: 14px;
}
.ldbTable {
width: 100%;
min-width: 300px;
@ -402,9 +399,6 @@
.transport-mode {
width: 50px;
}
#timestamp {
font-size: 16px;
}
}
@media (min-width: 1000px) {
table {