From 85a3793722d0a2e1afe4ce5e3f60240f93e89ba2 Mon Sep 17 00:00:00 2001 From: Angelika Schneider Date: Wed, 5 Apr 2023 14:02:43 +0200 Subject: [PATCH 01/13] Revert sveltejs/kit update --- package-lock.json | 50 +++++++++++++++++++++++------------------------ package.json | 2 +- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2192267..7c3994a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "Apache-2.0", "dependencies": { "@sveltejs/adapter-node": "^1.0.0", - "@sveltejs/kit": "^1.15.1", + "@sveltejs/kit": "^1.7.1", "svelte": "^3.56.0" }, "devDependencies": { @@ -702,24 +702,24 @@ } }, "node_modules/@sveltejs/kit": { - "version": "1.15.1", - "resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-1.15.1.tgz", - "integrity": "sha512-Wexy3N+COoClTuRawVJRbLoH5HFxNrXG3uoHt/Yd5IGx8WAcJM9Nj/CcBLw/tjCR9uDDYMnx27HxuPy3YIYQUA==", + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-1.7.1.tgz", + "integrity": "sha512-epaQCaZ/D3Qr/SgrRKHv+MpM6rz8JdaXSjOjas8t7PbDJl88KpqYWUvsmyuJQn/yNNGar23kENyy4NueNnjIKQ==", "hasInstallScript": true, "dependencies": { "@sveltejs/vite-plugin-svelte": "^2.0.0", "@types/cookie": "^0.5.1", "cookie": "^0.5.0", - "devalue": "^4.3.0", + "devalue": "^4.2.3", "esm-env": "^1.0.0", "kleur": "^4.1.5", - "magic-string": "^0.30.0", + "magic-string": "^0.29.0", "mime": "^3.0.0", "sade": "^1.8.1", "set-cookie-parser": "^2.5.1", "sirv": "^2.0.2", "tiny-glob": "^0.2.9", - "undici": "5.20.0" + "undici": "5.19.1" }, "bin": { "svelte-kit": "svelte-kit.js" @@ -764,9 +764,9 @@ } }, "node_modules/@sveltejs/kit/node_modules/magic-string": { - "version": "0.30.0", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.0.tgz", - "integrity": "sha512-LA+31JYDJLs82r2ScLrlz1GjSgu66ZV518eyWT+S8VhyQn/JL0u9MeBOvQMGYiPk1DBiSN9DDMOcXvigJZaViQ==", + "version": "0.29.0", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.29.0.tgz", + "integrity": "sha512-WcfidHrDjMY+eLjlU+8OvwREqHwpgCeKVBUpQ3OhYYuvfaYCUgcbuBzappNzZvg/v8onU3oQj+BYpkOJe9Iw4Q==", "dependencies": { "@jridgewell/sourcemap-codec": "^1.4.13" }, @@ -3122,9 +3122,9 @@ } }, "node_modules/undici": { - "version": "5.20.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-5.20.0.tgz", - "integrity": "sha512-J3j60dYzuo6Eevbawwp1sdg16k5Tf768bxYK4TUJRH7cBM4kFCbf3mOnM/0E3vQYXvpxITbbWmBafaDbxLDz3g==", + "version": "5.19.1", + "resolved": "https://registry.npmjs.org/undici/-/undici-5.19.1.tgz", + "integrity": "sha512-YiZ61LPIgY73E7syxCDxxa3LV2yl3sN8spnIuTct60boiiRaE1J8mNWHO8Im2Zi/sFrPusjLlmRPrsyraSqX6A==", "dependencies": { "busboy": "^1.6.0" }, @@ -3597,23 +3597,23 @@ } }, "@sveltejs/kit": { - "version": "1.15.1", - "resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-1.15.1.tgz", - "integrity": "sha512-Wexy3N+COoClTuRawVJRbLoH5HFxNrXG3uoHt/Yd5IGx8WAcJM9Nj/CcBLw/tjCR9uDDYMnx27HxuPy3YIYQUA==", + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-1.7.1.tgz", + "integrity": "sha512-epaQCaZ/D3Qr/SgrRKHv+MpM6rz8JdaXSjOjas8t7PbDJl88KpqYWUvsmyuJQn/yNNGar23kENyy4NueNnjIKQ==", "requires": { "@sveltejs/vite-plugin-svelte": "^2.0.0", "@types/cookie": "^0.5.1", "cookie": "^0.5.0", - "devalue": "^4.3.0", + "devalue": "^4.2.3", "esm-env": "^1.0.0", "kleur": "^4.1.5", - "magic-string": "^0.30.0", + "magic-string": "^0.29.0", "mime": "^3.0.0", "sade": "^1.8.1", "set-cookie-parser": "^2.5.1", "sirv": "^2.0.2", "tiny-glob": "^0.2.9", - "undici": "5.20.0" + "undici": "5.19.1" }, "dependencies": { "@sveltejs/vite-plugin-svelte": { @@ -3640,9 +3640,9 @@ } }, "magic-string": { - "version": "0.30.0", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.0.tgz", - "integrity": "sha512-LA+31JYDJLs82r2ScLrlz1GjSgu66ZV518eyWT+S8VhyQn/JL0u9MeBOvQMGYiPk1DBiSN9DDMOcXvigJZaViQ==", + "version": "0.29.0", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.29.0.tgz", + "integrity": "sha512-WcfidHrDjMY+eLjlU+8OvwREqHwpgCeKVBUpQ3OhYYuvfaYCUgcbuBzappNzZvg/v8onU3oQj+BYpkOJe9Iw4Q==", "requires": { "@jridgewell/sourcemap-codec": "^1.4.13" } @@ -5103,9 +5103,9 @@ "dev": true }, "undici": { - "version": "5.20.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-5.20.0.tgz", - "integrity": "sha512-J3j60dYzuo6Eevbawwp1sdg16k5Tf768bxYK4TUJRH7cBM4kFCbf3mOnM/0E3vQYXvpxITbbWmBafaDbxLDz3g==", + "version": "5.19.1", + "resolved": "https://registry.npmjs.org/undici/-/undici-5.19.1.tgz", + "integrity": "sha512-YiZ61LPIgY73E7syxCDxxa3LV2yl3sN8spnIuTct60boiiRaE1J8mNWHO8Im2Zi/sFrPusjLlmRPrsyraSqX6A==", "requires": { "busboy": "^1.6.0" } diff --git a/package.json b/package.json index 92fb64d..0778fcf 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ }, "dependencies": { "@sveltejs/adapter-node": "^1.0.0", - "@sveltejs/kit": "^1.15.1", + "@sveltejs/kit": "^1.7.1", "svelte": "^3.56.0" }, "devDependencies": { From 8fa3188ce78c2c3e2a18d5e3c9bc1be553dce2ca Mon Sep 17 00:00:00 2001 From: "Kunz, Immanuel" Date: Tue, 6 Jun 2023 15:06:37 +0200 Subject: [PATCH 02/13] add icons --- src/lib/Navigation.svelte | 31 ++++++++++++++----- .../cloud/[...id]/assessment/+page.svelte | 5 +-- 2 files changed, 25 insertions(+), 11 deletions(-) diff --git a/src/lib/Navigation.svelte b/src/lib/Navigation.svelte index f7f7e7a..933d67d 100644 --- a/src/lib/Navigation.svelte +++ b/src/lib/Navigation.svelte @@ -3,15 +3,12 @@ import { Collapse, Navbar, NavbarToggler, - NavbarBrand, Nav, NavItem, NavLink, - Dropdown, - DropdownToggle, - DropdownMenu, - DropdownItem } from 'sveltestrap'; +import Fa from 'svelte-fa' +import { faCloud, faRuler, faFile, faCertificate } from '@fortawesome/free-solid-svg-icons' import { SvelteToast } from '@zerodevx/svelte-toast'; import { base } from '$app/paths'; import { page } from '$app/stores'; @@ -60,13 +57,33 @@ console.log($page.url); (isOpen = !isOpen)} />