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:08:13 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0d2b948d7148589cdd64fefb84870c5d96570887
0d2b948d
1 parent
0d0d7297
create new box
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletions
front/src/Routes/Category/CategoryPresenter.js
front/src/Routes/Category/CategoryPresenter.js
View file @
0d2b948
...
...
@@ -32,6 +32,14 @@ const ItemList = styled.ul`
}
`
;
const
ItemListTopBox
=
styled
.
div
`
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
margin-bottom: 10px;
`
;
const
Item
=
styled
.
li
``
;
const
ItemText
=
styled
.
span
`
...
...
@@ -42,10 +50,11 @@ const StyledLink = styled(Link)`
width: 100%;
display: flex;
flex-direction: row;
justify-content:
center
;
justify-content:
left
;
align-items: center;
text-decoration: none;
color: white;
padding-left: 10px;
cursor: pointer;
&:hover {
background-color: white;
...
...
@@ -54,13 +63,17 @@ const StyledLink = styled(Link)`
`
;
export
default
({
location
})
=>
{
const
{
pathname
}
=
location
;
let
path
;
return
(
<>
<
CategoryContainer
>
<
ItemListContainer
>
<
ItemList
>
<
ItemListTopBox
>
<
FontAwesomeIcon
icon
=
{
faArrowDown
}
/> Categor
y
<
FontAwesomeIcon
icon
=
{
faPlus
}
/
>
<
/ItemListTopBox
>
<
StyledLink
>
<
Item
>
<
ItemText
>
#
Music
<
/ItemText
>
...
...
Please
register
or
login
to post a comment