👽 Titres des menus de gauche

pull/418/head
Mael 2018-11-06 13:45:32 +00:00 committed by Johan Girod
parent 36c0d217aa
commit 296bb8f078
4 changed files with 10 additions and 8 deletions

View File

@ -372,4 +372,4 @@ sécu: |
Votre entreprise: Your company
Protection sociale: Social security
Embaucher: Hiring process
Embauche: Hiring process

View File

@ -1,6 +1,6 @@
/* @flow */
import { compose } from 'ramda'
import React from 'react'
import { React, T } from 'Components'
import emoji from 'react-easy-emoji'
import { connect } from 'react-redux'
import { NavLink, withRouter } from 'react-router-dom'
@ -44,7 +44,7 @@ const StepsHeader = ({
exact={false}
title={
<>
Your company
<T>Votre entreprise</T>
<img
style={{ height: '2.5rem', marginBottom: '-0.8rem' }}
src={companySvg}
@ -152,7 +152,7 @@ const StepsHeader = ({
</li>
<li>
<NavLink exact to="/social-security">
Social security
<T>Protection sociale</T>
<img
style={{ height: '2.5rem', marginBottom: '-0.8rem' }}
src={estimateSvg}
@ -163,7 +163,7 @@ const StepsHeader = ({
</li>
<li>
<NavLink to="/hiring-process">
Hiring process
<T>Embauche</T>
<img
style={{ height: '2.5rem', marginBottom: '-0.8rem' }}
src={hiringSvg}

View File

@ -70,7 +70,7 @@ const StepsHeader = ({
}>
<img src={hiringSvg} />
<div>
<T>Embaucher</T>
<T>Embauche</T>
</div>
<Progress percent={hiringProgress} />

View File

@ -2,7 +2,7 @@
import withLanguage from 'Components/utils/withLanguage'
import { toPairs } from 'ramda'
import React from 'react'
import { React, T } from 'Components'
import { connect } from 'react-redux'
import { Link, Redirect } from 'react-router-dom'
import type { ResetExistingCompanyDetailsAction } from 'Types/companyTypes'
@ -58,7 +58,9 @@ export const CompanyDetails = (data: { [string]: string }) => {
const YourCompany = ({ companyDetails, resetCompanyDetails }) => (
<>
{!companyDetails && <Redirect to="/company" />}
<h1>Your company</h1>
<h1>
<T>Your company</T>
</h1>
<CompanyDetails {...companyDetails.apiDetails} />
<p>
<Link onClick={resetCompanyDetails} to="/company/find">