index.js

import React, { Component } from 'react';
import { Link } from 'react-router-dom';
import { MESSSAGE_404 } from '../../utility/constants/messages';

import './index.scss';

class NotFound404 extends Component {
  render() {
    return (
      <div className="modal-page">
        <h1>404 - Page not found</h1>
        <h3>{MESSSAGE_404}</h3>
        <br />
        <Link to="/">Home</Link>
      </div>
    );
  }
}

export default NotFound404;