Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design1
/
Triz_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
sdy
2020-05-18 11:47:57 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
615bd8e22f4dfd19dd9c1fd113c1aa5b03bf6619
615bd8e2
1 parent
0c245085
rename file (ImgIcon to Profile Icon)
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
front/src/Components/ImgIcon.js → front/src/Components/ProfileIcon.js
front/src/Components/
Img
Icon.js
→
front/src/Components/
Profile
Icon.js
View file @
615bd8e
...
...
@@ -2,14 +2,14 @@ import React from "react";
import
styled
from
"styled-components"
;
import
defaultProfile
from
"../../imgs/defaultProfile.jpg"
;
const
Img
IconBox
=
styled
.
div
`
const
Profile
IconBox
=
styled
.
div
`
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
`
;
const
Img
Icon
=
styled
.
img
`
const
Profile
Icon
=
styled
.
img
`
width: 50px;
border-radius: 20px;
src:
${(
props
)
=>
props
.
theme
.
defaultProfile
}
;
...
...
@@ -17,8 +17,8 @@ const ImgIcon = styled.img`
export
default
()
=>
{
return
(
<
Img
IconBox
>
<
Img
Icon
src
=
{
defaultProfile
}
/
>
<
/
Img
IconBox
>
<
Profile
IconBox
>
<
Profile
Icon
src
=
{
defaultProfile
}
/
>
<
/
Profile
IconBox
>
);
};
...
...
Please
register
or
login
to post a comment