diff --git a/frontend/package-lock.json b/frontend/package-lock.json index cd8a11c..8b15f23 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -8,7 +8,7 @@ "name": "fritzgate", "version": "1.0.0", "devDependencies": { - "@picocss/pico": "^2.0.0-alpha1", + "@picocss/pico": "^2.0.6", "@sveltejs/vite-plugin-svelte": "^3.0.0", "@tsconfig/svelte": "^5.0.2", "bootstrap": "^5.3.2", @@ -17,7 +17,6 @@ "sass": "^1.69.5", "svelte": "^4.2.19", "svelte-check": "^3.6.0", - "tinro": "^0.6.12", "tslib": "^2.6.2", "typescript": "^5.2.2", "vite": "^5.4.6", @@ -3482,12 +3481,6 @@ "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==", "dev": true }, - "node_modules/tinro": { - "version": "0.6.12", - "resolved": "https://registry.npmjs.org/tinro/-/tinro-0.6.12.tgz", - "integrity": "sha512-YYLh0a21GXXpS66ilZbywfXcPTKQQ+bv3tihoqKqSFQP6/F11N7ZmtRbFWcyZXXPFRSzNxmPJBB8ZhP0GkoS0Q==", - "dev": true - }, "node_modules/tmp": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz", diff --git a/frontend/package.json b/frontend/package.json index b76a36b..9b9ab13 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -12,7 +12,7 @@ "cy:e2e": "npx cypress run" }, "devDependencies": { - "@picocss/pico": "^2.0.0-alpha1", + "@picocss/pico": "^2.0.6", "@sveltejs/vite-plugin-svelte": "^3.0.0", "@tsconfig/svelte": "^5.0.2", "bootstrap": "^5.3.2", @@ -21,7 +21,6 @@ "sass": "^1.69.5", "svelte": "^4.2.19", "svelte-check": "^3.6.0", - "tinro": "^0.6.12", "tslib": "^2.6.2", "typescript": "^5.2.2", "vite": "^5.4.6", diff --git a/frontend/src/App.svelte b/frontend/src/App.svelte index 75324a9..de0637c 100644 --- a/frontend/src/App.svelte +++ b/frontend/src/App.svelte @@ -1,20 +1,24 @@ +
- {#if !data} + {#if !state} - {:else} - - - - + {:else if page === "#sensors"} + {:else if page === "#heating"} + {:else if page === "#setup"} + {:else} {/if}
diff --git a/frontend/src/Pages/PageRouterLogin.svelte b/frontend/src/Pages/PageRouterLogin.svelte index 0ed9430..920f97d 100644 --- a/frontend/src/Pages/PageRouterLogin.svelte +++ b/frontend/src/Pages/PageRouterLogin.svelte @@ -1,13 +1,11 @@