This commit is contained in:
2026-04-13 14:43:06 +02:00
parent a8e155f5d5
commit 57dd2f5955
3 changed files with 333 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ import HomePage from './pages/HomePage';
import EditOrganizationPage from "./pages/EditOrganizationPage.jsx";
import CompanyPage from "./pages/CompanyPage.jsx";
import EditCompanyPage from "./pages/EditCompanyPage.jsx";
import CalenderPostPage from "./pages/CalenderPostPage.jsx";
const theme = createTheme({
palette: {
@@ -75,6 +76,14 @@ export default function App() {
</PrivateRoute>
}
/>
<Route
path="calenderPosts"
element={
<PrivateRoute allowedRoles={['ADMIN', 'REPORTER']}>
<CalenderPostPage />
</PrivateRoute>
}
/>
<Route
path="posts"
element={