From 62afb57ff3e7b6516b0d3d39c88ed29a1468bd3a Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Mon, 10 Jan 2022 15:19:27 +0100 Subject: chore: add a social media widget on contact and cv pages --- src/pages/contact.tsx | 9 +++++++++ src/pages/cv.tsx | 9 +++++++++ 2 files changed, 18 insertions(+) (limited to 'src/pages') diff --git a/src/pages/contact.tsx b/src/pages/contact.tsx index 9eebdb2..d9c4e4f 100644 --- a/src/pages/contact.tsx +++ b/src/pages/contact.tsx @@ -11,6 +11,7 @@ import Head from 'next/head'; import { FormEvent, useState } from 'react'; import PostHeader from '@components/PostHeader/PostHeader'; import styles from '@styles/pages/Page.module.scss'; +import { SocialMedia } from '@components/Widget'; const ContactPage: NextPageWithLayout = () => { const [name, setName] = useState(''); @@ -111,6 +112,14 @@ const ContactPage: NextPageWithLayout = () => { + ); diff --git a/src/pages/cv.tsx b/src/pages/cv.tsx index 8bd1b0c..83d1fe5 100644 --- a/src/pages/cv.tsx +++ b/src/pages/cv.tsx @@ -9,6 +9,8 @@ import CVContent, { intro, meta } 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 { t } from '@lingui/macro'; const CV: NextPageWithLayout = () => { const dates = { @@ -36,6 +38,13 @@ const CV: NextPageWithLayout = () => {
+ ); -- cgit v1.2.3