-
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.
- Loading branch information
Showing
15 changed files
with
190 additions
and
113 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,30 @@ | ||
import { UserIcon } from '@components/common/icons/Icons'; | ||
import { useGetTrips } from '@hooks/useGetTrips'; | ||
|
||
export const TripSchedule = () => { | ||
const { tripName, startDate, endDate, numberOfPeople } = useGetTrips(); | ||
|
||
return ( | ||
<> | ||
<hr className="my-3 border-solid border-gray2" /> | ||
<div className="flex items-center justify-between"> | ||
<div className="flex items-center"> | ||
<div className="title1 mb-[10px] mr-1">강릉 여행 일정</div> | ||
<div className="flex"> | ||
<div className="title1 mb-[10px] mr-1">{tripName}</div> | ||
<div className="flex items-center pb-[10px]"> | ||
<UserIcon size={20} fill="#888" color="#888" /> | ||
<span className="body4 pt-[1px] text-gray4">5</span> | ||
<span className="body4 pt-[1px] text-gray4">{numberOfPeople}</span> | ||
</div> | ||
</div> | ||
<div className="flex"> | ||
<button className="body3 rounded-lg border-2 border-solid border-gray2 p-2 text-gray4"> | ||
편집 | ||
</button> | ||
</div> | ||
</div> | ||
<span className="body1 text-gray4">23.12.23 - 23.12.25</span> | ||
<span className="body1 text-gray4"> | ||
{startDate?.substring(2).replace(/-/g, '.') || ''} -{' '} | ||
{endDate?.substring(5).replace(/-/g, '.') || ''} | ||
</span> | ||
</> | ||
); | ||
}; |
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.