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.
30 lines
986 B
30 lines
986 B
8 years ago
|
import React from 'react';
|
||
5 years ago
|
import PropTypes from 'prop-types';
|
||
8 years ago
|
import { FormattedMessage } from 'react-intl';
|
||
5 years ago
|
import illustration from 'flavours/glitch/images/elephant_ui_disappointed.svg';
|
||
|
import classNames from 'classnames';
|
||
2 years ago
|
import { Helmet } from 'react-helmet';
|
||
8 years ago
|
|
||
5 years ago
|
const MissingIndicator = ({ fullPage }) => (
|
||
|
<div className={classNames('regeneration-indicator', { 'regeneration-indicator--without-header': fullPage })}>
|
||
|
<div className='regeneration-indicator__figure'>
|
||
|
<img src={illustration} alt='' />
|
||
|
</div>
|
||
7 years ago
|
|
||
5 years ago
|
<div className='regeneration-indicator__label'>
|
||
|
<FormattedMessage id='missing_indicator.label' tagName='strong' defaultMessage='Not found' />
|
||
|
<FormattedMessage id='missing_indicator.sublabel' defaultMessage='This resource could not be found' />
|
||
8 years ago
|
</div>
|
||
2 years ago
|
|
||
|
<Helmet>
|
||
|
<meta name='robots' content='noindex' />
|
||
|
</Helmet>
|
||
8 years ago
|
</div>
|
||
|
);
|
||
|
|
||
5 years ago
|
MissingIndicator.propTypes = {
|
||
|
fullPage: PropTypes.bool,
|
||
|
};
|
||
|
|
||
8 years ago
|
export default MissingIndicator;
|