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-16 17:21:56 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ac67f7c14fb4c7ac2664ce0e50f08eebdb301fce
ac67f7c1
1 parent
56fc659b
move folder to Router
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
27 deletions
front/src/Components/MenuList/MenuBar.js
front/src/Components/MenuList/TitleBox.js → front/src/Routes/MenuList/MenuBar.js
front/src/Components/MenuList/MenuIcons.js → front/src/Routes/MenuList/MenuIcons.js
front/src/Components/MenuList/MenuBar.js
deleted
100644 → 0
View file @
56fc659
import
React
from
"react"
;
import
styled
from
"styled-components"
;
import
TitleBox
from
"./TitleBox"
;
import
MenuIcons
from
"./MenuIcons"
;
const
MenuBar
=
styled
.
div
`
width: 15%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
box-shadow: 1px 1px 10px #8395a7;
background-color: #667aff;
`
;
export
default
()
=>
{
return
(
<
MenuBar
>
<
TitleBox
/>
<
MenuIcons
/>
<
/MenuBar
>
);
};
front/src/
Components/MenuList/TitleBox
.js
→
front/src/
Routes/MenuList/MenuBar
.js
View file @
ac67f7c
import
React
from
"react"
;
import
styled
from
"styled-components"
;
import
MenuIcons
from
"./MenuIcons"
;
const
MenuBar
=
styled
.
div
`
width: 15%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
box-shadow: 1px 1px 10px #8395a7;
background-color: #667aff;
`
;
const
TitleBox
=
styled
.
div
`
display: flex;
...
...
@@ -18,8 +30,11 @@ const Title = styled.span`
export
default
()
=>
{
return
(
<
TitleBox
>
<
Title
>
KhuChat
<
/Title
>
<
/TitleBox
>
<
MenuBar
>
<
TitleBox
>
<
Title
>
KhuChat
<
/Title
>
<
/TitleBox
>
<
MenuIcons
/>
<
/MenuBar
>
);
};
...
...
front/src/
Component
s/MenuList/MenuIcons.js
→
front/src/
Route
s/MenuList/MenuIcons.js
View file @
ac67f7c
File moved
Please
register
or
login
to post a comment