2023-06-12 19:16:39 +01:00
|
|
|
<script>
|
2023-06-15 21:32:14 +01:00
|
|
|
import Header from '$lib/navigation/header.svelte'
|
|
|
|
import Nav from '$lib/navigation/nav.svelte'
|
2023-06-18 22:24:32 +01:00
|
|
|
import InputIsland from '$lib/islands/input-island-form.svelte'
|
2023-06-15 21:32:14 +01:00
|
|
|
import QuickLinkIsland from '$lib/islands/quick-link-island.svelte';
|
2023-06-15 18:19:23 +01:00
|
|
|
|
2023-06-14 11:02:46 +01:00
|
|
|
const title = "Home"
|
2023-06-15 18:19:23 +01:00
|
|
|
const inputIslands = [
|
|
|
|
{
|
|
|
|
title: "Live Departure Boards",
|
|
|
|
action: "/ldb",
|
|
|
|
placeholder: "Enter CRS/TIPLOC",
|
|
|
|
queryName: "station"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: "Train Details & PIS",
|
|
|
|
action: "/result-timetable",
|
|
|
|
placeholder: "Enter Headcode",
|
|
|
|
queryName: "headcode"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
const variables = {title: "test",action:"/", placeholder:"test",queryName:"test"}
|
|
|
|
|
2023-06-12 19:16:39 +01:00
|
|
|
</script>
|
2023-06-12 21:50:47 +01:00
|
|
|
<svelte:head>
|
|
|
|
<title>OwlBoard - {title}</title>
|
|
|
|
</svelte:head>
|
|
|
|
|
|
|
|
|
2023-06-14 11:02:46 +01:00
|
|
|
<Header {title} />
|
2023-06-15 18:19:23 +01:00
|
|
|
|
|
|
|
{#each inputIslands as variables}
|
|
|
|
<InputIsland {variables} />
|
|
|
|
{/each}
|
|
|
|
|
2023-06-15 21:32:14 +01:00
|
|
|
<QuickLinkIsland />
|
2023-06-13 13:38:59 +01:00
|
|
|
|
2023-06-15 21:32:14 +01:00
|
|
|
<Nav />
|