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-23 06:09:41 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
78201e81f170a9bce45439863c4198d055b8d1c8
78201e81
1 parent
7d8db762
remove icons, add Category container
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
44 deletions
front/src/Routes/Chat/ChatPresenter.js
front/src/Routes/Chat/ChatPresenter.js
View file @
78201e8
...
...
@@ -4,12 +4,9 @@ import Header from "../../Components/Header";
import
Input
from
"../../Components/Input"
;
import
Button
from
"../../Components/Button"
;
import
{
FontAwesomeIcon
}
from
"@fortawesome/react-fontawesome"
;
import
{
faAddressBook
,
faArrowDown
,
faPlus
,
}
from
"@fortawesome/free-solid-svg-icons"
;
import
{
faAddressBook
}
from
"@fortawesome/free-solid-svg-icons"
;
import
{
Link
}
from
"react-router-dom"
;
import
Category
from
"../Category/CategoryContainer"
;
const
Wrapper
=
styled
.
div
`
display: grid;
...
...
@@ -72,34 +69,6 @@ const PeopleContainer = styled.div`
border-top: 1px solid rgba(255, 255, 255, 0.5);
`
;
const
CategoryContainer
=
styled
.
div
`
display: flex;
svg {
font-size: 20px;
}
span {
margin-left: 10px;
font-size: 20px;
}
border-top: 1px solid rgba(255, 255, 255, 0.5);
`
;
const
ItemListContainer
=
styled
.
div
`
display: flex;
flex-direction: row;
width: 100%;
padding: 15px;
`
;
const
ItemList
=
styled
.
ul
`
align-items: center;
svg {
margin: 0px 10px;
}
`
;
const
Item
=
styled
.
li
``
;
const
ChatScreenContainer
=
styled
.
div
`
display: grid;
width: 100%;
...
...
@@ -188,17 +157,7 @@ export default ({ data, location, message, onSubmit }) => {
<
ItemText
>
People
<
/ItemText
>
<
/StyledLink
>
<
/PeopleContainer
>
<
CategoryContainer
>
<
ItemListContainer
>
<
ItemList
>
<
FontAwesomeIcon
icon
=
{
faArrowDown
}
/> Categor
y
<
FontAwesomeIcon
icon
=
{
faPlus
}
/
>
<
Item
>
<
ItemText
>
#
Music
<
/ItemText
>
<
/Item
>
<
/ItemList
>
<
/ItemListContainer
>
<
/CategoryContainer
>
<
Category
/>
<
/ChatMenuContainer
>
<
ChatScreenContainer
>
<
ChatScreenHeader
>
...
...
Please
register
or
login
to post a comment