-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
kento
committed
May 10, 2023
1 parent
a871cad
commit a3da4c8
Showing
4 changed files
with
50 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { useState } from "react" | ||
|
||
import styles from "../styles/gacha.module.css" | ||
import Link from "next/link" | ||
|
||
const Gacha = () => { | ||
const [form, setForm] = useState<number | null>(null) | ||
|
||
return ( | ||
<div className={styles.wrapper}> | ||
<button className={styles.button}>ガチャを回す</button> | ||
|
||
<div className={styles.result}> | ||
<Link href="form1">Form1</Link> | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
||
export default Gacha |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
.wrapper { | ||
display: flex; | ||
align-items: center; | ||
gap: 0 30px; | ||
margin: 10px auto 30px; | ||
padding: 30px 0; | ||
} | ||
|
||
.button { | ||
padding: 15px 30px; | ||
border: 1px solid var(--border-color); | ||
border-radius: 3px; | ||
background-color: transparent; | ||
cursor: pointer; | ||
} | ||
|
||
.button:hover { | ||
background-color: #eee; | ||
} | ||
|
||
.result { | ||
border: 1px solid red; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters