Toggle navigation
Toggle navigation
This project
Loading...
Sign in
이수빈
/
Find_your_own_personal_color
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
이수빈
2020-12-04 22:27:22 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a2d16282d46122e7a10a56445fcbe5aa3315f789
a2d16282
1 parent
c1ec85a8
Home.js 링크 이동 구현
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
front/.eslintcache
front/src/Home.js
front/.eslintcache
View file @
a2d1628
This diff is collapsed. Click to expand it.
front/src/Home.js
View file @
a2d1628
...
...
@@ -3,13 +3,14 @@ import './Home.css';
const
Home
=
(
{
history
}
)
=>
{
return
(
<
div
className
=
'home_display'
>
<
center
id
=
'home'
>
findyourcolor
<
/center
>
<
div
id
=
"btn_group"
>
<
button
id
=
"soo_btn1"
onClick
=
{
()
=>
{
history
.
push
(
"/image
"
)}}
>
image
<
/button
>
<
button
id
=
"soo_btn1"
onClick
=
{
()
=>
{
window
.
open
(
'https://stackoverflow.com/questions/51057153/how-to-use-window-open-onclick-reactjs'
,
"Popup"
,
"toolbar=no, location=no, statusbar=no, menubar=no, scrollbars=1, resizable=0, width=580, height=600, top=30
"
)}}
>
image
<
/button
>
<
button
id
=
"soo_btn2"
onClick
=
{
()
=>
{
history
.
push
(
"/test"
)}}
>
test
<
/button
>
<
/div
>
<
/div
>
...
...
Please
register
or
login
to post a comment