Compare commits

..

6 commits

Author SHA1 Message Date
bd57812964 Remove logs
All checks were successful
ci/woodpecker/push/build Pipeline was successful
2023-12-12 16:27:22 +01:00
85e6287ede Remove old styles 2023-12-12 16:25:11 +01:00
d6fb920b18 Update home page css layout 2023-12-12 16:19:16 +01:00
2a22519d88 Bump deps 2023-12-12 16:13:55 +01:00
1cd138fbd8 Add the first row for the header 2023-12-11 18:25:12 +01:00
abb1b6d9af No need for fixed positioning 2023-12-11 18:25:01 +01:00
10 changed files with 139 additions and 88 deletions

View file

@ -14,9 +14,9 @@
}, },
"devDependencies": { "devDependencies": {
"@sveltejs/adapter-auto": "^2.1.1", "@sveltejs/adapter-auto": "^2.1.1",
"@sveltejs/kit": "^1.27.7", "@sveltejs/kit": "^1.29.1",
"@typescript-eslint/eslint-plugin": "^6.13.2", "@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.13.2", "@typescript-eslint/parser": "^6.14.0",
"eslint": "^8.55.0", "eslint": "^8.55.0",
"eslint-config-prettier": "^9.1.0", "eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.35.1", "eslint-plugin-svelte": "^2.35.1",
@ -26,13 +26,13 @@
"svelte-check": "^3.6.2", "svelte-check": "^3.6.2",
"tslib": "^2.6.2", "tslib": "^2.6.2",
"typescript": "^5.3.3", "typescript": "^5.3.3",
"vite": "^5.0.7" "vite": "^5.0.8"
}, },
"type": "module", "type": "module",
"dependencies": { "dependencies": {
"@sveltejs/adapter-node": "^1.3.1", "@sveltejs/adapter-node": "^1.3.1",
"leaflet": "^1.9.4", "leaflet": "^1.9.4",
"svelte-preprocess": "^5.1.1" "svelte-preprocess": "^5.1.2"
}, },
"packageManager": "yarn@4.0.2" "packageManager": "yarn@4.0.2"
} }

View file

@ -1,5 +1,4 @@
.header { .header {
position: fixed;
padding: 15px; padding: 15px;
background-color: transparent; background-color: transparent;
color: black; color: black;

View file

@ -16,11 +16,10 @@
#container-of-container { #container-of-container {
width: 100%; width: 100%;
position: fixed; position: fixed;
bottom: 0; bottom: 10px;
left: 0; left: 0;
display: grid; display: grid;
height: 10vh; height: 10dvh;
margin-bottom: 10px;
} }
#container { #container {
display: flex; display: flex;

View file

@ -27,6 +27,7 @@
max-width: 100%; max-width: 100%;
width: calc(100% - 20px); width: calc(100% - 20px);
margin: 0 auto; margin: 0 auto;
height: 100%;
} }
.route-card-right { .route-card-right {
border-top-right-radius: 45px; border-top-right-radius: 45px;

View file

@ -12,7 +12,6 @@
let component = InfoTab; let component = InfoTab;
onMount(() => { onMount(() => {
const gbcr = ref.getBoundingClientRect(); const gbcr = ref.getBoundingClientRect();
console.log(gbcr);
ref.style.height = `${gbcr.height}px`; ref.style.height = `${gbcr.height}px`;
}); });

View file

@ -46,6 +46,7 @@
overflow-y: scroll; overflow-y: scroll;
width: 100%; width: 100%;
display: grid; display: grid;
grid-template-rows: 70px auto;
} }
div { div {

View file

@ -1,11 +1,22 @@
<script> <script lang="ts">
import BottomAppBar from '$lib/components/BottomAppBar.svelte';
import Path from '$lib/components/Path.svelte'; import Path from '$lib/components/Path.svelte';
import Splash from '$lib/components/Splash.svelte'; import Splash from '$lib/components/Splash.svelte';
import { onNavigate } from '$app/navigation';
export let data; export let data;
let categories = data.categories; let categories = data.categories;
onNavigate((navigation) => {
if (!document.startViewTransition) return;
return new Promise((resolve) => {
document.startViewTransition(async () => {
resolve();
await navigation.complete;
});
});
});
</script> </script>
<Splash /> <Splash />
@ -22,10 +33,10 @@
main { main {
display: grid; display: grid;
margin: 0 auto; margin: 0 auto;
height: 100%; height: calc(90dvh - 10px);
width: 100%; width: 100%;
font-family: 'Roboto-Regular'; font-family: 'Roboto-Regular';
grid-template-rows: 16% 16% 16% 16% 16% 16%; grid-template-rows: 70px auto;
} }
.bold { .bold {
@ -33,21 +44,19 @@
font-size: 22px; font-size: 22px;
} }
#welcome-message { #welcome-message {
padding-top: 20px;
font-size: 18px; font-size: 18px;
display: grid; display: grid;
width: 100%; width: 100%;
place-content: center; place-content: center;
grid-template-columns: 1fr;
text-align: center; text-align: center;
grid-row-start: 1;
grid-row-end: 1;
} }
#route-cards { #route-cards {
grid-row-start: 2; padding: 20px;
grid-row-end: 7;
display: grid; display: grid;
width: 100%; width: 100%;
gap: 5px; height: 100%;
gap: 10px;
} }
</style> </style>

View file

@ -32,7 +32,6 @@
justify-content: center; justify-content: center;
gap: 15px; gap: 15px;
padding-top: 10px; padding-top: 10px;
margin-top: 70px;
overflow-y: scroll; overflow-y: scroll;
} }
</style> </style>

View file

@ -20,8 +20,6 @@
let divider; let divider;
const mapClick = () => {}; const mapClick = () => {};
console.log(data)
</script> </script>
<Header></Header> <Header></Header>

View file

@ -553,9 +553,9 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@sveltejs/kit@npm:^1.27.7": "@sveltejs/kit@npm:^1.29.1":
version: 1.27.7 version: 1.29.1
resolution: "@sveltejs/kit@npm:1.27.7" resolution: "@sveltejs/kit@npm:1.29.1"
dependencies: dependencies:
"@sveltejs/vite-plugin-svelte": "npm:^2.5.0" "@sveltejs/vite-plugin-svelte": "npm:^2.5.0"
"@types/cookie": "npm:^0.5.1" "@types/cookie": "npm:^0.5.1"
@ -575,7 +575,7 @@ __metadata:
vite: ^4.0.0 vite: ^4.0.0
bin: bin:
svelte-kit: svelte-kit.js svelte-kit: svelte-kit.js
checksum: 46478a442ec24fd06f012c2723fac20210b395bb5ccac0e89366687f95c4ab1e005db227a02bdc8759de52fa1c31aed2fd49e5fd77ac546e56ee33a9cb03dc69 checksum: 095a116276ba45f2b622f043e3ae7becdb9ba5070070e4e1d8d2ba8f79e2cfc3bc2d5bfa2b2128458e3708671f17fadcd09174a59e92212c68d171309e26ab95
languageName: node languageName: node
linkType: hard linkType: hard
@ -652,15 +652,15 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@typescript-eslint/eslint-plugin@npm:^6.13.2": "@typescript-eslint/eslint-plugin@npm:^6.14.0":
version: 6.13.2 version: 6.14.0
resolution: "@typescript-eslint/eslint-plugin@npm:6.13.2" resolution: "@typescript-eslint/eslint-plugin@npm:6.14.0"
dependencies: dependencies:
"@eslint-community/regexpp": "npm:^4.5.1" "@eslint-community/regexpp": "npm:^4.5.1"
"@typescript-eslint/scope-manager": "npm:6.13.2" "@typescript-eslint/scope-manager": "npm:6.14.0"
"@typescript-eslint/type-utils": "npm:6.13.2" "@typescript-eslint/type-utils": "npm:6.14.0"
"@typescript-eslint/utils": "npm:6.13.2" "@typescript-eslint/utils": "npm:6.14.0"
"@typescript-eslint/visitor-keys": "npm:6.13.2" "@typescript-eslint/visitor-keys": "npm:6.14.0"
debug: "npm:^4.3.4" debug: "npm:^4.3.4"
graphemer: "npm:^1.4.0" graphemer: "npm:^1.4.0"
ignore: "npm:^5.2.4" ignore: "npm:^5.2.4"
@ -673,44 +673,44 @@ __metadata:
peerDependenciesMeta: peerDependenciesMeta:
typescript: typescript:
optional: true optional: true
checksum: 531a4406d872738d165c6a66cb26e976523c94053b022a8210dc9fd10e91b79b705bc0fcc77145e9744e4108b53bdba55e02a10dc17757b22be92aff57849384 checksum: 6360efb0e142ed91de5e9bddcd041f769feeedd256332733be08f7a74c8ae637cbfb78c6b85d747c73231bbb95cef95ed2d2854ab7d43aebfbedb3a191f447f1
languageName: node languageName: node
linkType: hard linkType: hard
"@typescript-eslint/parser@npm:^6.13.2": "@typescript-eslint/parser@npm:^6.14.0":
version: 6.13.2 version: 6.14.0
resolution: "@typescript-eslint/parser@npm:6.13.2" resolution: "@typescript-eslint/parser@npm:6.14.0"
dependencies: dependencies:
"@typescript-eslint/scope-manager": "npm:6.13.2" "@typescript-eslint/scope-manager": "npm:6.14.0"
"@typescript-eslint/types": "npm:6.13.2" "@typescript-eslint/types": "npm:6.14.0"
"@typescript-eslint/typescript-estree": "npm:6.13.2" "@typescript-eslint/typescript-estree": "npm:6.14.0"
"@typescript-eslint/visitor-keys": "npm:6.13.2" "@typescript-eslint/visitor-keys": "npm:6.14.0"
debug: "npm:^4.3.4" debug: "npm:^4.3.4"
peerDependencies: peerDependencies:
eslint: ^7.0.0 || ^8.0.0 eslint: ^7.0.0 || ^8.0.0
peerDependenciesMeta: peerDependenciesMeta:
typescript: typescript:
optional: true optional: true
checksum: 2c62b8cd8a37eb2ea59cd00e559f51a9f57af746e2040e872af3c58ddd3f4071ad7b7009789bdeb0e0d4ee0343bfe96ee77288020f3ae22d08e1674203f5e156 checksum: 0344f7f640374e7e5a5b50e9c90fbd161611b3f455132e541ef9116eef7bd3acf364db64bd38d4b6b4fe148414494620c9df660f8ddce036019c38ae8e146585
languageName: node languageName: node
linkType: hard linkType: hard
"@typescript-eslint/scope-manager@npm:6.13.2": "@typescript-eslint/scope-manager@npm:6.14.0":
version: 6.13.2 version: 6.14.0
resolution: "@typescript-eslint/scope-manager@npm:6.13.2" resolution: "@typescript-eslint/scope-manager@npm:6.14.0"
dependencies: dependencies:
"@typescript-eslint/types": "npm:6.13.2" "@typescript-eslint/types": "npm:6.14.0"
"@typescript-eslint/visitor-keys": "npm:6.13.2" "@typescript-eslint/visitor-keys": "npm:6.14.0"
checksum: 9b159e5bb10dfb5953e71488200b4126378fc7e987ce7d90946aea9ec40cd66c7ada92399657c5d9794189b764ca6f4eb38a8dcb9e4c5aa50ab6000a39636b9c checksum: 8c59a215af3d7d24d8d0b21c28a858263de471650829f288a941e0eb8af8a054798da5c7594b7f39370219718270c18464b5edb96f451457e5f080a33ba57c2c
languageName: node languageName: node
linkType: hard linkType: hard
"@typescript-eslint/type-utils@npm:6.13.2": "@typescript-eslint/type-utils@npm:6.14.0":
version: 6.13.2 version: 6.14.0
resolution: "@typescript-eslint/type-utils@npm:6.13.2" resolution: "@typescript-eslint/type-utils@npm:6.14.0"
dependencies: dependencies:
"@typescript-eslint/typescript-estree": "npm:6.13.2" "@typescript-eslint/typescript-estree": "npm:6.14.0"
"@typescript-eslint/utils": "npm:6.13.2" "@typescript-eslint/utils": "npm:6.14.0"
debug: "npm:^4.3.4" debug: "npm:^4.3.4"
ts-api-utils: "npm:^1.0.1" ts-api-utils: "npm:^1.0.1"
peerDependencies: peerDependencies:
@ -718,23 +718,23 @@ __metadata:
peerDependenciesMeta: peerDependenciesMeta:
typescript: typescript:
optional: true optional: true
checksum: 1ca97c78abdf479aea0c54e869fda2ae2f69de1974cc063062ce7b5b16c7fdf497ea15c50a29dd5941ea1b6b77e8f1213a5c272a747e334ac69ede083f327468 checksum: 836a6e84be5a245b07c76968c98e2f3bae064767dde720080fe8f33e226188510778dbca4199b7e42ef675ec3fd6d0ab522ec1c77d6e2a9b50e8e275fe7c72c9
languageName: node languageName: node
linkType: hard linkType: hard
"@typescript-eslint/types@npm:6.13.2": "@typescript-eslint/types@npm:6.14.0":
version: 6.13.2 version: 6.14.0
resolution: "@typescript-eslint/types@npm:6.13.2" resolution: "@typescript-eslint/types@npm:6.14.0"
checksum: 029918ca5b1442bb4bc435773504ce32191e2c3e2fde8d4176bb6513f03e3dfa2aa9724b2d22b1640656d666b97f7a7ebfeaf67b881d5e07250828fa83e3ebe8 checksum: d59306a7a441982a4dcee7d775928fd5086aba9331f7a238f915723a0dc785df0e43af562a30a7c2f1b056a1e49fd64863a8d2450d31706193add0ade87334a4
languageName: node languageName: node
linkType: hard linkType: hard
"@typescript-eslint/typescript-estree@npm:6.13.2": "@typescript-eslint/typescript-estree@npm:6.14.0":
version: 6.13.2 version: 6.14.0
resolution: "@typescript-eslint/typescript-estree@npm:6.13.2" resolution: "@typescript-eslint/typescript-estree@npm:6.14.0"
dependencies: dependencies:
"@typescript-eslint/types": "npm:6.13.2" "@typescript-eslint/types": "npm:6.14.0"
"@typescript-eslint/visitor-keys": "npm:6.13.2" "@typescript-eslint/visitor-keys": "npm:6.14.0"
debug: "npm:^4.3.4" debug: "npm:^4.3.4"
globby: "npm:^11.1.0" globby: "npm:^11.1.0"
is-glob: "npm:^4.0.3" is-glob: "npm:^4.0.3"
@ -743,34 +743,34 @@ __metadata:
peerDependenciesMeta: peerDependenciesMeta:
typescript: typescript:
optional: true optional: true
checksum: 1c4c59dce0c51fdfee34d9f418e64fe28e3ec1a97661efc8a3d2780bdff36aff38de9090d356a968f394fa6d4e9c058936ce9cd260d4c44a52761ecd74915bce checksum: 767c3309987b8ad053a2403605a9bd7c4eb3283dece864a741a7531a1c28eea4d85acaa4613141b64e194f9f6c4cbc5bc762c9b9f3a67c6202aa8cbb18b180d2
languageName: node languageName: node
linkType: hard linkType: hard
"@typescript-eslint/utils@npm:6.13.2": "@typescript-eslint/utils@npm:6.14.0":
version: 6.13.2 version: 6.14.0
resolution: "@typescript-eslint/utils@npm:6.13.2" resolution: "@typescript-eslint/utils@npm:6.14.0"
dependencies: dependencies:
"@eslint-community/eslint-utils": "npm:^4.4.0" "@eslint-community/eslint-utils": "npm:^4.4.0"
"@types/json-schema": "npm:^7.0.12" "@types/json-schema": "npm:^7.0.12"
"@types/semver": "npm:^7.5.0" "@types/semver": "npm:^7.5.0"
"@typescript-eslint/scope-manager": "npm:6.13.2" "@typescript-eslint/scope-manager": "npm:6.14.0"
"@typescript-eslint/types": "npm:6.13.2" "@typescript-eslint/types": "npm:6.14.0"
"@typescript-eslint/typescript-estree": "npm:6.13.2" "@typescript-eslint/typescript-estree": "npm:6.14.0"
semver: "npm:^7.5.4" semver: "npm:^7.5.4"
peerDependencies: peerDependencies:
eslint: ^7.0.0 || ^8.0.0 eslint: ^7.0.0 || ^8.0.0
checksum: 84969be91e7949868eaaa289288c9d71927f0e427b572501b0991d8d62b40a4234f7287c35b35d276ccbb53e9ea5457b8250fcf4941e60e6b9ba4065fbfba416 checksum: 72689b2897b89e1bd1c71c1c2ae436d0ccfbcfffabf3be4378de74ad8138b2ecdbeeda7c1720e2f1754569e773f2fc7216f704335e1e56c38c7601ee1d190aeb
languageName: node languageName: node
linkType: hard linkType: hard
"@typescript-eslint/visitor-keys@npm:6.13.2": "@typescript-eslint/visitor-keys@npm:6.14.0":
version: 6.13.2 version: 6.14.0
resolution: "@typescript-eslint/visitor-keys@npm:6.13.2" resolution: "@typescript-eslint/visitor-keys@npm:6.14.0"
dependencies: dependencies:
"@typescript-eslint/types": "npm:6.13.2" "@typescript-eslint/types": "npm:6.14.0"
eslint-visitor-keys: "npm:^3.4.1" eslint-visitor-keys: "npm:^3.4.1"
checksum: c173bc1fcc42c3075a5ee094e7f3bf0279d98315c25ff49e20d02d79022b1d0402accfa113b070afb4d52a6f6d180594b67baa8b6a784eabdf82b54dd1ff454c checksum: 0e2363f9f1986ebdb41507c54a666fa1c336eb6beb383dc342a10844d3c42c89067b21c3f158851fa6f0825e1e451a5470b5454fde70a6fc33b4b0259462d954
languageName: node languageName: node
linkType: hard linkType: hard
@ -1604,9 +1604,9 @@ __metadata:
dependencies: dependencies:
"@sveltejs/adapter-auto": "npm:^2.1.1" "@sveltejs/adapter-auto": "npm:^2.1.1"
"@sveltejs/adapter-node": "npm:^1.3.1" "@sveltejs/adapter-node": "npm:^1.3.1"
"@sveltejs/kit": "npm:^1.27.7" "@sveltejs/kit": "npm:^1.29.1"
"@typescript-eslint/eslint-plugin": "npm:^6.13.2" "@typescript-eslint/eslint-plugin": "npm:^6.14.0"
"@typescript-eslint/parser": "npm:^6.13.2" "@typescript-eslint/parser": "npm:^6.14.0"
eslint: "npm:^8.55.0" eslint: "npm:^8.55.0"
eslint-config-prettier: "npm:^9.1.0" eslint-config-prettier: "npm:^9.1.0"
eslint-plugin-svelte: "npm:^2.35.1" eslint-plugin-svelte: "npm:^2.35.1"
@ -1615,10 +1615,10 @@ __metadata:
prettier-plugin-svelte: "npm:^3.1.2" prettier-plugin-svelte: "npm:^3.1.2"
svelte: "npm:^4.2.8" svelte: "npm:^4.2.8"
svelte-check: "npm:^3.6.2" svelte-check: "npm:^3.6.2"
svelte-preprocess: "npm:^5.1.1" svelte-preprocess: "npm:^5.1.2"
tslib: "npm:^2.6.2" tslib: "npm:^2.6.2"
typescript: "npm:^5.3.3" typescript: "npm:^5.3.3"
vite: "npm:^5.0.7" vite: "npm:^5.0.8"
languageName: unknown languageName: unknown
linkType: soft linkType: soft
@ -3088,7 +3088,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"svelte-preprocess@npm:^5.1.0, svelte-preprocess@npm:^5.1.1": "svelte-preprocess@npm:^5.1.0":
version: 5.1.1 version: 5.1.1
resolution: "svelte-preprocess@npm:5.1.1" resolution: "svelte-preprocess@npm:5.1.1"
dependencies: dependencies:
@ -3134,6 +3134,52 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"svelte-preprocess@npm:^5.1.2":
version: 5.1.2
resolution: "svelte-preprocess@npm:5.1.2"
dependencies:
"@types/pug": "npm:^2.0.6"
detect-indent: "npm:^6.1.0"
magic-string: "npm:^0.27.0"
sorcery: "npm:^0.11.0"
strip-indent: "npm:^3.0.0"
peerDependencies:
"@babel/core": ^7.10.2
coffeescript: ^2.5.1
less: ^3.11.3 || ^4.0.0
postcss: ^7 || ^8
postcss-load-config: ^2.1.0 || ^3.0.0 || ^4.0.0 || ^5.0.0
pug: ^3.0.0
sass: ^1.26.8
stylus: ^0.55.0
sugarss: ^2.0.0 || ^3.0.0 || ^4.0.0
svelte: ^3.23.0 || ^4.0.0-next.0 || ^4.0.0 || ^5.0.0-next.0
typescript: ">=3.9.5 || ^4.0.0 || ^5.0.0"
peerDependenciesMeta:
"@babel/core":
optional: true
coffeescript:
optional: true
less:
optional: true
postcss:
optional: true
postcss-load-config:
optional: true
pug:
optional: true
sass:
optional: true
stylus:
optional: true
sugarss:
optional: true
typescript:
optional: true
checksum: e536d96c1d08cb419df9bd4aac0761b73ca86dd1dc6943ceb48cbd9363c62c41358914e9fba78c29209be84acf9b9d5d4f07107e073450724dc832c725ab01c5
languageName: node
linkType: hard
"svelte@npm:^4.2.8": "svelte@npm:^4.2.8":
version: 4.2.8 version: 4.2.8
resolution: "svelte@npm:4.2.8" resolution: "svelte@npm:4.2.8"
@ -3297,9 +3343,9 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"vite@npm:^5.0.7": "vite@npm:^5.0.8":
version: 5.0.7 version: 5.0.8
resolution: "vite@npm:5.0.7" resolution: "vite@npm:5.0.8"
dependencies: dependencies:
esbuild: "npm:^0.19.3" esbuild: "npm:^0.19.3"
fsevents: "npm:~2.3.3" fsevents: "npm:~2.3.3"
@ -3333,7 +3379,7 @@ __metadata:
optional: true optional: true
bin: bin:
vite: bin/vite.js vite: bin/vite.js
checksum: ae3a54bcb7933bc1420c54f7d72dfa88b80e53557e7de19dee018d5e8e2545d967bcbd6af48fa96dd132229f25334ff61df42621c034fe8275d9076dadb3ad7f checksum: 74fa546f3eb16bd2c49f8267ec83f1aded8850cd5717b9809cead4c0178ee36462ef7723fe669e5801da86f9220b865689ed6ab94ee1965b92f0b122cdefb298
languageName: node languageName: node
linkType: hard linkType: hard