Skip to content

Commit

Permalink
refactor: Flex suffix로 통일
Browse files Browse the repository at this point in the history
  • Loading branch information
ukkodeveloper committed Oct 15, 2023
1 parent df40820 commit a1f8881
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions frontend/src/pages/PartCollectingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ const PartCollectingPage = () => {
<VideoPlayerProvider>
<CollectingPartProvider songVideoId={songVideoId} videoLength={videoLength} songId={id}>
<PageFlex $gap={8} $direction="row" $md={{ $direction: 'column' }}>
<FlexPlayer $gap={8} $direction="column">
<SongPlayerFlex $gap={8} $direction="column">
<SongInformation albumCoverUrl={albumCoverUrl} singer={singer} title={title} />
<Youtube videoId={songVideoId} />
</FlexPlayer>
<FlexControlInterface $gap={8} $direction="column">
</SongPlayerFlex>
<ControllerFlex $gap={8} $direction="column">
<CollectingInformation />
<VideoController />
<RegisterPart />
</FlexControlInterface>
</ControllerFlex>
</PageFlex>
</CollectingPartProvider>
</VideoPlayerProvider>
Expand All @@ -63,14 +63,14 @@ const PageFlex = styled(Flex)`
}
`;

const FlexControlInterface = styled(Flex)`
const SongPlayerFlex = styled(Flex)`
@media (min-width: ${({ theme }) => theme.breakPoints.md}) {
width: 320px;
padding: 16px;
}
`;

const FlexPlayer = styled(Flex)`
const ControllerFlex = styled(Flex)`
flex: 1;
@media (min-width: ${({ theme }) => theme.breakPoints.md}) {
Expand Down

0 comments on commit a1f8881

Please sign in to comment.