feat: adjust Trip*Updates page
This commit is contained in:
parent
2634cda4b7
commit
95aace906e
|
@ -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>
|
||||
|
|
|
@ -10,7 +10,7 @@ export default function TripUpdatesRouteDayTable ({array, title}){
|
|||
/*return a React element*/
|
||||
return (
|
||||
<>
|
||||
<p>Table of {array.length} {title} today:</p>
|
||||
<p>Table of {array.length} {title} for today:</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
|
@ -10,7 +10,7 @@ export default function TripsRouteDayTable ({array, title}){
|
|||
/*return a React element*/
|
||||
return (
|
||||
<>
|
||||
<p>Table of {array.length} {title} today:</p>
|
||||
<p>Table of {array.length} {title} for today:</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
|
@ -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 />} />
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue