summaryrefslogtreecommitdiffstats
path: root/src/pages
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-01-27 11:48:57 +0100
committerArmand Philippot <git@armandphilippot.com>2022-01-27 11:48:57 +0100
commitd5d8a461f0ee8abdd5f19a6f5a7a288b1f025724 (patch)
tree3dc071692baed3889e153d8fca37119a0d5c38c5 /src/pages
parente9c68e4b3ddcfe638bc611f421d55f372e0100e9 (diff)
chore: update project preview appearance
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/projets.tsx6
1 files changed, 3 insertions, 3 deletions
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) }}