diff --git a/source/components/Simu.js b/source/components/Simu.js index 10d8b91a5..9d04f7cb5 100644 --- a/source/components/Simu.js +++ b/source/components/Simu.js @@ -85,18 +85,6 @@ export default class Simu extends Component { )} - {displayResults && ( - -
- -
-
- )} {conversationStarted && (
diff --git a/source/components/conversation/conversation.css b/source/components/conversation/conversation.css index 21b1725d4..b2e5f6408 100644 --- a/source/components/conversation/conversation.css +++ b/source/components/conversation/conversation.css @@ -50,9 +50,14 @@ .step-question h1:before { content: '›'; - position: absolute; - left: -1.1rem; } +@media (min-width: 500px) { + .step-question h1:before { + position: absolute; + left: -1.1rem; + } +} + .step-question h1 { font-size: 1.7rem; color: rgba(0, 0, 0, 0.8); diff --git a/source/components/inFranceApp/Steps/StepsHeader.css b/source/components/inFranceApp/Steps/StepsHeader.css new file mode 100644 index 000000000..9fe9e8eeb --- /dev/null +++ b/source/components/inFranceApp/Steps/StepsHeader.css @@ -0,0 +1,57 @@ +@media (min-width: 500px) { + .ui__.steps-header nav { + height: 10rem; + } +} +.ui__.steps-header nav { + height: 5em; + max-width: 100%; + display: flex; + margin: auto; + justify-content: space-between; + background: white; +} + +@media (min-width: 500px) { + .ui__.steps-header { + margin-top: 1.75rem !important; + } +} + +.ui__.steps-header a { + margin-right: 0.8rem; + display: flex; + flex-direction: column; + flex-shrink: 0; + transition: all 0.2s; + opacity: 0.4; +} +.ui__.steps-header a:last-child { + margin-right: 0; +} + +.ui__.steps-header a img { + height: 80%; + transition: all 0.2s; +} + +.ui__.steps-header a:hover { + opacity: 0.8; +} +.ui__.steps-header a.active { + opacity: 1; + flex: 1; +} + +.ui__.steps-header .progress { + margin-top: 0.6rem; + height: 0.5rem; + background: rgb(41, 117, 209, 0.2); + border-radius: 0.1rem; + width: 100%; +} + +.ui__.steps-header .progress .bar { + background-color: rgb(41, 117, 209); + height: 100%; +} diff --git a/source/components/inFranceApp/Steps/StepsHeader.js b/source/components/inFranceApp/Steps/StepsHeader.js new file mode 100644 index 000000000..bed62d795 --- /dev/null +++ b/source/components/inFranceApp/Steps/StepsHeader.js @@ -0,0 +1,28 @@ +import React from 'react' +import { NavLink } from 'react-router-dom' +import './StepsHeader.css' +import hiringSvg from './hiring.svg'; +import companySvg from './company.svg'; +import estimateSvg from './estimate.svg'; +const Progress = ({ percent}) =>
+ +const StepsHeader = () => ( +
+
+) + +export default StepsHeader diff --git a/source/components/inFranceApp/Steps/company.svg b/source/components/inFranceApp/Steps/company.svg new file mode 100755 index 000000000..e06d65332 --- /dev/null +++ b/source/components/inFranceApp/Steps/company.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + diff --git a/source/components/inFranceApp/Steps/estimate.svg b/source/components/inFranceApp/Steps/estimate.svg new file mode 100755 index 000000000..e4548fe33 --- /dev/null +++ b/source/components/inFranceApp/Steps/estimate.svg @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/source/components/inFranceApp/Steps/hiring.svg b/source/components/inFranceApp/Steps/hiring.svg new file mode 100755 index 000000000..4fa780026 --- /dev/null +++ b/source/components/inFranceApp/Steps/hiring.svg @@ -0,0 +1,27 @@ + + + + + + + + + + + + + diff --git a/source/components/inFranceApp/routes.js b/source/components/inFranceApp/routes.js index b033620ec..ffab4d1b9 100644 --- a/source/components/inFranceApp/routes.js +++ b/source/components/inFranceApp/routes.js @@ -8,6 +8,7 @@ import Landing from './Landing' import Hiring from './Steps/Cost and benefits' import CreateMyCompany from './Steps/Create/index' import FindMyCompany from './Steps/Find' +import StepsHeader from './Steps/StepsHeader' import './ui/index.css' class Layout extends Component { componentDidMount() { @@ -27,12 +28,15 @@ class Layout extends Component { -
- - - - -
+ <> + +
+ + + + +
+
)