-
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
1 parent
db5a9a8
commit 358c47b
Showing
2 changed files
with
10 additions
and
6 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 |
---|---|---|
@@ -1,14 +1,18 @@ | ||
// import logo from "./../../public/charisma_logo.png"; | ||
import { useNavigate } from "react-router-dom"; | ||
import { Link, useNavigate } from "react-router-dom"; | ||
|
||
export default function Header() { | ||
const navigate = useNavigate(); | ||
return ( | ||
<div className="logo"> | ||
{/* <div id="headerWrap"> | ||
<img src={logo} alt="logo" height={36} /> | ||
</div> */} | ||
<h1 onClick={() => navigate("/")}>Raman spectra search</h1> | ||
<Link | ||
to="https://docs.google.com/presentation/d/13oULefmyNbXaNhhmvrEQIrZaQ9DSCqBHNc-Wm2jRDP0/edit#slide=id.p" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
<button className="shareBtn">Help</button> | ||
</Link> | ||
</div> | ||
); | ||
} |
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