File tree Expand file tree Collapse file tree 2 files changed +51
-0
lines changed
Expand file tree Collapse file tree 2 files changed +51
-0
lines changed Original file line number Diff line number Diff line change 1+ import { Container , Title , Avatar } from "./UserPage.styled" ;
2+
3+ const UserPage = ( ) => {
4+ return (
5+ < Container >
6+
7+ < Title > Profile Settings</ Title >
8+ < div style = { {
9+ display : 'flex' ,
10+ justifyContent : 'center' ,
11+ alignItems : 'center' ,
12+ flexDirection : 'column' ,
13+ marginTop : '40px' ,
14+ } } >
15+ < Avatar > < svg fill = "var(--normal-color)" width = "62" height = "62" > < use href = "../../../src/images/sprite.svg#icon-user" > </ use > </ svg > </ Avatar >
16+ < svg style = { { position : 'relative' , top : '-13' } } width = "24" height = "24" > < use href = "../../../src/images/sprite.svg#icon-add-avatar" > </ use > </ svg >
17+ < p style = { { color : '#EFEDE8' } } > Anna Rybachok</ p >
18+ < p style = { { color : 'var(--normal-color)' } } > User</ p >
19+ </ div >
20+
21+ </ Container >
22+ )
23+ }
24+
25+ export default UserPage ;
Original file line number Diff line number Diff line change 1+ import styled from 'styled-components' ;
2+
3+ export const Container = styled . div `
4+ /* background-color: #040404; */
5+ ` ;
6+
7+ export const Title = styled . h2 `
8+ color: #EFEDE8;
9+ font-family: RobotoBold;
10+ font-size: 24px;
11+ line-height: 28px;
12+ margin-left: 20px;
13+ margin-top: 110px;
14+ ` ;
15+
16+ export const Avatar = styled . div `
17+ width: 90px;
18+ height: 90px;
19+ border-radius: 100px;
20+ border: 1px solid #E6533C;
21+ display: flex;
22+ justify-content: center;
23+ align-items: center;
24+ ` ;
25+
26+
You can’t perform that action at this time.
0 commit comments