Skip to content

Commit

Permalink
Create Header.js
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Aug 8, 2024
1 parent 8fff373 commit 8f5d16f
Showing 1 changed file with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import React from 'react';
import { Link } from 'react-router-dom';

const Header = () => {
return (
<header>
<nav>
<ul>
<li>
<Link to="/">Home</Link>
</li>
<li>
<Link to="/contracts">Contracts</Link>
</li>
<li>
<Link to="/create-contract">Create Contract</Link>
</li>
</ul>
</nav>
</header>
);
};

export default Header;

0 comments on commit 8f5d16f

Please sign in to comment.