diff --git a/src/pages/Service.svelte b/src/pages/Service.svelte
index 1a40c0b..098ec83 100644
--- a/src/pages/Service.svelte
+++ b/src/pages/Service.svelte
@@ -1,12 +1,17 @@
-
Service
+
+
+
+
+
diff --git a/src/pages/Settings.svelte b/src/pages/Settings.svelte
new file mode 100644
index 0000000..687a59a
--- /dev/null
+++ b/src/pages/Settings.svelte
@@ -0,0 +1,16 @@
+
+
+
+
+
+Settings
+
+
+
+
diff --git a/src/pages/Timetable.svelte b/src/pages/Timetable.svelte
index 48e2fa6..6d41669 100644
--- a/src/pages/Timetable.svelte
+++ b/src/pages/Timetable.svelte
@@ -7,29 +7,20 @@
let fromStationName;
let destStationName;
- let fromStation;
- let destStation;
+ let fromStation = params.fromStation;
+ let destStation= params.destStation;
onMount(async () => {
-
- console.log('>> Timetable:', params);
-
- fromStation = params.fromStation;
- destStation = params.destStation;
fromStationName = findStation(fromStation);
destStationName = findStation(destStation);
});
- onDestroy(async () => {
- console.log('>> onDestroy Timetable')
- });
-
-
-
+
+
{fromStationName} TO {destStationName}
diff --git a/src/routes.js b/src/routes.js
index 7874fde..bf3cbaa 100644
--- a/src/routes.js
+++ b/src/routes.js
@@ -10,12 +10,14 @@
import Home from './pages/Home.svelte';
import Service from './pages/Service.svelte';
import Timetable from './pages/Timetable.svelte';
+import Settings from './pages/Settings.svelte';
import NotFound from './pages/NotFound.svelte';
const routes = new Map();
routes.set('/', Home);
routes.set('/timetable/:fromStation/:destStation', Timetable);
routes.set('/service/:serviceId', Service);
+routes.set('/settings', Settings);
routes.set('*', NotFound);
export default routes;