Skip to content

Commit

Permalink
feat(line-profile): add a map (#557)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamir198 authored Mar 7, 2024
1 parent d8b1a55 commit 8a928f5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/pages/Profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { useTranslation } from 'react-i18next'
import Widget from 'src/shared/Widget'
import { useLoaderData } from 'react-router-dom'
import { ProfileLineDetails } from './ProfileLineDetails'
import { MapWithLocationsAndPath } from './components/map-related/MapWithLocationsAndPath'

const Profile = () => {
return (
Expand Down Expand Up @@ -104,6 +105,9 @@ const LineProfileComponent = () => {
<div></div>
</div>
</Widget>
<LineProfileMapContainer>
<MapWithLocationsAndPath positions={[]} plannedRouteStops={[]} />
</LineProfileMapContainer>
</Grid>
)
}
Expand Down Expand Up @@ -132,4 +136,10 @@ const TableStyle = styled.table`
}
`

const LineProfileMapContainer = styled.div`
.map-info {
height: 15rem;
}
`

export default Profile

0 comments on commit 8a928f5

Please sign in to comment.