From cd1078e3a6ddb1b1598723beec4905c123ee85a6 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Mon, 10 Jan 2022 16:15:59 +0100 Subject: chore: add PDF and image format to CV page --- src/components/Widget/CVPreview/CVPreview.tsx | 36 +++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 src/components/Widget/CVPreview/CVPreview.tsx (limited to 'src/components/Widget/CVPreview/CVPreview.tsx') diff --git a/src/components/Widget/CVPreview/CVPreview.tsx b/src/components/Widget/CVPreview/CVPreview.tsx new file mode 100644 index 0000000..f0bd0fe --- /dev/null +++ b/src/components/Widget/CVPreview/CVPreview.tsx @@ -0,0 +1,36 @@ +import { Trans } from '@lingui/macro'; +import Image from 'next/image'; +import Link from 'next/link'; +import styles from './CVPreview.module.scss'; + +const CVPreview = ({ + title, + imgSrc, + pdf, +}: { + title: string; + imgSrc: string; + pdf: string; +}) => { + return ( +
+

{title}

+
+ CV Armand Philippot +
+

+ + Download CV in PDF + +

+
+ ); +}; + +export default CVPreview; -- cgit v1.2.3