From 0c82464a98f29c02270be65afecc66b740af1f3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Thu, 11 Aug 2022 23:07:50 +0200 Subject: [PATCH] [wip] Make About page Process step a component MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also an attempt to manage the stacking effect of the steps but still not good 🙃 tricky shit --- src/components/molecules/ProcessStep.svelte | 58 +++++++ src/routes/about.svelte | 64 +++----- src/style/molecules/_process-step.scss | 118 ++++++++++++++ src/style/pages/_about.scss | 164 +++----------------- 4 files changed, 218 insertions(+), 186 deletions(-) create mode 100644 src/components/molecules/ProcessStep.svelte create mode 100644 src/style/molecules/_process-step.scss diff --git a/src/components/molecules/ProcessStep.svelte b/src/components/molecules/ProcessStep.svelte new file mode 100644 index 0000000..2c20b0c --- /dev/null +++ b/src/components/molecules/ProcessStep.svelte @@ -0,0 +1,58 @@ + + + + + + +
+
+ {#if image} + {image.title} + {/if} +
+

{title}

+
+ {@html text} +
+
+
+
\ No newline at end of file diff --git a/src/routes/about.svelte b/src/routes/about.svelte index c21e1f5..2c38dd3 100644 --- a/src/routes/about.svelte +++ b/src/routes/about.svelte @@ -4,14 +4,14 @@