Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5,610 changes: 5,610 additions & 0 deletions Frontend/package-lock.json

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
10 changes: 10 additions & 0 deletions routeOptimiserFrontend/src/App.jsx → Frontend/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,30 @@ const App = () => {
return (
<Router>
<Routes>
{/* Standalone printable route (no shared layout for clean printing) */}
<Route path="/printable-receipt" element={<PrintableReceipt />} />

{/* Wildcard route acts as layout wrapper for all other paths */}
<Route
path="*"
element={
<div className="min-h-screen bg-black text-gray-100">
<Navbar />
{/* RouteLoader can manage loading states / transitions */}
<RouteLoader>
<Routes>
{/* Landing page (root) */}
<Route path="/" element={<Landing />} />
{/* Compliance module UI */}
<Route path="/compliance" element={<Compliance />} />
{/* Planning workflow */}
<Route path="/plan" element={<Home />} />
{/* Informational pages */}
<Route path="/about" element={<About />} />
<Route path="/contact" element={<Contact />} />
{/* Dynamic route for ranked route details */}
<Route path="/route/:rank" element={<RouteDetails />} />
{/* Standard receipt view */}
<Route path="/receipt" element={<Receipt />} />
</Routes>
</RouteLoader>
Expand All @@ -41,4 +50,5 @@ const App = () => {
);
};


export default App;
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 0 additions & 8 deletions routeOptimiserFrontend/README.md

This file was deleted.