Add SEO from API on About
This commit is contained in:
@@ -64,6 +64,10 @@ export const load: PageServerLoad = async () => {
|
||||
|
||||
contact_title
|
||||
contact_blocks
|
||||
|
||||
seo_title
|
||||
seo_description
|
||||
seo_image { id }
|
||||
}
|
||||
}`)
|
||||
const { data: { about, photos: photosIds }} = res
|
||||
|
||||
@@ -196,9 +196,9 @@
|
||||
<svelte:window bind:scrollY bind:innerWidth bind:innerHeight />
|
||||
|
||||
<Metas
|
||||
title="About the project – Houses Of"
|
||||
description="Houses Of is a passion project that collects charismatic houses from around the world through the mediums of graphic design, photography, and documentation"
|
||||
image=""
|
||||
title={about.seo_title}
|
||||
description={about.seo_description}
|
||||
image={about.seo_image ? getAssetUrlKey(about.seo_image.id, 'share-image') : null}
|
||||
/>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user