diff --git a/src/lib/islands/input-island.svelte b/src/lib/islands/input-island.svelte new file mode 100644 index 0000000..29b7f93 --- /dev/null +++ b/src/lib/islands/input-island.svelte @@ -0,0 +1,41 @@ + + +
+ +
+ +
+ + \ No newline at end of file diff --git a/src/lib/islands/island.svelte b/src/lib/islands/island.svelte new file mode 100644 index 0000000..632fdf2 --- /dev/null +++ b/src/lib/islands/island.svelte @@ -0,0 +1,25 @@ + + +
+ {title} + +
+ + \ No newline at end of file diff --git a/src/lib/islands/quick-link-island.svelte b/src/lib/islands/quick-link-island.svelte new file mode 100644 index 0000000..1fc8ebe --- /dev/null +++ b/src/lib/islands/quick-link-island.svelte @@ -0,0 +1,4 @@ + + diff --git a/src/lib/nav.svelte b/src/lib/navigation/nav.svelte similarity index 83% rename from src/lib/nav.svelte rename to src/lib/navigation/nav.svelte index 51c6093..91ebda1 100644 --- a/src/lib/nav.svelte +++ b/src/lib/navigation/nav.svelte @@ -3,20 +3,17 @@ { title: "Home", path: "/", - svgPath: "/images/navigation/home.svg", - pngPath: "/images/nav/home_icon-25.png" + svgPath: "/images/navigation/home.svg" }, { title: "PIS Finder", path: "/pis", - svgPath: "/images/navigation/info.svg", - pngPath: "" + svgPath: "/images/navigation/info.svg" }, { title: "More", path: "/more", - svgPath: "/images/navigation/more.svg", - pngPath: "/images/nav/hamburger.svg" + svgPath: "/images/navigation/more.svg" } ] import { page } from "$app/stores"; diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 322a9b1..1e8903e 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,7 +1,25 @@ OwlBoard - {title} @@ -9,70 +27,13 @@ const title = "Home"
-
-
- Live Departure Boards -
- -
- -
-
-
-
- Train Details & PIS -
- -
- -
-
-
- Quick Links - -
+ +{#each inputIslands as variables} + +{/each} +