feat: adjust Trip*Updates page

This commit is contained in:
dancingCycle 2023-12-22 08:35:51 +01:00
parent 2634cda4b7
commit 95aace906e
4 changed files with 5 additions and 8 deletions

View File

@ -21,11 +21,6 @@ function NavigationBar () {
</Nav>
<Nav className="mr-auto">
<LinkContainer to="/trip-updates">
<Nav.Link>Trip Updates</Nav.Link>
</LinkContainer>
</Nav>
<Nav className="mr-auto">
<LinkContainer to="/trips">
<Nav.Link>Trips</Nav.Link>
</LinkContainer>
</Nav>

View File

@ -10,7 +10,7 @@ export default function TripUpdatesRouteDayTable ({array, title}){
/*return a React element*/
return (
<>
<p>Table of {array.length}&nbsp;{title} today:</p>
<p>Table of {array.length}&nbsp;{title} for today:</p>
<table>
<thead>
<tr>

View File

@ -10,7 +10,7 @@ export default function TripsRouteDayTable ({array, title}){
/*return a React element*/
return (
<>
<p>Table of {array.length}&nbsp;{title} today:</p>
<p>Table of {array.length}&nbsp;{title} for today:</p>
<table>
<thead>
<tr>

View File

@ -28,11 +28,13 @@ export default function Main() {
<Route path="/agency" element={<OverviewNext />} />
<Route path="/files" element={<Files />} />
<Route path="/trip-updates" element={<TripUpdates />} />
<Route path="/trips" element={<Trips />} />
<Route path="/contact" element={<Contact />} />
</Routes>
</BrowserRouter>
);
/** TODO Is this route of any value?
<Route path="/trips" element={<Trips />} />
*/
/** TODO Date [today] is not implemented!
<Route path="/overview-today" element={<Overview />} />
*/