Toggle navigation
Toggle navigation
This project
Loading...
Sign in
박민정
/
We-Shop
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
박민정
2021-06-05 03:19:30 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b5c74d43e948215a802c67835341630ef165ee91
b5c74d43
1 parent
ccabfd11
[feat] Implement Login Page
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
6 deletions
boiler-plate/client/src/components/views/LandingPage/LandingPage.js
boiler-plate/client/src/components/views/LoginPage/LoginPage.js
boiler-plate/client/src/index.js
boiler-plate/client/src/components/views/LandingPage/LandingPage.js
View file @
b5c74d4
...
...
@@ -9,8 +9,8 @@ function LandingPage() {
},
[])
return
(
<
div
>
LandingPage
랜딩페이지
<
div
style
=
{{
justifyContent
:
'center'
,
alignItems
:
'center'
,
display
:
'flex'
,
width
:
'100%'
}}
>
<
h1
>
시작
페이지
<
/h1
>
<
/div
>
)
}
...
...
boiler-plate/client/src/components/views/LoginPage/LoginPage.js
View file @
b5c74d4
...
...
@@ -2,8 +2,17 @@ import React from 'react'
function
LoginPage
()
{
return
(
<
div
>
LoginPage
<
div
style
=
{{
justifyContent
:
'center'
,
alignItems
:
'center'
,
display
:
'flex'
,
width
:
'100%'
}}
>
<
form
style
>
<
label
>
Email
<
/label
>
<
input
type
=
"email"
value
onChange
/>
<
label
>
Password
<
/label
>
<
input
type
=
"password"
value
onChange
/>
<
button
>
Login
<
/button
>
<
/form
>
<
/div
>
)
}
...
...
boiler-plate/client/src/index.js
View file @
b5c74d4
...
...
@@ -4,8 +4,8 @@ import './index.css';
import
App
from
'./App'
;
import
reportWebVitals
from
'./reportWebVitals'
;
import
{
Provider
}
from
'react-redux'
// app에 redux를 연결시켜주기 위해 redux에서 제공하는 provider 사용
//import {
} from 'redux'; // redux에서 createStore 가져옴.
import
{
applyMiddleware
,
createStore
}
from
'redux'
;
// object만 받는 store가 promise나 functions도 받기 위해 middleware을 사용함
import
{
createStore
}
from
'redux'
;
// redux에서 createStore 가져옴.
import
{
applyMiddleware
}
from
'redux'
;
// object만 받는 store가 promise나 functions도 받기 위해 middleware을 사용함
import
promiseMiddleware
from
'redux-promise'
;
import
ReduxThunk
from
'redux-thunk'
;
import
Reducer
from
'./_reducers'
;
...
...
Please
register
or
login
to post a comment