Enlève actualité covid et chômage partiel

pull/1098/head
Johan Girod 2020-08-26 18:04:02 +02:00
parent c2814ceaed
commit 47fa8d59d5
4 changed files with 12 additions and 15 deletions

View File

@ -52,6 +52,12 @@ export default function Question({
:not(:first-child) {
margin-left: 0.6rem;
}
input {
width: 0;
opacity: 0;
height: 0;
position: absolute;
}
`}
>
<RadioLabel
@ -165,6 +171,7 @@ function RadioLabelContent({
return (
<label
key={value}
onDoubleClick={() => onSubmit('dblClick')}
style={labelStyle}
className={classnames('userAnswerButton ui__ button', {
selected
@ -173,7 +180,6 @@ function RadioLabelContent({
<input
type="radio"
name={name}
onDoubleClick={() => onSubmit('dblClick')}
value={value}
onChange={evt => onChange(evt.target.value)}
checked={selected}

View File

@ -56,7 +56,7 @@
}
.ui__.radio input[type='radio']:focus ~ *::before {
box-shadow: 0 0 0px 2px var(--color), 0 0 5px 2px white;
box-shadow: 0 0 0px 2px var(--color), 0 0 5px 3px var(--lightColor);
}
.ui__.radio input[type='radio'] {

View File

@ -40,17 +40,6 @@ export default function Landing() {
</section>
<section className="ui__ full-width light-bg center-flex">
<div style={{ textAlign: 'center', width: '100%' }}>
<Link
to={sitePaths.simulateurs['chômage-partiel']}
className="ui__ plain small button"
>
{emoji('😷')}{' '}
<Trans i18nKey="landing.covid19">
Covid-19 : Calculer l'impact du chômage partiel
</Trans>
</Link>
</div>
<Link
className="ui__ interactive card box"
to={

View File

@ -161,8 +161,10 @@ function SeoExplanations() {
Voir le détail du calcul du revenu abattu pour un auto-entrepreneur
</RuleLink>
</p>
<h2>Ressources utiles</h2>
<div style={{ display: 'flex' }}>
<h2>
<Trans>Ressources utiles</Trans>
</h2>
<div style={{ display: 'flex', flexWrap: 'wrap' }}>
<RessourceAutoEntrepreneur />
</div>
</Trans>