Skip to content

Commit c373616

Browse files
authored
[WMS-200] feat: 유저 상세정보 페이지 로고 추가
[WMS-200] feat: 유저 상세정보 페이지 로고 추가
2 parents acc05f9 + 6cfaa55 commit c373616

File tree

3 files changed

+19
-4
lines changed

3 files changed

+19
-4
lines changed

src/features/user/ui/detail/UserDetail.styles.ts

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,20 @@ export const Container = styled.div`
1010
display: flex;
1111
flex-direction: column;
1212
gap: 16px;
13-
position: relative;
1413
`;
1514

15+
export const Logo = styled.div`
16+
display: flex;
17+
gap: 5px;
18+
position: absolute;
19+
top: 30px;
20+
left: 50%;
21+
transform: translate(-50%);
22+
font-size: 24px;
23+
font-weight: ${theme.fontWeight.bold};
24+
color: ${theme.colors.primary};
25+
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
26+
`;
1627
export const ImageContainer = styled.div`
1728
display: flex;
1829
flex-direction: column;
@@ -86,8 +97,8 @@ export const TextContents = styled.div`
8697

8798
export const ButtonContainer = styled.div`
8899
position: absolute;
89-
bottom: 0;
90-
right: 0;
100+
bottom: 40px;
101+
right: 30px;
91102
color: #3784ff;
92103
font-size: 0.8rem;
93104
`;

src/features/user/ui/detail/UserDetail.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { useEffect, useState } from 'react';
22
import { useMutation, useQuery, useQueryClient } from '@tanstack/react-query';
3-
import { ChevronLeft, ChevronRight } from 'lucide-react';
3+
import { BoxesIcon, ChevronLeft, ChevronRight } from 'lucide-react';
44
import { queries } from 'entities/user/api/queries';
55
import { userApi } from 'entities/user/api/userApi';
66
import { UpdateRoleProps } from 'entities/user/model/types';
@@ -131,6 +131,10 @@ export const UserDetail = ({ userId }: UserDetailProps) => {
131131
<>
132132
{currentPage === 1 ? (
133133
<S.Container>
134+
<S.Logo>
135+
<BoxesIcon />
136+
차곡차곡
137+
</S.Logo>
134138
<S.ImageContainer>
135139
<S.ProfileImage></S.ProfileImage>
136140
<S.ImageWrapper>

src/shared/assets/logo.png

11.8 KB
Loading

0 commit comments

Comments
 (0)