/*
Copyright (C) 2017  Cloudbase Solutions SRL
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

// @flow

import React from 'react'
import styled from 'styled-components'

import EmptyTemplate from '../../templates/EmptyTemplate'

const Wrapper = styled.div``

const NotFoundPage = () => {
  return (
    <EmptyTemplate>
      <Wrapper>
        Not found
      </Wrapper>
    </EmptyTemplate>
  )
}

export default NotFoundPage

/*
Copyright (C) 2017  Cloudbase Solutions SRL
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

// @flow

import React from 'react'
import styled from 'styled-components'

import Palette from '../../styleUtils/Palette'
import EmptyTemplate from '../../templates/EmptyTemplate'

const Wrapper = styled.div`
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
`
const Title = styled.div`
  font-size: 21px;
  color: ${Palette.grayscale[4]};
`
const Message = styled.div`
  margin-top: 16px;
  color: ${Palette.grayscale[8]};
`

const NotFoundPage = () => {
  return (
    <EmptyTemplate>
      <Wrapper>
        <Title>Page Not Found</Title>
        <Message>Sorry, but the page you are trying to view does not exist.</Message>
      </Wrapper>
    </EmptyTemplate>
  )
}

export default NotFoundPage

Add basic style to `NotFoundPage`
Add basic style to `NotFoundPage`

Use any invalid path to view it. Ex.: 'http://localhost:3000/blabla'.
