Skip to content

Commit

Permalink
added play again button in credits page
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishmam156 committed Oct 11, 2021
1 parent b3f7b19 commit d69c6c1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/components/Credits.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from "react";
import { Link } from "react-router-dom";
import "../style/Credits.scss";
import ReactLogo from "../imgs/react.svg";

Expand All @@ -8,7 +9,7 @@ function Credits(props) {
<div className="heading">
<a href={"https://github.com/untitled-team-101"} target="_blank">
Made with
<img className="App-logo" src={ReactLogo} alt={"logo"}/>
<img className="App-logo" src={ReactLogo} alt={"logo"} />
by @untitledTeam
</a>
</div>
Expand Down Expand Up @@ -42,7 +43,9 @@ function Credits(props) {
</li>
</ul>
</div>

<Link to={"/game"}>
<div className={"playBtn"}>Play Again!</div>
</Link>
</div>
);
}
Expand Down

0 comments on commit d69c6c1

Please sign in to comment.