From ef2159a2358e412626ffd951eece0a24d176cfb9 Mon Sep 17 00:00:00 2001 From: Johan Girod Date: Thu, 15 Jun 2023 18:20:40 +0200 Subject: [PATCH] Page association en cours sur le choix du statut --- .../design-system/field/Radio/RadioCard.tsx | 5 +- .../_components/Navigation.tsx | 2 +- .../choix-du-statut/association.tsx | 76 +++++++++++++++++++ .../assistants/choix-du-statut/index.tsx | 4 +- .../assistants/choix-du-statut/lucratif.tsx | 11 --- site/source/sitePaths.ts | 4 +- 6 files changed, 85 insertions(+), 17 deletions(-) create mode 100644 site/source/pages/assistants/choix-du-statut/association.tsx delete mode 100644 site/source/pages/assistants/choix-du-statut/lucratif.tsx diff --git a/site/source/design-system/field/Radio/RadioCard.tsx b/site/source/design-system/field/Radio/RadioCard.tsx index bd83bc24c..7b5906e0f 100644 --- a/site/source/design-system/field/Radio/RadioCard.tsx +++ b/site/source/design-system/field/Radio/RadioCard.tsx @@ -5,6 +5,7 @@ import styled from 'styled-components' import { Markdown } from '@/components/utils/markdown' import { CardContainer } from '@/design-system/card/Card' import { Emoji } from '@/design-system/emoji' +import { SmallBody } from '@/design-system/typography/paragraphs' import { RadioPoint, RadioSkeleton, SpanBody, VisibleRadio } from './Radio' @@ -66,7 +67,9 @@ export function RadioCard({ {label} {emoji && } {description && ( - {description ?? ''} + + {description ?? ''} + )} diff --git a/site/source/pages/assistants/choix-du-statut/_components/Navigation.tsx b/site/source/pages/assistants/choix-du-statut/_components/Navigation.tsx index 2d8942868..f6099406e 100644 --- a/site/source/pages/assistants/choix-du-statut/_components/Navigation.tsx +++ b/site/source/pages/assistants/choix-du-statut/_components/Navigation.tsx @@ -13,7 +13,7 @@ export const stepOrder: readonly Step[] = [ 'recherche-activité', 'détails-activité', 'commune', - 'lucratif', + 'association', 'associé', 'rémunération', 'statuts', diff --git a/site/source/pages/assistants/choix-du-statut/association.tsx b/site/source/pages/assistants/choix-du-statut/association.tsx new file mode 100644 index 000000000..9df3f9d84 --- /dev/null +++ b/site/source/pages/assistants/choix-du-statut/association.tsx @@ -0,0 +1,76 @@ +import { Trans, useTranslation } from 'react-i18next' + +import { RadioCard, RadioCardGroup } from '@/design-system' +import { HelpButtonWithPopover } from '@/design-system/buttons' +import { Strong } from '@/design-system/typography' +import { Body } from '@/design-system/typography/paragraphs' + +import Layout from './_components/Layout' +import Navigation from './_components/Navigation' + +export default function Association() { + const { t } = useTranslation() + + return ( + <> + + Je crée cette entreprise... + + + Elle permet de{' '} + + partager un projet commun dans l’intérêt général, sans faire + de bénéfices + {' '} + : promouvoir une activité sportive, l'insertion de personnes en + difficulté, le développement local, etc... + + + + } + > + + + + + + + + + + ) +} diff --git a/site/source/pages/assistants/choix-du-statut/index.tsx b/site/source/pages/assistants/choix-du-statut/index.tsx index 183dcc350..97848caca 100644 --- a/site/source/pages/assistants/choix-du-statut/index.tsx +++ b/site/source/pages/assistants/choix-du-statut/index.tsx @@ -4,11 +4,11 @@ import { ScrollToTop } from '@/components/utils/Scroll' import { useSitePaths } from '@/sitePaths' import AfterRegistration from './après' +import Association from './association' import Associé from './associé' import Commune from './commune' import DétailsActivité from './détails-activité' import AccueilChoixStatut from './home' -import Lucratif from './lucratif' import RechercheActivité from './recherche-activité' import Rémunération from './rémunération' import Résultat from './résultat' @@ -35,7 +35,7 @@ export default function ChoixDuStatut() { /> } /> } /> - } /> + } /> } /> } /> } /> diff --git a/site/source/pages/assistants/choix-du-statut/lucratif.tsx b/site/source/pages/assistants/choix-du-statut/lucratif.tsx deleted file mode 100644 index 7e936149f..000000000 --- a/site/source/pages/assistants/choix-du-statut/lucratif.tsx +++ /dev/null @@ -1,11 +0,0 @@ -import { H1 } from '@/design-system/typography/heading' - -import Navigation from './_components/Navigation' - -export default function Lucratif() { - return ( - <> -

Lucratif

- - ) -} diff --git a/site/source/sitePaths.ts b/site/source/sitePaths.ts index 5c665dfe0..e63e47026 100644 --- a/site/source/sitePaths.ts +++ b/site/source/sitePaths.ts @@ -32,7 +32,7 @@ const rawSitePathsFr = { 'recherche-activité': 'recherche-activite', 'détails-activité': 'details-activite', commune: 'commune', - lucratif: 'lucratif', + association: 'association', associé: 'associe', rémunération: 'remuneration', statuts: 'statuts', @@ -120,7 +120,7 @@ const rawSitePathsEn = { 'détails-activité': 'details-activite', après: 'after-registration', commune: 'commune', - lucratif: 'lucrative', + association: 'association', associé: 'partnership', rémunération: 'remuneration', statuts: 'statuts',