Use API share image for Homepage

This commit is contained in:
2022-11-03 22:49:14 +01:00
parent bba3a3b0fe
commit 0d321d318b
3 changed files with 2 additions and 4 deletions

View File

@@ -9,7 +9,7 @@
import { timeline, stagger } from 'motion' import { timeline, stagger } from 'motion'
import { DELAY } from '$utils/constants' import { DELAY } from '$utils/constants'
import { smoothScroll } from '$utils/stores' import { smoothScroll } from '$utils/stores'
// import { getAssetUrlKey } from '$utils/api' import { getAssetUrlKey } from '$utils/api'
import reveal from '$animations/reveal' import reveal from '$animations/reveal'
import { quartOut } from '$animations/easings' import { quartOut } from '$animations/easings'
// Components // Components
@@ -78,9 +78,8 @@
<Metas <Metas
title={settings.seo_title} title={settings.seo_title}
description={settings.seo_description} description={settings.seo_description}
image="{$page.url.origin}/images/share_image.jpg" image={getAssetUrlKey(settings.seo_image.id, 'share-image')}
/> />
<!-- image={getAssetUrlKey(settings.seo_image.id, 'share-image')} -->
<PageTransition> <PageTransition>

View File

@@ -20,7 +20,6 @@
<Metas <Metas
title="Locations Houses Of" title="Locations Houses Of"
description={text} description={text}
image=""
/> />

Binary file not shown.

Before

Width:  |  Height:  |  Size: 518 KiB