Use API share image for Homepage
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
import { timeline, stagger } from 'motion'
|
||||
import { DELAY } from '$utils/constants'
|
||||
import { smoothScroll } from '$utils/stores'
|
||||
// import { getAssetUrlKey } from '$utils/api'
|
||||
import { getAssetUrlKey } from '$utils/api'
|
||||
import reveal from '$animations/reveal'
|
||||
import { quartOut } from '$animations/easings'
|
||||
// Components
|
||||
@@ -78,9 +78,8 @@
|
||||
<Metas
|
||||
title={settings.seo_title}
|
||||
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>
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
<Metas
|
||||
title="Locations – Houses Of"
|
||||
description={text}
|
||||
image=""
|
||||
/>
|
||||
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 518 KiB |
Reference in New Issue
Block a user