-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #207 from FinalDoubleTen/FE-77--feat/Trips
Feat: 맵 마커 적용
- Loading branch information
Showing
18 changed files
with
214 additions
and
164 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import { UserIcon } from '@components/common/icons/Icons'; | ||
import { socketContext } from '@hooks/useSocket'; | ||
import { useContext } from 'react'; | ||
|
||
const PlanSchedule = () => { | ||
const { tripInfo } = useContext(socketContext); | ||
const trip = tripInfo?.data; | ||
|
||
return ( | ||
<div className="my-5"> | ||
<div className="flex items-center justify-between"> | ||
<div className="flex items-center"> | ||
<div className="title1 mb-[10px] mr-1">{trip?.tripName}</div> | ||
<div className="flex items-center pb-[10px]"> | ||
<UserIcon size={20} fill="#888" color="#888" /> | ||
<span className="body4 pt-[1px] text-gray4"> | ||
{trip?.numberOfPeople} | ||
</span> | ||
</div> | ||
</div> | ||
</div> | ||
<span className="body1 text-gray4"> | ||
{trip?.startDate} ~ {trip?.endDate} | ||
</span> | ||
</div> | ||
); | ||
}; | ||
|
||
export default PlanSchedule; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.