From cd1078e3a6ddb1b1598723beec4905c123ee85a6 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Mon, 10 Jan 2022 16:15:59 +0100
Subject: chore: add PDF and image format to CV page

---
 src/pages/cv.tsx | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

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

diff --git a/src/pages/cv.tsx b/src/pages/cv.tsx
index 83d1fe5..025d554 100644
--- a/src/pages/cv.tsx
+++ b/src/pages/cv.tsx
@@ -5,11 +5,11 @@ import { NextPageWithLayout } from '@ts/types/app';
 import { loadTranslation } from '@utils/helpers/i18n';
 import { GetStaticProps, GetStaticPropsContext } from 'next';
 import Head from 'next/head';
-import CVContent, { intro, meta } from '@content/pages/cv.mdx';
+import CVContent, { intro, meta, pdf, image } from '@content/pages/cv.mdx';
 import PostHeader from '@components/PostHeader/PostHeader';
 import { ArticleMeta } from '@ts/types/articles';
 import styles from '@styles/pages/Page.module.scss';
-import { SocialMedia } from '@components/Widget';
+import { CVPreview, SocialMedia } from '@components/Widget';
 import { t } from '@lingui/macro';
 
 const CV: NextPageWithLayout = () => {
@@ -39,6 +39,7 @@ const CV: NextPageWithLayout = () => {
           <CVContent />
         </div>
         <aside className={styles.aside}>
+          <CVPreview title={t`Other formats`} imgSrc={image} pdf={pdf} />
           <SocialMedia
             title={t`Open-source projects`}
             github={true}
-- 
cgit v1.2.3

