-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from caioricciuti/V1.5
Release V1.5
- Loading branch information
Showing
121 changed files
with
13,377 additions
and
5,422 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 |
---|---|---|
|
@@ -27,4 +27,5 @@ dist-ssr | |
|
||
|
||
# Remove some things for docker-compose | ||
.clickhouse_local_data | ||
.clickhouse_local_data | ||
|
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
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,43 @@ | ||
import { BrowserRouter as Router, Routes, Route } from "react-router-dom"; | ||
import Sidebar from "./components/Sidebar"; | ||
import HomePage from "@/pages/Home"; | ||
import MetricsPage from "@/pages/Metrics"; | ||
import SettingsPage from "@/pages/Settings"; | ||
import { ThemeProvider } from "@/components/theme-provider"; | ||
import AppInitializer from "@/components/AppInit"; | ||
import NotFound from "./pages/NotFound"; | ||
import { PrivateRoute } from "@/components/privateRoute"; // Import PrivateRoute | ||
|
||
export default function App() { | ||
return ( | ||
<ThemeProvider defaultTheme="dark" storageKey="vite-ui-theme"> | ||
<Router> | ||
<AppInitializer> | ||
<div className="flex h-screen overflow-hidden"> | ||
<Sidebar /> | ||
<Routes> | ||
<Route | ||
path="/" | ||
element={ | ||
<PrivateRoute> | ||
<HomePage /> | ||
</PrivateRoute> | ||
} | ||
/> | ||
<Route | ||
path="/metrics" | ||
element={ | ||
<PrivateRoute> | ||
<MetricsPage /> | ||
</PrivateRoute> | ||
} | ||
/> | ||
<Route path="/settings" element={<SettingsPage />} /> | ||
<Route path="*" element={<NotFound />} /> | ||
</Routes> | ||
</div> | ||
</AppInitializer> | ||
</Router> | ||
</ThemeProvider> | ||
); | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.