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-07-29 22:48:33 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8295c2a1a452a8731cc526d30966103edf35d40f
8295c2a1
1 parent
b648649c
add button component
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletions
front/src/Routes/Forum/ForumPresenter.js
front/src/Routes/Forum/ForumPresenter.js
View file @
8295c2a
...
...
@@ -3,6 +3,7 @@ import { Link } from "react-router-dom";
import
styled
from
"styled-components"
;
import
Header
from
"../../Components/Header"
;
import
Footer
from
"../../Components/Footer"
;
import
Button
from
"../../Components/Button"
;
const
ContentWrapper
=
styled
.
div
`
display: flex;
...
...
@@ -30,9 +31,23 @@ const ContentMain = styled.main`
`
;
const
MainTabBox
=
styled
.
div
`
display: flex;
justify-content: space-between;
align-items: center;
margin: 20px 0px;
width: 100%;
span {
font-size: 1.5rem;
color: black;
}
button {
width: 70px;
height: 30px;
border-radius: 4px;
border: 1px solid black;
background-color: white;
cursor: pointer;
}
`
;
const
MainSection
=
styled
.
section
``
;
...
...
@@ -111,7 +126,10 @@ export default () => {
<
HeaderSpan
>
Forums
<
/HeaderSpan
>
<
/ContentHeader
>
<
ContentMain
>
<
MainTabBox
>
Viewing
20
topics
<
/MainTabBox
>
<
MainTabBox
>
<
HeaderSpan
>
Viewing
20
topics
<
/HeaderSpan
>
<
Button
text
=
"Post"
/>
<
/MainTabBox
>
<
MainSection
>
<
PostList
>
<
PostItem
className
=
"post-header"
>
...
...
Please
register
or
login
to post a comment