You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import PropTypes from 'prop-types';
|
|
|
|
import React from 'react';
|
|
|
|
import PageContent from 'Components/Page/PageContent';
|
|
|
|
import translate from 'Utilities/String/translate';
|
|
|
|
import styles from './NotFound.css';
|
|
|
|
|
|
|
|
function NotFound({ message }) {
|
|
|
|
return (
|
|
|
|
<PageContent title={translate('MIA')}>
|
|
|
|
<div className={styles.container}>
|
|
|
|
<div className={styles.message}>
|
|
|
|
{message}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<img
|
|
|
|
className={styles.image}
|
|
|
|
src={`${window.Lidarr.urlBase}/Content/Images/404.png`}
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</PageContent>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
NotFound.propTypes = {
|
|
|
|
message: PropTypes.string.isRequired
|
|
|
|
};
|
|
|
|
|
|
|
|
NotFound.defaultProps = {
|
|
|
|
message: 'You must be lost, nothing to see here.'
|
|
|
|
};
|
|
|
|
|
|
|
|
export default NotFound;
|