Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2021-1-capstone-design1
/
GCL_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
이승윤
2021-04-18 19:04:25 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
33f361256a197ddd32506f429eb7a1a69c21bdee
33f36125
1 parent
44d54a24
style: styled-component Main(div) 추가
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletions
frontend/src/pages/Home.js
frontend/src/pages/Home.js
View file @
33f3612
import
React
from
'react'
;
import
styled
from
'styled-components'
;
const
Main
=
styled
.
div
`
width: 100%;
`
;
const
Home
=
()
=>
{
return
<
div
>
Home
<
/div>;
return
(
<>
<
Main
>
Home
<
/Main>
<
/>
);
};
export
default
Home
;
...
...
Please
register
or
login
to post a comment