Skip to content

Commit

Permalink
feat(frontend): remove footer
Browse files Browse the repository at this point in the history
  • Loading branch information
stonith404 committed Oct 18, 2022
1 parent 239b18c commit c52a4d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 29 deletions.
18 changes: 0 additions & 18 deletions frontend/src/components/Footer.tsx

This file was deleted.

15 changes: 4 additions & 11 deletions frontend/src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@ import {
Container,
LoadingOverlay,
MantineProvider,
Stack,
} from "@mantine/core";
import { useColorScheme } from "@mantine/hooks";
import { ModalsProvider } from "@mantine/modals";
import { NotificationsProvider } from "@mantine/notifications";
import type { AppProps } from "next/app";
import { useEffect, useState } from "react";
import Footer from "../components/Footer";
import Header from "../components/navBar/NavBar";
import { UserContext } from "../hooks/user.hook";
import authService from "../services/auth.service";
Expand Down Expand Up @@ -58,15 +56,10 @@ function App({ Component, pageProps }: AppProps) {
) : (
<UserContext.Provider value={user}>
<LoadingOverlay visible={isLoading} overlayOpacity={1} />
<Stack justify="space-between" sx={{ minHeight: "100vh" }}>
<div>
<Header />
<Container>
<Component {...pageProps} />
</Container>
</div>
<Footer />
</Stack>
<Header />
<Container>
<Component {...pageProps} />
</Container>
</UserContext.Provider>
)}
</GlobalLoadingContext.Provider>
Expand Down

0 comments on commit c52a4d5

Please sign in to comment.