Skip to content

Commit

Permalink
refactor: PinDetail h2, h3 시맨틱 태그 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
semnil5202 committed Nov 22, 2023
1 parent c230aec commit 7ac99a7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions frontend/src/pages/PinDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ function PinDetail({
return (
<Wrapper $layoutWidth={width} $selectedPinId={pinId} data-cy="pin-detail">
<Flex $justifyContent="space-between" $alignItems="baseline" width="100%">
<Text color="black" $fontSize="extraLarge" $fontWeight="bold">
<Text as="h2" color="black" $fontSize="extraLarge" $fontWeight="bold">
{pin.name}
</Text>
</Flex>
Expand Down Expand Up @@ -218,7 +218,7 @@ function PinDetail({
<PinImageContainer images={pin.images} getPinData={getPinData} />
<Space size={6} />
<Flex $flexDirection="column">
<Text color="black" $fontSize="large" $fontWeight="bold">
<Text as="h3" color="black" $fontSize="large" $fontWeight="bold">
어디에 있나요?
</Text>
<Space size={1} />
Expand All @@ -227,7 +227,7 @@ function PinDetail({
</Text>
</Flex>
<Space size={6} />
<Flex $flexDirection="column">
<Flex as="h3" $flexDirection="column">
<Text color="black" $fontSize="large" $fontWeight="bold">
어떤 곳인가요?
</Text>
Expand All @@ -252,8 +252,8 @@ function PinDetail({

{/* Comment Section */}

<Text color="black" $fontSize="large" $fontWeight="bold">
어떻게 생각하나요?{' '}
<Text as="h3" color="black" $fontSize="large" $fontWeight="bold">
어떻게 생각하나요?
</Text>
<Space size={1} />
{userToken && (
Expand Down

0 comments on commit 7ac99a7

Please sign in to comment.