mirror of
https://github.com/stonith404/pingvin-share.git
synced 2025-01-15 01:14:27 -05:00
feat(frontend): remove footer
This commit is contained in:
parent
239b18cdae
commit
c52a4d5e3a
2 changed files with 4 additions and 29 deletions
|
@ -1,18 +0,0 @@
|
||||||
import { Anchor, Center, Footer as MFooter, Text } from "@mantine/core";
|
|
||||||
|
|
||||||
const Footer = () => {
|
|
||||||
return (
|
|
||||||
<MFooter height="auto" p={10}>
|
|
||||||
<Center>
|
|
||||||
<Text size="xs" color="dimmed">
|
|
||||||
Made with 🖤 by{" "}
|
|
||||||
<Anchor size="xs" href="https://eliasschneider.com" target="_blank">
|
|
||||||
Elias Schneider
|
|
||||||
</Anchor>
|
|
||||||
</Text>
|
|
||||||
</Center>
|
|
||||||
</MFooter>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
export default Footer;
|
|
|
@ -3,14 +3,12 @@ import {
|
||||||
Container,
|
Container,
|
||||||
LoadingOverlay,
|
LoadingOverlay,
|
||||||
MantineProvider,
|
MantineProvider,
|
||||||
Stack,
|
|
||||||
} from "@mantine/core";
|
} from "@mantine/core";
|
||||||
import { useColorScheme } from "@mantine/hooks";
|
import { useColorScheme } from "@mantine/hooks";
|
||||||
import { ModalsProvider } from "@mantine/modals";
|
import { ModalsProvider } from "@mantine/modals";
|
||||||
import { NotificationsProvider } from "@mantine/notifications";
|
import { NotificationsProvider } from "@mantine/notifications";
|
||||||
import type { AppProps } from "next/app";
|
import type { AppProps } from "next/app";
|
||||||
import { useEffect, useState } from "react";
|
import { useEffect, useState } from "react";
|
||||||
import Footer from "../components/Footer";
|
|
||||||
import Header from "../components/navBar/NavBar";
|
import Header from "../components/navBar/NavBar";
|
||||||
import { UserContext } from "../hooks/user.hook";
|
import { UserContext } from "../hooks/user.hook";
|
||||||
import authService from "../services/auth.service";
|
import authService from "../services/auth.service";
|
||||||
|
@ -58,15 +56,10 @@ function App({ Component, pageProps }: AppProps) {
|
||||||
) : (
|
) : (
|
||||||
<UserContext.Provider value={user}>
|
<UserContext.Provider value={user}>
|
||||||
<LoadingOverlay visible={isLoading} overlayOpacity={1} />
|
<LoadingOverlay visible={isLoading} overlayOpacity={1} />
|
||||||
<Stack justify="space-between" sx={{ minHeight: "100vh" }}>
|
<Header />
|
||||||
<div>
|
<Container>
|
||||||
<Header />
|
<Component {...pageProps} />
|
||||||
<Container>
|
</Container>
|
||||||
<Component {...pageProps} />
|
|
||||||
</Container>
|
|
||||||
</div>
|
|
||||||
<Footer />
|
|
||||||
</Stack>
|
|
||||||
</UserContext.Provider>
|
</UserContext.Provider>
|
||||||
)}
|
)}
|
||||||
</GlobalLoadingContext.Provider>
|
</GlobalLoadingContext.Provider>
|
||||||
|
|
Loading…
Add table
Reference in a new issue