Enlève les CTA du comparateur sur la version simulateur

pull/2782/head
Johan Girod 2023-06-26 10:28:51 +02:00
parent 6de5de9ffc
commit 1bdef9b041
2 changed files with 6 additions and 3 deletions

View File

@ -12,6 +12,7 @@ export function choixStatutJuridiqueConfig({
path: sitePaths.assistants['choix-du-statut'].index,
iframePath: 'choix-statut-juridique',
icône: '📚',
beta: true,
tracking: {
chapter1: 'creer',
chapter2: 'guide',

View File

@ -27,13 +27,15 @@ const StatutChoice = ({
<Spacing lg />
<Grid container spacing={4}>
<Grid item {...gridSizes}>
<StatutBloc {...namedEngines[0]} hideCTA />
<StatutBloc {...namedEngines[0]} hideCTA={hideCTA} />
</Grid>
<Grid item {...gridSizes}>
<StatutBloc {...namedEngines[1]} hideCTA />
<StatutBloc {...namedEngines[1]} hideCTA={hideCTA} />
</Grid>
<Grid item {...gridSizes}>
{namedEngines[2] && <StatutBloc {...namedEngines[2]} hideCTA />}
{namedEngines[2] && (
<StatutBloc {...namedEngines[2]} hideCTA={hideCTA} />
)}
</Grid>
</Grid>
</div>