Update homepage metas and add share image
This commit is contained in:
@@ -51,6 +51,7 @@ export const load: PageServerLoad = async () => {
|
||||
seo_name
|
||||
seo_title
|
||||
seo_description
|
||||
seo_image { id }
|
||||
description
|
||||
explore_list
|
||||
limit_new
|
||||
|
||||
@@ -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 @@
|
||||
<svelte:window bind:scrollY bind:innerHeight />
|
||||
|
||||
<Metas
|
||||
title="{settings.seo_name} — {settings.seo_title}"
|
||||
title={settings.seo_title}
|
||||
description={settings.seo_description}
|
||||
image=""
|
||||
image={getAssetUrlKey(settings.seo_image.id, 'share-image')}
|
||||
/>
|
||||
|
||||
<PageTransition name="homepage">
|
||||
|
||||
Reference in New Issue
Block a user