From c4f3ae4390b19dbade989ff2376c68de5af351b3 Mon Sep 17 00:00:00 2001 From: Guusvanmeerveld Date: Tue, 9 Mar 2021 21:50:13 +0000 Subject: [PATCH] Added 404 page and Layout component --- components/Layout.tsx | 12 ++++++++++++ package-lock.json | 14 ++++++++++++++ package.json | 1 + pages/404.tsx | 23 +++++++++++------------ pages/_app.tsx | 1 + pages/binas.tsx | 21 ++++++++++----------- pages/index.tsx | 13 ++++++------- pages/thanks.tsx | 25 ++++++++++++------------- pages/upload.tsx | 12 ++++++++++++ public/robots.txt | 3 ++- styles/sass/upload.scss | 3 +++ 11 files changed, 84 insertions(+), 44 deletions(-) create mode 100644 components/Layout.tsx create mode 100644 pages/upload.tsx create mode 100644 styles/sass/upload.scss diff --git a/components/Layout.tsx b/components/Layout.tsx new file mode 100644 index 0000000..7963882 --- /dev/null +++ b/components/Layout.tsx @@ -0,0 +1,12 @@ +import Navbar from "./Navbar"; +import Footer from "./Footer"; + +const Layout = ({ children }) => ( + <> + + {children} +