From b9c132b3298f6e75d4d2931af9fed106813e41c8 Mon Sep 17 00:00:00 2001 From: Travis Fischer Date: Sat, 30 Jan 2021 21:13:34 -0500 Subject: [PATCH] feat: add PageSocial aside for non-article pages --- components/Footer.tsx | 4 +- components/NotionPage.tsx | 7 +- components/PageSocial.module.css | 127 +++++++++++++++++++++++++++++++ components/PageSocial.tsx | 71 +++++++++++++++++ styles/notion.css | 4 +- 5 files changed, 209 insertions(+), 4 deletions(-) create mode 100644 components/PageSocial.module.css create mode 100644 components/PageSocial.tsx diff --git a/components/Footer.tsx b/components/Footer.tsx index 28b6d26..aeb70da 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -5,6 +5,8 @@ import * as config from 'lib/config' import styles from './styles.module.css' +// TODO: merge the data and icons from PageSocial with the social links in Footer + export const Footer: React.FC<{ isDarkMode: boolean toggleDarkMode: () => void @@ -19,7 +21,7 @@ export const Footer: React.FC<{ return (