mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-23 23:18:18 +02:00
feat: implement production router with mobile/desktop support and add sidebar navigation component
This commit is contained in:
1 parent
ea8aed7e01
commit
4318bb3b5c
4 files changed
+4
-29
No files matched your search
@@ -26,7 +26,6 @@ import SavTickets from "@/pages/SavTickets";
|
||||
import Avoirs from "@/pages/Avoirs";
|
||||
import WeatherSettings from "@/pages/WeatherSettings";
|
||||
import Analytics from "@/pages/Analytics";
|
||||
import SalesAnalysisPage from "@/pages/SalesAnalysisPage";
|
||||
import PaymentSchedulePage from "@/pages/PaymentSchedulePage";
|
||||
import Layout from "@/components/Layout";
|
||||
|
||||
@@ -125,7 +124,6 @@ function RouterProduction() {
|
||||
<Route path="/sav" component={MobileSavPage} />
|
||||
<Route path="/avoirs" component={MobileAvoirsPage} />
|
||||
<Route path="/analytics" component={Analytics} />
|
||||
<Route path="/sales-analysis" component={SalesAnalysisPage} />
|
||||
<Route path="/payment-schedule" component={PaymentSchedulePage} />
|
||||
|
||||
{/* Redirection /auth vers dashboard */}
|
||||
|
||||
@@ -35,7 +35,6 @@ import {
|
||||
FileUp,
|
||||
Send,
|
||||
Receipt,
|
||||
TrendingUp,
|
||||
CreditCard
|
||||
} from "lucide-react";
|
||||
|
||||
@@ -290,12 +289,6 @@ export default function Sidebar() {
|
||||
icon: BarChart3,
|
||||
roles: ["admin", "directeur", "manager"]
|
||||
},
|
||||
{
|
||||
path: "/sales-analysis",
|
||||
label: "Analyse Vente",
|
||||
icon: TrendingUp,
|
||||
roles: ["admin", "directeur"]
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user