breadcrumbs with inital home-link

This commit is contained in:
Delucse
2020-09-17 14:13:30 +02:00
parent b726f5f42c
commit d70207ea1a
4 changed files with 32 additions and 10 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ class NotFound extends Component {
render() {
return (
<div>
<Breadcrumbs content={[{link: '/', title: 'Home'}, {link: this.props.location.pathname, title: 'Error'}]}/>
<Breadcrumbs content={[{link: this.props.location.pathname, title: 'Error'}]}/>
<Typography variant='h4' style={{marginBottom: '5px'}}>Die von Ihnen angeforderte Seite kann nicht gefunden werden.</Typography>
<Typography variant='body1'>Die gesuchte Seite wurde möglicherweise entfernt, ihr Name wurde geändert oder sie ist vorübergehend nicht verfügbar.</Typography>
{this.props.button ?