rename Home to Projects

This commit is contained in:
João Geonizeli
2022-07-09 19:21:46 -03:00
parent 525ed04a71
commit a41987d4e0
7 changed files with 16 additions and 17 deletions

View File

@@ -3,15 +3,13 @@ import "@fontsource/roboto/400.css";
import "@fontsource/roboto/500.css";
import "@fontsource/roboto/700.css";
import { Container } from "@mui/material";
import { Topbar } from "./components/Topbar";
import { Home } from "./pages";
import { AuthProvider } from "./providers/AuthProvider";
import "./index.css";
import { LoginDialog } from "./components/LoginDialog";
import { UnautorizedBlock } from "./components/UnautorizedBlock";
import { NewAccount } from "./pages/NewAccount/NewAccount";
import { CookiesProvider } from "react-cookie";
import { LoginDialog } from "./components/LoginDialog";
import { Topbar } from "./components/Topbar";
import { UnautorizedBlock } from "./components/UnautorizedBlock";
import "./index.css";
import { NewAccount, Projects } from "./pages";
import { AuthProvider } from "./providers/AuthProvider";
function App() {
return (
@@ -21,10 +19,9 @@ function App() {
<LoginDialog />
<Container>
<UnautorizedBlock
protectedContent={<Home />}
protectedContent={<Projects />}
unauthenticatedContent={<NewAccount />}
/>
<Home />
</Container>
</AuthProvider>
</CookiesProvider>

View File

@@ -1,5 +0,0 @@
export const Home = () => {
return (
<></>
)
}

View File

@@ -1 +0,0 @@
export {Home} from './Home'

View File

@@ -0,0 +1 @@
export {NewAccount} from './NewAccount'

View File

@@ -0,0 +1,5 @@
export const Projects = () => {
return (
<></>
)
}

View File

@@ -0,0 +1 @@
export { Projects } from "./Projects";

View File

@@ -1 +1,2 @@
export * from './Home'
export * from "./Projects";
export * from "./NewAccount";