Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
online-quiz-react
Commits
80b65eba
Commit
80b65eba
authored
Aug 05, 2020
by
김민수
Browse files
No commit message
No commit message
parent
1e107914
Changes
2
Show whitespace changes
Inline
Side-by-side
src/Home.css
View file @
80b65eba
.Main
{
background-image
:
'
url(
'
+
bg
+
')'
;
background-image
:
url(
"./img/img_study.jpg")
;
background-color
:
"grey"
;
background-size
:
"100%"
;
width
:
"100%"
;
...
...
src/Home.js
View file @
80b65eba
import
React
,
{
useState
}
from
'
react
'
import
{
Redirect
}
from
'
react-router-dom
'
;
import
'
./Home.css
'
import
bg
from
'
./img_study.jpg
'
function
Home
()
{
const
[
name
,
setName
]
=
useState
(
''
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment