From 8a928f5fcd092ca5aef1cdedbd0db94bafc6d5ac Mon Sep 17 00:00:00 2001 From: Tamir Abutbul <1tamir198@gmail.com> Date: Thu, 7 Mar 2024 13:10:18 +0200 Subject: [PATCH] feat(line-profile): add a map (#557) --- src/pages/Profile.tsx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/pages/Profile.tsx b/src/pages/Profile.tsx index 731ce56b..2261a4ef 100644 --- a/src/pages/Profile.tsx +++ b/src/pages/Profile.tsx @@ -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 ( @@ -104,6 +105,9 @@ const LineProfileComponent = () => {
+ + + ) } @@ -132,4 +136,10 @@ const TableStyle = styled.table` } ` +const LineProfileMapContainer = styled.div` + .map-info { + height: 15rem; + } +` + export default Profile