Skip to content

Commit

Permalink
Belinda_NextJS_Sprint_6_332_Dashboard_Creator_Link (#337)
Browse files Browse the repository at this point in the history
* Added Dashboard Link to the Creator Page

* I added material UI to the dashboard button and also the other button
  • Loading branch information
MuhammadNSC authored May 2, 2024
1 parent 0cf7986 commit f810e64
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions app/creator-page/page.tsx
Original file line number Diff line number Diff line change
@@ -1,21 +1,27 @@
import Button from '@mui/material/Button';
const Creator = () => {
// Temporary boilerplate code to make it compile
return (
<div>

<div >
<div>
<a href="/">
<button>All Products</button>
</a>
<div>
<Button variant="contained" href="/">
All Products
</Button>
</div>

<div>
<a href="/add-product-page">
<button>Add Products</button>
</a>
<Button variant="contained" href="/add-product-page">
Add Products
</Button>
</div>

<div>
<Button variant="contained" href="/dashboard">
Dashboard
</Button>
</div>
<>
</>
</div>

<h1>Placeholder creators page.</h1>
Expand Down

0 comments on commit f810e64

Please sign in to comment.