From 1bb382409b33805fd7d7129fb93db071f197d4c5 Mon Sep 17 00:00:00 2001 From: DefectingCat Date: Wed, 23 Mar 2022 21:05:57 +0800 Subject: [PATCH] Modify styles * add table of contents plugin --- components/Footer.tsx | 2 +- components/NavBar.tsx | 2 +- layouts/MDXLayout.tsx | 29 +++++++++++++++++++++- next.config.mjs | 5 ++-- package.json | 4 ++- pages/p/first-post.mdx | 4 +++ yarn.lock | 55 ++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 95 insertions(+), 6 deletions(-) diff --git a/components/Footer.tsx b/components/Footer.tsx index 6c9c2ed..93a19f7 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -5,7 +5,7 @@ const nowDay = new Date().getFullYear(); const Footer: FC = () => { return ( <> -