From 78eeb401c00933986ee572286f071e5ca0b42982 Mon Sep 17 00:00:00 2001 From: Sangelo Date: Tue, 29 Oct 2024 18:37:48 +0100 Subject: [PATCH] Revert "[c+a] better accessibility + HomeButton component" This reverts commit 7308de8728509d3849f3a596025fe9c82d3ec560. --- src/app.html | 3 +- src/lib/components/About.svelte | 36 +++++++++- src/lib/components/Home.svelte | 3 +- src/lib/components/Modal.svelte | 3 +- src/lib/components/Projects.svelte | 60 +++++++++++++---- src/lib/components/Socials.svelte | 37 ++++++++++- src/lib/components/elements/HomeButton.svelte | 66 ------------------- src/styles/socials.scss | 6 ++ static/assets/debug.json | 1 - 9 files changed, 123 insertions(+), 92 deletions(-) delete mode 100644 src/lib/components/elements/HomeButton.svelte diff --git a/src/app.html b/src/app.html index cbabff7..6784559 100644 --- a/src/app.html +++ b/src/app.html @@ -6,13 +6,12 @@ - - + diff --git a/src/lib/components/About.svelte b/src/lib/components/About.svelte index ff5201b..8a819e9 100644 --- a/src/lib/components/About.svelte +++ b/src/lib/components/About.svelte @@ -1,10 +1,42 @@
- +

About me

diff --git a/src/lib/components/Home.svelte b/src/lib/components/Home.svelte index f39af8e..63aebb6 100644 --- a/src/lib/components/Home.svelte +++ b/src/lib/components/Home.svelte @@ -24,7 +24,7 @@ style="mask-type: alpha" maskUnits="userSpaceOnUse" x="27" - y="0" + y="0"t width="90" height="145" > @@ -51,7 +51,6 @@ on:click={()=> smoothScrollTo('about')} on:keydown={handleKeydown} role="button" - aria-label="Scroll down for more" tabindex=0 > diff --git a/src/lib/components/Modal.svelte b/src/lib/components/Modal.svelte index 50e08fb..91c1e33 100644 --- a/src/lib/components/Modal.svelte +++ b/src/lib/components/Modal.svelte @@ -50,10 +50,9 @@ out:fly={{ y: 200, duration: 300 }} > {#if contentComponent} - + {:else} -


No content provided

{/if}
diff --git a/src/lib/components/Projects.svelte b/src/lib/components/Projects.svelte index fc2296e..66e5b5b 100644 --- a/src/lib/components/Projects.svelte +++ b/src/lib/components/Projects.svelte @@ -1,6 +1,6 @@ - - - -{#if page === 'about'} - -{/if} - -{#if page === 'projects'} - -{/if} - -{#if page === 'socials'} - -{/if} diff --git a/src/styles/socials.scss b/src/styles/socials.scss index e536488..07c6c0a 100644 --- a/src/styles/socials.scss +++ b/src/styles/socials.scss @@ -164,6 +164,12 @@ footer { margin: 2em; + svg.logo { + height: 3em; + width: 3em; + cursor: pointer; + } + .footer { font-size: 18px; } diff --git a/static/assets/debug.json b/static/assets/debug.json index 1ad645d..5777550 100644 --- a/static/assets/debug.json +++ b/static/assets/debug.json @@ -1,5 +1,4 @@ { - "__comment__": "Do not edit file directly, this will be populated by the build script.", "commit": "unavailable", "tag": "unavailable" }