From 45b3a24cffe5fd6821e99b2035aa3645008ecaf1 Mon Sep 17 00:00:00 2001 From: Allan Lasser Date: Mon, 20 Nov 2023 10:54:03 -0500 Subject: [PATCH 1/8] Refactor Viewer Footer - Turns the footer into a presentational component. - Adds stories for testing states of Footer. - Removes SASS styling from Footer. --- src/pages/viewer/Footer.svelte | 123 +++++++++--------- src/pages/viewer/Viewer.svelte | 7 +- src/pages/viewer/constants.js | 4 + .../viewer/stories/Footer.stories.svelte | 27 ++++ 4 files changed, 95 insertions(+), 66 deletions(-) create mode 100644 src/pages/viewer/constants.js create mode 100644 src/pages/viewer/stories/Footer.stories.svelte diff --git a/src/pages/viewer/Footer.svelte b/src/pages/viewer/Footer.svelte index ca7f99160..dc8e29bd0 100644 --- a/src/pages/viewer/Footer.svelte +++ b/src/pages/viewer/Footer.svelte @@ -1,101 +1,94 @@ - - -