X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=cmd%2Fweb%2Fjs%2Fmain.jsx;h=c95c74888b978f60eea72c99dafbbea87c08b79a;hb=ee902062a71c1ef31176cf5061555618b288b1d4;hp=79bf97674493ea9cf392e3f8762e8d330346d533;hpb=adf936f66a5c59e6cc2e7a1c644148e0f119e5c8;p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FCryptoportfolio%2FFront.git diff --git a/cmd/web/js/main.jsx b/cmd/web/js/main.jsx index 79bf976..c95c748 100644 --- a/cmd/web/js/main.jsx +++ b/cmd/web/js/main.jsx @@ -7,13 +7,32 @@ import Api from './api.js'; import cookies from './cookies.js'; import React from 'react'; +class Header extends React.Component { + render = () => { + if (this.props.displayLogout === true) { + return ; + } + return ; + + } +} + class Logo extends React.Component { render() { - return
- -
; + return ; } } @@ -24,7 +43,7 @@ App.page('/signup', false, function(context) { } App.mount(
- +
); }); @@ -36,7 +55,7 @@ App.page('/signin', false, function(context) { } App.mount(
- +
); }); @@ -49,14 +68,14 @@ App.page('/signout', true, function(context) { App.page('/me', true, function(context) { App.mount(
- +
); }); App.page('/not_confirmed', true, function(context) { App.mount(
- +

Please be patient, you account is being confirmed...

@@ -74,7 +93,7 @@ App.page('/otp/setup', true, function(context) { } App.mount(
- +
); @@ -83,7 +102,7 @@ App.page('/otp/setup', true, function(context) { App.page('/otp/validate', true, function(context) { App.mount(
- +
); });