From 629ac882dae1c398cb74113d68471735546a70a3 Mon Sep 17 00:00:00 2001 From: kiosion Date: Thu, 21 Sep 2023 22:16:52 -0300 Subject: [PATCH] chore: More misc cleanup --- svelte-app/src/app.scss | 2 +- .../src/components/about/timeline.svelte | 6 +- svelte-app/src/components/code-block.svelte | 14 ++--- .../components/controls/arrow-button.svelte | 29 ++++++++++ .../document/content/common/footer.svelte | 13 ++--- .../document/content/common/header.svelte | 56 ++++++++++++------- .../document/content/common/summary.svelte | 4 +- .../content/common/summary/heading.svelte | 49 ---------------- .../content/common/summary/item.svelte | 46 +++------------ .../content/common/summary/items.svelte | 21 +++---- .../document/content/content.svelte | 10 +--- .../src/components/document/route.svelte | 14 +---- .../layouts/scroll-container.svelte | 19 +++++-- svelte-app/src/languages/en.json | 3 + svelte-app/src/languages/fr.json | 3 + svelte-app/src/lib/helpers/scrollTo.ts | 2 +- svelte-app/src/routes/+layout.svelte | 2 +- .../src/routes/[[lang=lang]]/+page.svelte | 15 ++--- 18 files changed, 130 insertions(+), 178 deletions(-) create mode 100644 svelte-app/src/components/controls/arrow-button.svelte delete mode 100644 svelte-app/src/components/document/content/common/summary/heading.svelte diff --git a/svelte-app/src/app.scss b/svelte-app/src/app.scss index fe8382124..e4eee6377 100644 --- a/svelte-app/src/app.scss +++ b/svelte-app/src/app.scss @@ -30,7 +30,7 @@ img { body { @apply h-full w-full overflow-x-hidden; - background-color: $dark; + background-color: $black; --textColour: $light; &.light { diff --git a/svelte-app/src/components/about/timeline.svelte b/svelte-app/src/components/about/timeline.svelte index a1ad326f9..eb3efc19e 100644 --- a/svelte-app/src/components/about/timeline.svelte +++ b/svelte-app/src/components/about/timeline.svelte @@ -10,7 +10,7 @@ import Hoverable from '$components/hoverable.svelte'; import Icon from '$components/icon.svelte'; import PortableText from '$components/portable-text/portable-text.svelte'; - import Tags from '$components/tags.svelte'; + // import Tags from '$components/tags.svelte'; import Tooltip from '$components/tooltip.svelte'; import type { AuthorTimelineItem } from '$types'; @@ -111,9 +111,9 @@ easing: circInOut }} > - {#if item.skills} +
diff --git a/svelte-app/src/components/code-block.svelte b/svelte-app/src/components/code-block.svelte index 0fbc39841..9f9e98dd2 100644 --- a/svelte-app/src/components/code-block.svelte +++ b/svelte-app/src/components/code-block.svelte @@ -119,7 +119,7 @@
{#if filename}
{/if} - + {#key copied}