diff --git a/client-next/src/components/DetailsViewContainer.tsx b/client-next/src/components/DetailsViewContainer.tsx new file mode 100644 index 00000000000..e130e964060 --- /dev/null +++ b/client-next/src/components/DetailsViewContainer.tsx @@ -0,0 +1,10 @@ + +export function DetailsViewContainer() { + return ( +
+ DetailViewContainer +
+ ); +} diff --git a/client-next/src/components/ItineraryListContainer.tsx b/client-next/src/components/ItineraryListContainer.tsx new file mode 100644 index 00000000000..9602b5b760a --- /dev/null +++ b/client-next/src/components/ItineraryListContainer.tsx @@ -0,0 +1,11 @@ + +export function ItineraryListContainer() { + return ( +
+ ItineraryListContainer +
+ ); +} diff --git a/client-next/src/components/MapView.tsx b/client-next/src/components/MapView.tsx index b76dd2995ee..034f5ca2a1e 100644 --- a/client-next/src/components/MapView.tsx +++ b/client-next/src/components/MapView.tsx @@ -30,12 +30,10 @@ const initialViewState = { export function MapView() { return ( diff --git a/client-next/src/components/SearchBarContainer.tsx b/client-next/src/components/SearchBarContainer.tsx index 99312f1b0e9..9d41b090752 100644 --- a/client-next/src/components/SearchBarContainer.tsx +++ b/client-next/src/components/SearchBarContainer.tsx @@ -1,12 +1,10 @@ -import { useTripQuery } from '../hooks/useTripQuery.ts'; export function SearchBarContainer() { - const [data, callback] = useTripQuery(); - - return ( - <> - - {data &&
{JSON.stringify(data.trip.tripPatterns, null, 2)}
} - - ); + return ( +
+ SearchBarContainer +
+ ); } diff --git a/client-next/src/screens/App.tsx b/client-next/src/screens/App.tsx index 25f1c40b0a2..ad548010819 100644 --- a/client-next/src/screens/App.tsx +++ b/client-next/src/screens/App.tsx @@ -1,13 +1,20 @@ +import {Stack} from "react-bootstrap"; import { MapView } from '../components/MapView.tsx'; import { NavBarContainer } from '../components/NavBarContainer.tsx'; import { SearchBarContainer } from '../components/SearchBarContainer.tsx'; +import {ItineraryListContainer} from "../components/ItineraryListContainer.tsx"; +import {DetailsViewContainer} from "../components/DetailsViewContainer.tsx"; export function App() { return (
- + + + + +
); }