generated from mantinedev/vite-min-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Working: - Home - Video Upload - User Scene History - Config Selection - Login/Signup Needs Functionality: - Account Deletion - Scene Deletion - About - Community / Published Scenes ( Lots Backend work )
- Loading branch information
1 parent
e0c3cbf
commit 5ed6841
Showing
40 changed files
with
2,119 additions
and
195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"typescript.tsdk": "node_modules/typescript/lib" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
/** | ||
* @file MantineApp.tsx | ||
* @description The main component for the Mantine App. Contains MantineProvider to pass ui context to children | ||
* components. Contains AuthProvier to pass user context to children components. Contains AppShell to provide | ||
*/ | ||
|
||
import { | ||
MantineProvider, | ||
AppShell, | ||
ColorSchemeScript, | ||
} from "@mantine/core"; | ||
import { theme } from "../../theme"; | ||
import { Route, BrowserRouter as Router, Routes } from "react-router-dom"; | ||
|
||
import { AuthProvider } from "../../Context/AuthContext"; | ||
import Home from "../Home/Home"; | ||
import Login from "../Login/Login"; | ||
import Signup from "../Signup/Signup"; | ||
import Header from "../Header/Header"; | ||
import SceneHistory from "../SceneHistory/SceneHistory"; | ||
import Scene from "../Scene/Scene"; | ||
import LocalScene from "../Scene/LocalScene/LocalScene"; | ||
|
||
function MantineApp() { | ||
|
||
return ( | ||
<MantineProvider theme={{ ...theme }} > | ||
<ColorSchemeScript defaultColorScheme="dark" /> | ||
<Router> | ||
<AuthProvider> | ||
<AppShell header={{ height: 60 }} padding="md"> | ||
|
||
<AppShell.Header> | ||
<Header /> | ||
</AppShell.Header> | ||
|
||
<AppShell.Main> | ||
<Routes> | ||
<Route path="/" element={<Home />} /> | ||
<Route path="/Home" element={<Home />} /> | ||
<Route path="/Login" element={<Login />} /> | ||
<Route path="/Signup" element={<Signup />} /> | ||
<Route path="/SceneHistory" element={<SceneHistory />} />\ | ||
<Route path="/Scene" element={<Scene />} /> | ||
<Route path="/Scene/Local" element={<LocalScene />} /> | ||
{/* Add other routes here */} | ||
</Routes> | ||
</AppShell.Main> | ||
|
||
</AppShell> | ||
</AuthProvider> | ||
</Router> | ||
</MantineProvider> | ||
); | ||
} | ||
|
||
export default MantineApp; |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.