From 768d0d53786ac3d84ed6676628b5b56ef57e6cd2 Mon Sep 17 00:00:00 2001 From: Travis Fischer Date: Sat, 16 Jan 2021 14:49:45 -0500 Subject: [PATCH] feat: minor fixes --- components/Footer.tsx | 43 ++++++++++++++ components/NotionPage.tsx | 2 + components/styles.module.css | 105 ++++++++--------------------------- lib/config.ts | 2 +- lib/get-all-pages.ts | 41 ++++++++++++-- lib/get-site-maps.ts | 15 +++-- lib/map-page-url.ts | 9 ++- lib/resolve-notion-page.ts | 19 +++++++ lib/types.ts | 12 +++- package.json | 1 + styles/notion.css | 5 ++ yarn.lock | 5 ++ 12 files changed, 161 insertions(+), 98 deletions(-) create mode 100644 components/Footer.tsx diff --git a/components/Footer.tsx b/components/Footer.tsx new file mode 100644 index 0000000..01840f5 --- /dev/null +++ b/components/Footer.tsx @@ -0,0 +1,43 @@ +import * as React from 'react' +import { FaTwitter, FaGithub, FaLinkedin } from 'react-icons/fa' + +import styles from './styles.module.css' + +export const Footer: React.FC<{}> = () => { + return ( + + ) +} diff --git a/components/NotionPage.tsx b/components/NotionPage.tsx index ea9f27a..4a55a89 100644 --- a/components/NotionPage.tsx +++ b/components/NotionPage.tsx @@ -22,6 +22,7 @@ import { CustomHtml } from './CustomHtml' import { Loading } from './Loading' import { Page404 } from './Page404' import { PageHead } from './PageHead' +import { Footer } from './Footer' import styles from './styles.module.css' @@ -138,6 +139,7 @@ export const NotionPage: React.FC = ({ mapPageUrl={siteMapPageUrl} mapImageUrl={mapNotionImageUrl} searchNotion={searchNotion} + footer={