From c0e1caf54308ff9687937422a46040151d39832e Mon Sep 17 00:00:00 2001 From: Elias Schneider Date: Wed, 11 May 2022 14:18:36 +0200 Subject: [PATCH] Add footer --- src/components/Footer.tsx | 15 +++++++++++++++ src/pages/_app.tsx | 16 ++++++++++++---- 2 files changed, 27 insertions(+), 4 deletions(-) create mode 100644 src/components/Footer.tsx diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx new file mode 100644 index 00000000..dc6eeb4c --- /dev/null +++ b/src/components/Footer.tsx @@ -0,0 +1,15 @@ +import { Anchor, Center, Footer as MFooter, Text } from "@mantine/core"; + +const Footer = () => { + return ( + +
+ + Made with 🖤 by Elias Schneider + +
+
+ ); +}; + +export default Footer; diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx index 8cd894a7..204c367a 100644 --- a/src/pages/_app.tsx +++ b/src/pages/_app.tsx @@ -1,8 +1,10 @@ import { ColorScheme, Container, + Group, LoadingOverlay, MantineProvider, + Stack, } from "@mantine/core"; import { ModalsProvider } from "@mantine/modals"; import { NotificationsProvider } from "@mantine/notifications"; @@ -11,6 +13,7 @@ import { GetServerSidePropsContext } from "next"; import type { AppProps } from "next/app"; import { useEffect, useState } from "react"; import "../../styles/globals.css"; +import Footer from "../components/Footer"; import ThemeProvider from "../components/mantine/ThemeProvider"; import Header from "../components/navBar/NavBar"; import globalStyle from "../styles/global.style"; @@ -56,10 +59,15 @@ function App( -
- - - + +
+
+ + + +
+