Skip to content

Commit

Permalink
fix: #173 프로필 컴포넌트 생성
Browse files Browse the repository at this point in the history
  • Loading branch information
Oh5Yeonju committed Oct 7, 2023
1 parent eab91e9 commit 20f9b38
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/components/common/User/UserProfileCircle.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import styled from "styled-components";
import basicImg from '../../../assets/images/basic-profile-img.png';

const UserProfileCircle = () => {
return (
<UserProfileCircleStyle style={{ backgroundImage: `url(${basicImg})`}}>
</UserProfileCircleStyle>
)
}

export default UserProfileCircle;

const UserProfileCircleStyle = styled.div`
width: 100%;
aspect-ratio: 1/1;
border-radius: 50%;
background-size: cover;
`

0 comments on commit 20f9b38

Please sign in to comment.