Added OperatorConstraints UI generator

This commit is contained in:
Saud Fatayerji
2023-11-19 20:09:53 +03:00
parent d73a61ae3d
commit 42904788bf
6 changed files with 97 additions and 7 deletions

View File

@@ -5,6 +5,7 @@ import Home from "./pages/Home";
import About from "./pages/About";
import Dashboard from "./pages/Dashboard";
import ToPdf from "./pages/convert/ToPdf"
import Impose from "./pages/page-operations/Impose"
import NoMatch from "./pages/NoMatch";
import NavBar from "./components/NavBar";
@@ -39,13 +40,20 @@ export default function App() {
<Route index element={<Home />} />
<Route path="about" element={<About />} />
<Route path="dashboard" element={<Dashboard />} />
<Route path="to-pdf" element={<ToPdf />} />
{/* Using path="*"" means "match anything", so this route
acts like a catch-all for URLs that we don't have explicit
routes for. */}
<Route path="*" element={<NoMatch />} />
</Route>
<Route path="/convert" element={<Layout />}>
<Route path="file-to-pdf" element={<ToPdf />} />
<Route path="*" element={<NoMatch />} />
</Route>
<Route path="/page-operations" element={<Layout />}>
<Route path="impose" element={<Impose />} />
<Route path="*" element={<NoMatch />} />
</Route>
</Routes>
</Suspense>
);