Use API share image for Homepage
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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 |
Reference in New Issue
Block a user