From 6dc5276f725e273a0e570f7997ddc826d3b62447 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Tue, 13 Sep 2022 10:38:12 +0200 Subject: [PATCH] Update homepage metas and add share image --- src/routes/+layout.server.ts | 1 + src/routes/+page.svelte | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/routes/+layout.server.ts b/src/routes/+layout.server.ts index e4aca4b..f6a508f 100644 --- a/src/routes/+layout.server.ts +++ b/src/routes/+layout.server.ts @@ -51,6 +51,7 @@ export const load: PageServerLoad = async () => { seo_name seo_title seo_description + seo_image { id } description explore_list limit_new diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 2a64635..3f56e03 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -9,6 +9,7 @@ import { timeline, stagger } from 'motion' import { DELAY } from '$utils/contants' import { smoothScroll } from '$utils/functions' + import { getAssetUrlKey } from '$utils/api' import reveal from '$animations/reveal' import { quartOut } from '$animations/easings' // Components @@ -75,9 +76,9 @@