Skip to content

Commit

Permalink
Closes #211 - 'Breadcrumbs' have been added to all pagess
Browse files Browse the repository at this point in the history
  • Loading branch information
jandsonrj committed Nov 29, 2023
1 parent 8d1fa69 commit d5bdae9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions frontend/pages/product/edit/[pid].js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import VerifiedIcon from '@mui/icons-material/Verified'
import ArrowBackIosIcon from '@mui/icons-material/ArrowBackIos'

import Alert from '@mui/material/Alert'
import { Breadcrumbs, Link } from '@mui/material'
import Box from '@mui/material/Box'
import Button from '@mui/material/Button'
import Card from '@mui/material/Card'
Expand Down Expand Up @@ -185,6 +186,12 @@ export default function EditProduct() {
<Container sx={{ flex: 1, m: 4 }}>
{isLoading && <Loading isLoading={isLoading} />}
<React.Fragment>
<Breadcrumbs aria-label="breadcrumb">
<Link color="inherit" href="/">
Home
</Link>
<Typography color="textPrimary">Edit Product</Typography>
</Breadcrumbs>
<Box
sx={{
mt: 2,
Expand Down

0 comments on commit d5bdae9

Please sign in to comment.