change and add into components, widgets and pages
This commit is contained in:
+7
-3
@@ -9,9 +9,11 @@ import TrustCenter from '@/pages/TrustCenter';
|
||||
import ServiceDesk from '@/pages/ServiceDesk';
|
||||
import DocumentVault from '@/pages/DocumentVault';
|
||||
import AccountSettings from '@/pages/AccountSettings';
|
||||
import { InfrastructureEvolution } from '@/pages/InfrastructureEvolution';
|
||||
import Analytics from '@/pages/Analytics';
|
||||
import Backups from '@/pages/Backups';
|
||||
import { InfrastructureEvolution } from '@/pages/trustcenter/InfrastructureEvolution';
|
||||
import Analytics from '@/pages/trustcenter/Analytics';
|
||||
import Backups from '@/pages/trustcenter/Backups';
|
||||
import NewTicket from '@/pages/servicedesk/NewTicket';
|
||||
import TicketDetail from '@/pages/servicedesk/TicketDetail';
|
||||
|
||||
function App() {
|
||||
const [isAuthenticated, setIsAuthenticated] = useState(pb.authStore.isValid);
|
||||
@@ -59,6 +61,8 @@ function App() {
|
||||
<Route path="/evolution-infrastructure" element={<InfrastructureEvolution />} />
|
||||
<Route path="/analytics" element={<Analytics />} />
|
||||
<Route path="/backups" element={<Backups />} />
|
||||
<Route path="/support/new" element={<NewTicket />} />
|
||||
<Route path="/support/tickets/:ticketId" element={<TicketDetail />} />
|
||||
|
||||
{/* Sécurité : Si l'URL n'existe pas, on redirige vers le dashboard */}
|
||||
<Route path="*" element={<Navigate to="/dashboard" replace />} />
|
||||
|
||||
Reference in New Issue
Block a user