From 2539834ce13fb899823b7d390937b072956dbcce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Thu, 18 Aug 2022 23:20:48 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Finish=20About=20page?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add entering and scroll animations --- src/routes/about/+page.server.ts | 17 ++- src/routes/about/+page.svelte | 196 +++++++++++++++++++++++++++--- src/style/molecules/_heading.scss | 2 +- src/style/pages/_about.scss | 196 ++++++++++++++++++++++++++++-- 4 files changed, 373 insertions(+), 38 deletions(-) diff --git a/src/routes/about/+page.server.ts b/src/routes/about/+page.server.ts index f3d7cf3..211a586 100644 --- a/src/routes/about/+page.server.ts +++ b/src/routes/about/+page.server.ts @@ -19,21 +19,20 @@ export const load: PageServerLoad = async () => { about { description - intro_firstphoto { - id - title - } - intro_portraits { - id - title - } + intro_firstphoto { id, title } + intro_firstphoto_caption + intro_portraits { id, title } intro_text intro_firstlocation { slug + name country { - flag { id } + flag { id, title } slug } + illustration_desktop { id } + illustration_desktop_2x { id } + illustration_mobile { id } } purpose_text diff --git a/src/routes/about/+page.svelte b/src/routes/about/+page.svelte index 812258f..9886b91 100644 --- a/src/routes/about/+page.svelte +++ b/src/routes/about/+page.svelte @@ -3,28 +3,31 @@