diff --git a/client/src/App.tsx b/client/src/App.tsx index 5b8ad65..c4a3e12 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -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() { } + protectedContent={} unauthenticatedContent={} /> - diff --git a/client/src/pages/Home/Home.tsx b/client/src/pages/Home/Home.tsx deleted file mode 100644 index 1f13f66..0000000 --- a/client/src/pages/Home/Home.tsx +++ /dev/null @@ -1,5 +0,0 @@ -export const Home = () => { - return ( - <> - ) -} \ No newline at end of file diff --git a/client/src/pages/Home/index.ts b/client/src/pages/Home/index.ts deleted file mode 100644 index 8dedd77..0000000 --- a/client/src/pages/Home/index.ts +++ /dev/null @@ -1 +0,0 @@ -export {Home} from './Home' \ No newline at end of file diff --git a/client/src/pages/NewAccount/index.ts b/client/src/pages/NewAccount/index.ts new file mode 100644 index 0000000..402c348 --- /dev/null +++ b/client/src/pages/NewAccount/index.ts @@ -0,0 +1 @@ +export {NewAccount} from './NewAccount' \ No newline at end of file diff --git a/client/src/pages/Projects/Projects.tsx b/client/src/pages/Projects/Projects.tsx new file mode 100644 index 0000000..5cf6d2b --- /dev/null +++ b/client/src/pages/Projects/Projects.tsx @@ -0,0 +1,5 @@ +export const Projects = () => { + return ( + <> + ) +} \ No newline at end of file diff --git a/client/src/pages/Projects/index.ts b/client/src/pages/Projects/index.ts new file mode 100644 index 0000000..3e5b1f0 --- /dev/null +++ b/client/src/pages/Projects/index.ts @@ -0,0 +1 @@ +export { Projects } from "./Projects"; diff --git a/client/src/pages/index.ts b/client/src/pages/index.ts index ec87417..0e6d979 100644 --- a/client/src/pages/index.ts +++ b/client/src/pages/index.ts @@ -1 +1,2 @@ -export * from './Home' \ No newline at end of file +export * from "./Projects"; +export * from "./NewAccount";