Skip to content

Commit 2e1f018

Browse files
committed
feat: MemeDetailPage에서 연도 배지 및 텍스트 제거
- MemeDetailPage에서 불필요한 연도 배지와 텍스트를 제거하여 UI를 간소화함 - 코드의 가독성을 높이고, 사용자 경험을 개선하기 위한 작업임
1 parent e13c3c0 commit 2e1f018

File tree

2 files changed

+0
-20
lines changed

2 files changed

+0
-20
lines changed

apps/web/src/pages/MemeDetailPage/MemeDetailPage.styles.ts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -68,21 +68,6 @@ const ContentContainer = styled.div`
6868
padding: 20px 14px;
6969
`;
7070

71-
const YearBadge = styled.div`
72-
display: inline-flex;
73-
align-items: center;
74-
padding: 4px 8px;
75-
background-color: ${({ theme }) => theme.palette.main['light-blue'][90]};
76-
border-radius: 45px;
77-
margin-bottom: 10px;
78-
`;
79-
80-
const YearText = styled.span`
81-
${({ theme }) => theme.typography.body.body1};
82-
color: ${({ theme }) => theme.palette.gray['gray-9']};
83-
font-family: Galmuri11;
84-
`;
85-
8671
const Title = styled.h1`
8772
${({ theme }) => theme.typography.title.display3};
8873
color: ${({ theme }) => theme.palette.common.white};
@@ -121,8 +106,6 @@ export {
121106
ContentContainer,
122107
ButtonContainer,
123108
ActionButton,
124-
YearBadge,
125-
YearText,
126109
Title,
127110
HashTags,
128111
SectionTitle,

apps/web/src/pages/MemeDetailPage/index.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,6 @@ const MemeDetailPage = () => {
7777
/>
7878
</S.ImageContainer>
7979
<S.ContentContainer>
80-
<S.YearBadge>
81-
<S.YearText>{memeDetail?.success.trendPeriod}</S.YearText>
82-
</S.YearBadge>
8380
<S.Title>{memeDetail?.success.title}</S.Title>
8481
<S.HashTags>
8582
{memeDetail?.success.hashtags.map((tag) => `${tag} `)}

0 commit comments

Comments
 (0)