feat: amélioration des meta de la home
This commit is contained in:
parent
b1324c53ee
commit
b3c6560796
1 changed files with 16 additions and 1 deletions
|
|
@ -1,4 +1,6 @@
|
||||||
---
|
---
|
||||||
|
import { websiteStructuredDescription } from "../data_files/constants";
|
||||||
|
import type {WebPage, WithContext } from "schema-dts";
|
||||||
import MainLayout from "@/layouts/MainLayout.astro";
|
import MainLayout from "@/layouts/MainLayout.astro";
|
||||||
import HeroSection from "@components/sections/landing/HeroSection.astro";
|
import HeroSection from "@components/sections/landing/HeroSection.astro";
|
||||||
import HeroSectionAlt from "@components/sections/landing/HeroSectionAlt.astro";
|
import HeroSectionAlt from "@components/sections/landing/HeroSectionAlt.astro";
|
||||||
|
|
@ -16,9 +18,22 @@ import photoFondDImpasse from "@images/fond-d-impasse-albi.jpg";
|
||||||
import photoVuePiscine from "@images/vue-de-la-piscine.jpg";
|
import photoVuePiscine from "@images/vue-de-la-piscine.jpg";
|
||||||
import photoVueZenith from "@images/vue-zenith.jpg";
|
import photoVueZenith from "@images/vue-zenith.jpg";
|
||||||
|
|
||||||
|
const structuredDescription = {
|
||||||
|
"@context": "https://schema.org",
|
||||||
|
"@type": "WebPage",
|
||||||
|
"@id": "https://achat-maison-albi.fr/",
|
||||||
|
"url": "https://achat-maison-albi.fr/",
|
||||||
|
"name": "Belle maison individuelle de 177 m2 à vendre à Albi",
|
||||||
|
"description":
|
||||||
|
"Belle maison individuelle de 177 m2 dans un écrin de verdure sur un terrain de 980 m2, non-mitoyenne, avec piscine, grande terrasse et garage. Sans vis-à-vis.",
|
||||||
|
image: photoVuePiscine as unknown as string,
|
||||||
|
"isPartOf": websiteStructuredDescription,
|
||||||
|
"inLanguage": "fr-FR"
|
||||||
|
} satisfies WithContext<WebPage>
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
<MainLayout>
|
<MainLayout structuredData={structuredDescription}>
|
||||||
<HeroSection
|
<HeroSection
|
||||||
title=`Maison individuelle de 177 m2 à <span
|
title=`Maison individuelle de 177 m2 à <span
|
||||||
class="text-yellow-500 dark:text-yellow-400">Albi</span>`
|
class="text-yellow-500 dark:text-yellow-400">Albi</span>`
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue