From d5d8a461f0ee8abdd5f19a6f5a7a288b1f025724 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Thu, 27 Jan 2022 11:48:57 +0100
Subject: chore: update project preview appearance

---
 src/pages/projets.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/pages/projets.tsx')

diff --git a/src/pages/projets.tsx b/src/pages/projets.tsx
index 0c04024..1a83326 100644
--- a/src/pages/projets.tsx
+++ b/src/pages/projets.tsx
@@ -3,7 +3,7 @@ import PostHeader from '@components/PostHeader/PostHeader';
 import ProjectsList from '@components/ProjectsList/ProjectsList';
 import { seo } from '@config/seo';
 import { config } from '@config/website';
-import PageContent, { intro, meta } from '@content/pages/projects.mdx';
+import PageContent, { meta } from '@content/pages/projects.mdx';
 import styles from '@styles/pages/Projects.module.scss';
 import { Project } from '@ts/types/app';
 import { loadTranslation } from '@utils/helpers/i18n';
@@ -42,7 +42,7 @@ const Projects = ({ projects }: { projects: Project[] }) => {
     '@id': `${config.url}/#projects`,
     '@type': 'Article',
     name: meta.title,
-    description: intro,
+    description: seo.projects.description,
     author: { '@id': `${config.url}/#branding` },
     copyrightYear: publicationDate.getFullYear(),
     creator: { '@id': `${config.url}/#branding` },
@@ -68,7 +68,7 @@ const Projects = ({ projects }: { projects: Project[] }) => {
         <meta property="og:url" content={`${pageUrl}`} />
         <meta property="og:type" content="article" />
         <meta property="og:title" content={meta.title} />
-        <meta property="og:description" content={intro} />
+        <meta property="og:description" content={seo.projects.description} />
         <script
           type="application/ld+json"
           dangerouslySetInnerHTML={{ __html: JSON.stringify(schemaJsonLd) }}
-- 
cgit v1.2.3

