1
0
Fork 0
mirror of https://github.com/betagouv/mon-entreprise synced 2025-02-09 00:35:00 +00:00
mon-entreprise/source/components/Route404.js
Johan Girod aa66c4029d
🐛 répare l'image open graph (facebook, twitter, etc)
Dans le même temps, on en profite pour supprimer la distinction images/ static-images/
qui n'apporte pas grand chose à part de la confusion
2019-06-26 17:55:37 +02:00

26 lines
653 B
JavaScript

import { React, T } from 'Components'
import image from 'Images/map-directions.png'
import emoji from 'react-easy-emoji'
import { Link } from 'react-router-dom'
export default () => (
<div
style={{
color: '#333350',
margin: '15% auto',
width: '15em',
textAlign: 'center'
}}>
<p>
<T k="404.message">Cette page n'existe pas ou n'existe plus</T>
{emoji(' 🙅')}
</p>
<Link to="/">
{/* TODO: credits for the image to add: https://thenounproject.com/term/treasure-map/96666/ */}
<img style={{ margin: '3%' }} width="100%" src={image} />
<em>
<T k="404.action">Revenir en lieu sûr</T>
</em>
</Link>
</div>
)