From c87490038df99b110ef44e0bcb67ec9e91055eb1 Mon Sep 17 00:00:00 2001 From: Gianmarco Pettinato Date: Tue, 19 Oct 2021 16:33:21 +0200 Subject: [PATCH] updated animation/navigation --- package-lock.json | 19 +++++++++++++++++++ package.json | 1 + src/elements/Jobs.svelte | 2 +- src/elements/Menu.svelte | 11 ++++++----- src/routes/index.svelte | 1 + svelte.config.js | 3 ++- 6 files changed, 30 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 468b483..358aaba 100644 --- a/package-lock.json +++ b/package-lock.json @@ -35,6 +35,7 @@ "svelte-jester": "^2.1.5", "svelte-preprocess": "^4.9.4", "svelte-preprocess-markdown": "^2.7.3", + "svelte-scrollto": "^0.2.0", "ts-jest": "^27.0.7", "tslib": "^2.3.1", "typescript": "^4.4.3" @@ -7849,6 +7850,15 @@ "marked": "^1.0.0" } }, + "node_modules/svelte-scrollto": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/svelte-scrollto/-/svelte-scrollto-0.2.0.tgz", + "integrity": "sha512-l4K2E4jr6dXCODtZDCkpp/TzknVVoq8gecHM0UOOmihvLosczdyLuyDUhZ+U2HkhLWi7nnimuOstZSFKtXSpmA==", + "dev": true, + "dependencies": { + "svelte": "3.x" + } + }, "node_modules/symbol-tree": { "version": "3.2.4", "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz", @@ -14287,6 +14297,15 @@ "marked": "^1.0.0" } }, + "svelte-scrollto": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/svelte-scrollto/-/svelte-scrollto-0.2.0.tgz", + "integrity": "sha512-l4K2E4jr6dXCODtZDCkpp/TzknVVoq8gecHM0UOOmihvLosczdyLuyDUhZ+U2HkhLWi7nnimuOstZSFKtXSpmA==", + "dev": true, + "requires": { + "svelte": "3.x" + } + }, "symbol-tree": { "version": "3.2.4", "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz", diff --git a/package.json b/package.json index bf76789..e3b0668 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,7 @@ "svelte-jester": "^2.1.5", "svelte-preprocess": "^4.9.4", "svelte-preprocess-markdown": "^2.7.3", + "svelte-scrollto": "^0.2.0", "ts-jest": "^27.0.7", "tslib": "^2.3.1", "typescript": "^4.4.3" diff --git a/src/elements/Jobs.svelte b/src/elements/Jobs.svelte index 74ca6b6..98f56b1 100644 --- a/src/elements/Jobs.svelte +++ b/src/elements/Jobs.svelte @@ -18,7 +18,7 @@
{#each job.images as image } - realtive to the article + {image} {/each}
diff --git a/src/elements/Menu.svelte b/src/elements/Menu.svelte index d9c6d14..f7d47cb 100644 --- a/src/elements/Menu.svelte +++ b/src/elements/Menu.svelte @@ -1,4 +1,5 @@