diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-01-10 16:15:59 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-01-10 16:21:20 +0100 |
| commit | cd1078e3a6ddb1b1598723beec4905c123ee85a6 (patch) | |
| tree | c8bf2a0ea7625880e7a6839b2ff579d1309de3e5 /src/pages/cv.tsx | |
| parent | 843d2ee67487c489095066dca1ad902deb8a4344 (diff) | |
chore: add PDF and image format to CV page
Diffstat (limited to 'src/pages/cv.tsx')
| -rw-r--r-- | src/pages/cv.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
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} |
