This commit is contained in:
2026-04-17 09:57:01 +02:00
parent dd1d78e6ad
commit c3c05e8af4
5 changed files with 176 additions and 3 deletions

View File

@@ -17,6 +17,7 @@ import EditOrganizationPage from "./pages/Organization/EditOrganizationPage.jsx"
import CompanyPage from "./pages/Company/CompanyPage.jsx";
import EditCompanyPage from "./pages/Company/EditCompanyPage.jsx";
import CalenderPostPage from "./pages/Calender/CalenderPostPage.jsx";
import ProfilePage from "./pages/Auth/ProfilePage.jsx";
const theme = createTheme({
palette: {
@@ -76,6 +77,14 @@ export default function App() {
</PrivateRoute>
}
/>
<Route
path="profile"
element={
<PrivateRoute allowedRoles={['ADMIN', 'REPORTER', 'SITE_OWNER']}>
<ProfilePage />
</PrivateRoute>
}
/>
<Route
path="calenderPosts"
element={