Skip to content

Commit 7db88cf

Browse files
committed
feat: nickname page UI #46
1 parent 880cb91 commit 7db88cf

File tree

2 files changed

+51
-2
lines changed

2 files changed

+51
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
import { css } from '@emotion/react';
2+
3+
import { Theme } from '@/styles/Theme';
4+
5+
export const profile = css`
6+
width: 8rem;
7+
height: 8rem;
8+
margin-top: 4rem;
9+
10+
background-color: ${Theme.color.gray300};
11+
border-radius: 50%;
12+
`;
13+
14+
export const nickname = css`
15+
width: 26.8rem;
16+
margin: 2rem 0;
17+
18+
font-weight: 600;
19+
font-size: 1.6rem;
20+
`;
21+
22+
export const nicknameInputWrapper = css`
23+
display: flex;
24+
align-items: center;
25+
width: 26.8rem;
26+
height: 4.9rem;
27+
padding: 0 1rem;
28+
29+
background-color: ${Theme.color.gray200};
30+
border-radius: 1rem;
31+
`;
32+
33+
export const nicknameInput = css`
34+
width: 100%;
35+
border: 0;
36+
37+
background-color: ${Theme.color.gray200};
38+
outline: none;
39+
`;
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
1-
import React from 'react';
1+
import { profile, nickname, nicknameInputWrapper, nicknameInput } from './NicknamePage.styled';
2+
3+
import Content from '@/components/layout/Content/Content';
24

35
const NicknamePage = () => {
4-
return <div>this is Nick name page</div>;
6+
return (
7+
<Content>
8+
<div css={profile}></div>
9+
<div css={nickname}>닉네임</div>
10+
<div css={nicknameInputWrapper}>
11+
<input css={nicknameInput} type="text" placeholder="닉네임을 입력해 주세요" />
12+
</div>
13+
</Content>
14+
);
515
};
616

717
export default NicknamePage;

0 commit comments

Comments
 (0)