mirror of
https://github.com/BarkProductions/barkman.git
synced 2026-06-17 07:51:54 +00:00
Made router work
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
import '../App.css'
|
||||
import {Link} from "react-router";
|
||||
|
||||
|
||||
function Home() {
|
||||
|
||||
|
||||
return (
|
||||
<>
|
||||
<div>
|
||||
<h1>Home</h1>
|
||||
</div>
|
||||
<p>
|
||||
ARFF ARFF BARK BARK
|
||||
</p>
|
||||
<Link to="/inventory">
|
||||
<button>Inventory</button>
|
||||
</Link>
|
||||
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
export default Home
|
||||
@@ -0,0 +1,20 @@
|
||||
import '../App.css'
|
||||
|
||||
function Inventory() {
|
||||
|
||||
|
||||
return (
|
||||
<>
|
||||
<div>
|
||||
<h1>Inventory</h1>
|
||||
</div>
|
||||
<p>
|
||||
ARFF ARFF BARK BARK
|
||||
</p>
|
||||
|
||||
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
export default Inventory
|
||||
Reference in New Issue
Block a user