diff -r 1fd73fdaf4c6 -r 78c54cb473cd client/src/components/Navbar.js --- a/client/src/components/Navbar.js Tue Oct 09 10:52:23 2018 +0200 +++ b/client/src/components/Navbar.js Tue Oct 09 11:03:18 2018 +0200 @@ -57,6 +57,18 @@ ); } +const OffLineMessage = ({isAuthenticated}) => { + if (!isAuthenticated) { + return ( + Vous êtes en mode Offline. N'oubliez pas de + vous connecter ou de créer un compte pour sauvegarder vos sessions + ); + } + return ( + + ); +} + class AppNavbar extends Component { constructor(props) { @@ -135,60 +147,63 @@ render() { return ( - + + + ); } }