From c17feed5e3aa994d01b4a407241d06437d534f37 Mon Sep 17 00:00:00 2001 From: Johan Girod Date: Tue, 30 Apr 2019 16:57:49 +0200 Subject: [PATCH] Rajoute les logos institutionnels sur l'iframe --- .../pages/Dev/IntegrationTest.js | 5 +- .../pages/Iframes/IframeFooter.js | 80 ++++++++++++------- 2 files changed, 55 insertions(+), 30 deletions(-) diff --git a/source/sites/mon-entreprise.fr/pages/Dev/IntegrationTest.js b/source/sites/mon-entreprise.fr/pages/Dev/IntegrationTest.js index 1f74ef51b..b6353ca54 100644 --- a/source/sites/mon-entreprise.fr/pages/Dev/IntegrationTest.js +++ b/source/sites/mon-entreprise.fr/pages/Dev/IntegrationTest.js @@ -6,9 +6,8 @@ export default withRouter( componentDidMount() { const script = document.createElement('script') script.id = 'script-simulateur-embauche' - script.src = - window.location.origin + '/simulateur-iframe-integration.js' - script.dataset.couleur = '#2975D1' + script.src = window.location.origin + '/simulateur-iframe-integration.js' + script.dataset.couleur = '#005aa1' this.DOMNode.appendChild(script) } render() { diff --git a/source/sites/mon-entreprise.fr/pages/Iframes/IframeFooter.js b/source/sites/mon-entreprise.fr/pages/Iframes/IframeFooter.js index cad5b6a22..2a141c7ff 100644 --- a/source/sites/mon-entreprise.fr/pages/Iframes/IframeFooter.js +++ b/source/sites/mon-entreprise.fr/pages/Iframes/IframeFooter.js @@ -1,9 +1,11 @@ -import LangSwitcher from 'Components/LangSwitcher'; -import React, { Component } from 'react'; -import emoji from 'react-easy-emoji'; -import { Trans, withTranslation } from 'react-i18next'; -import screenfull from 'screenfull'; -import { isIE } from '../../../../utils'; +import LangSwitcher from 'Components/LangSwitcher' +import marianneSvg from 'Images/marianne.svg' +import urssafSvg from 'Images/urssaf.svg' +import React, { Component } from 'react' +import emoji from 'react-easy-emoji' +import { Trans, withTranslation } from 'react-i18next' +import screenfull from 'screenfull' +import { isIE } from '../../../../utils' export default withTranslation()( class IframeFooter extends Component { @@ -13,30 +15,54 @@ export default withTranslation()( render() { return ( -
- - {screenfull.enabled && !screenfull.isFullscreen && !isIE() && ( + <> +
+ + un service fourni par l'Urssaf + + + un service de l’Etat français incubé par beta.gouv.fr + +
+
+ + {screenfull.enabled && !screenfull.isFullscreen && !isIE() && ( + + )} - )} - -
+
+ ) } }