diff --git a/site/source/components/App.tsx b/site/source/components/App.tsx index 69244fab2..378957bdd 100644 --- a/site/source/components/App.tsx +++ b/site/source/components/App.tsx @@ -17,27 +17,26 @@ import { useSetupSafeSituation, } from '@/components/utils/EngineContext' import { Container, Spacing } from '@/design-system/layout' +import { useAxeCoreAnalysis } from '@/hooks/useAxeCoreAnalysis' +import { useGetFullURL } from '@/hooks/useGetFullURL' import { useIsEmbedded } from '@/hooks/useIsEmbedded' +import { useSaveAndRestoreScrollPosition } from '@/hooks/useSaveAndRestoreScrollPosition' +import Accessibilité from '@/pages/Accessibilité' +import Budget from '@/pages/Budget/Budget' +import Créer from '@/pages/Creer' +import IntegrationTest from '@/pages/Dev/IntegrationTest' +import Documentation from '@/pages/Documentation' +import Iframes from '@/pages/Iframes' +import Landing from '@/pages/Landing/Landing' +import Nouveautés from '@/pages/Nouveautes/Nouveautes' +import Offline from '@/pages/Offline' +import Plan from '@/pages/Plan' +import Simulateurs from '@/pages/Simulateurs' +import Stats from '@/pages/Stats/LazyStats' +import Assistants from '@/pages/assistants/index' +import Integration from '@/pages/integration/index' +import { useSitePaths } from '@/sitePaths' -import { useAxeCoreAnalysis } from '../hooks/useAxeCoreAnalysis' -import { useGetFullURL } from '../hooks/useGetFullURL' -import { useSaveAndRestoreScrollPosition } from '../hooks/useSaveAndRestoreScrollPosition' -import Accessibilité from '../pages/Accessibilité' -import Budget from '../pages/Budget/Budget' -import Créer from '../pages/Creer' -import IntegrationTest from '../pages/Dev/IntegrationTest' -import Documentation from '../pages/Documentation' -import Iframes from '../pages/Iframes' -import Landing from '../pages/Landing/Landing' -import Nouveautés from '../pages/Nouveautes/Nouveautes' -import Offline from '../pages/Offline' -import Plan from '../pages/Plan' -import Simulateurs from '../pages/Simulateurs' -import Stats from '../pages/Stats/LazyStats' -import Assistants from '../pages/assistants' -import Gérer from '../pages/gerer' -import Integration from '../pages/integration/index' -import { useSitePaths } from '../sitePaths' import Provider, { ProviderProps } from './Provider' type RootProps = { @@ -89,14 +88,16 @@ const Redirections = ({ children }: { children: React.ReactNode }) => { '/gérer/aide-declaration-independants/beta', '/manage/declaration-aid-independent/beta', ], - to: absoluteSitePaths.gérer.déclarationIndépendant.index, + to: absoluteSitePaths.assistants.déclarationIndépendant.index, }, { paths: [ '/gérer/aide-declaration-independants', '/manage/declaration-aid-independent', ], - to: absoluteSitePaths.gérer['déclaration-charges-sociales-indépendant'], + to: absoluteSitePaths.assistants[ + 'déclaration-charges-sociales-indépendant' + ], }, ] satisfies { paths: string[]; to: string }[] @@ -169,10 +170,6 @@ const App = () => { path={relativeSitePaths.créer.index + '/*'} element={} /> - } - /> } diff --git a/site/source/components/layout/Footer/useFeedback.ts b/site/source/components/layout/Footer/useFeedback.ts index 2fb28d17c..2a0a7db96 100644 --- a/site/source/components/layout/Footer/useFeedback.ts +++ b/site/source/components/layout/Footer/useFeedback.ts @@ -29,7 +29,7 @@ export const useFeedback = () => { // Exclure les pages et sous-pages ![ absoluteSitePaths.documentation.index, - absoluteSitePaths.gérer.index, + absoluteSitePaths.assistants.index, absoluteSitePaths.créer.index, absoluteSitePaths.nouveautés, absoluteSitePaths.stats, diff --git a/site/source/locales/ui-en.yaml b/site/source/locales/ui-en.yaml index d6e4de448..ac071f3ea 100644 --- a/site/source/locales/ui-en.yaml +++ b/site/source/locales/ui-en.yaml @@ -1492,6 +1492,29 @@ pages: to:<1>Défenseur des droits<3>Libre réponse 71120<5>75342 Paris CEDEX 07<22>Updated on 29/01/2021 assistants: + pour-mon-entreprise: + avertissement-entreprise-non-traitée: <0>There is not yet an income simulator + for your type of business on this site.<1>If you would like us to + develop a new simulator, please leave us a message by clicking on the + "<1>" button on the right of your screen. + description: Do you want to pay yourself an income or hire someone? You will + have to pay contributions and taxes. Anticipate their amounts thanks to + the simulators adapted to your situation. + info: + PdE: "<0>Discuss with the consultant who can help you according to your + problem<1><0>You wish to :<1><0>recruit, train your + employees<1>finance your investment projects<2>solve a cash + flow problem<3>be advised on labor law<4>develop your + commercial activity<5>sell on the internet<6>sell or take over + a company<7>improve health and safety at work<8>enter into an + ecological and CSR transition process<2><0>Quick and easy + public service: you are called back by THE advisor who can help + you.<3>More than 40 public partners are mobilized to assist + you according to your problem.<1>The competent advisor near you + will call you back within 5 days." + meta: + description: Simulators and wizards adapted to your company + title: Manage my business recherche-code-ape: description: This wizard allows you to quickly find the APE code (main activity) that corresponds to your activity. This code is assigned by INSEE to diff --git a/site/source/locales/ui-fr.yaml b/site/source/locales/ui-fr.yaml index 0a476c31b..0b222b66b 100644 --- a/site/source/locales/ui-fr.yaml +++ b/site/source/locales/ui-fr.yaml @@ -1300,6 +1300,31 @@ pages: 71120<5>75342 Paris CEDEX 07<22>Mis à jour le 29/01/2021 assistants: + pour-mon-entreprise: + avertissement-entreprise-non-traitée: <0>Il n'existe pas encore de simulateur de + revenu pour votre type d'entreprise sur ce site.<1>Si vous souhaitez + que nous développions un nouveau simulateur, laissez-nous message en + cliquant sur le bouton "<1>" à droite de votre écran. + description: Vous souhaitez vous verser un revenu ou embaucher ? Vous aurez à + payer des cotisations et des impôts. Anticipez leurs montants grâce aux + simulateurs adaptés à votre situation. + info: + PdE: "<0>Échanger avec le conseiller qui peut vous aider selon votre + problématique<1><0>Vous souhaitez :<1><0>recruter, former vos + salariés<1>financer vos projets d'investissement<2>résoudre un + problème de trésorerie<3>être conseillé(e) en droit du + travail<4>développer votre activité commerciale<5>vendre sur + internet<6>vendre ou reprendre une entreprise<7>améliorer la + santé et sécurité au travail<8>entrer dans une démarche de + transition écologique & RSE<2><0>Service public simple et + rapide : vous êtes rappelé(e) par LE conseiller qui peut vous + aider.<3>Plus de 40 partenaires publics sont mobilisés pour + vous accompagner en fonction de votre problématique.<1>Le + conseiller compétent proche de chez vous vous rappelle sous 5 + jours." + meta: + description: Simulateurs et assistants adaptés à votre entreprise + title: Gérer mon activité recherche-code-ape: description: Cet assistant vous permet de trouver rapidement le code APE (activité principale exercée) qui correspond à votre activité. Ce code diff --git a/site/source/pages/Landing/SearchOrCreate.tsx b/site/source/pages/Landing/SearchOrCreate.tsx index dd9af78e9..41da08f4c 100644 --- a/site/source/pages/Landing/SearchOrCreate.tsx +++ b/site/source/pages/Landing/SearchOrCreate.tsx @@ -48,9 +48,11 @@ export default function SearchOrCreate() { diff --git a/site/source/pages/gerer/declaration-revenu-independants/components/hooks.ts b/site/source/pages/assistants/declaration-revenu-independants/components/hooks.ts similarity index 100% rename from site/source/pages/gerer/declaration-revenu-independants/components/hooks.ts rename to site/source/pages/assistants/declaration-revenu-independants/components/hooks.ts diff --git a/site/source/pages/gerer/declaration-revenu-independants/components/undraw_access_denied_re_awnf.svg b/site/source/pages/assistants/declaration-revenu-independants/components/undraw_access_denied_re_awnf.svg similarity index 100% rename from site/source/pages/gerer/declaration-revenu-independants/components/undraw_access_denied_re_awnf.svg rename to site/source/pages/assistants/declaration-revenu-independants/components/undraw_access_denied_re_awnf.svg diff --git a/site/source/pages/gerer/declaration-revenu-independants/components/undraw_fill_in_mie5.svg b/site/source/pages/assistants/declaration-revenu-independants/components/undraw_fill_in_mie5.svg similarity index 100% rename from site/source/pages/gerer/declaration-revenu-independants/components/undraw_fill_in_mie5.svg rename to site/source/pages/assistants/declaration-revenu-independants/components/undraw_fill_in_mie5.svg diff --git a/site/source/pages/gerer/declaration-revenu-independants/components/undraw_warning_cyit.svg b/site/source/pages/assistants/declaration-revenu-independants/components/undraw_warning_cyit.svg similarity index 100% rename from site/source/pages/gerer/declaration-revenu-independants/components/undraw_warning_cyit.svg rename to site/source/pages/assistants/declaration-revenu-independants/components/undraw_warning_cyit.svg diff --git a/site/source/pages/gerer/declaration-revenu-independants/config.ts b/site/source/pages/assistants/declaration-revenu-independants/config.ts similarity index 91% rename from site/source/pages/gerer/declaration-revenu-independants/config.ts rename to site/source/pages/assistants/declaration-revenu-independants/config.ts index b98da7e6c..3bdda4dd0 100644 --- a/site/source/pages/gerer/declaration-revenu-independants/config.ts +++ b/site/source/pages/assistants/declaration-revenu-independants/config.ts @@ -9,8 +9,8 @@ export function déclarationRevenuIndépendantBetaConfig({ return config({ beta: true, id: 'déclaration-revenu-indépendant', - pathId: 'gérer.déclarationIndépendant.index', - path: sitePaths.gérer.déclarationIndépendant.index, + pathId: 'assistants.déclarationIndépendant.index', + path: sitePaths.assistants.déclarationIndépendant.index, iframePath: 'déclaration-revenu-indépendant', icône: '✍️', tracking: { diff --git a/site/source/pages/gerer/declaration-revenu-independants/cotisations.tsx b/site/source/pages/assistants/declaration-revenu-independants/cotisations.tsx similarity index 100% rename from site/source/pages/gerer/declaration-revenu-independants/cotisations.tsx rename to site/source/pages/assistants/declaration-revenu-independants/cotisations.tsx diff --git a/site/source/pages/gerer/declaration-revenu-independants/declaration.tsx b/site/source/pages/assistants/declaration-revenu-independants/declaration.tsx similarity index 100% rename from site/source/pages/gerer/declaration-revenu-independants/declaration.tsx rename to site/source/pages/assistants/declaration-revenu-independants/declaration.tsx diff --git a/site/source/pages/gerer/declaration-revenu-independants/entreprise.tsx b/site/source/pages/assistants/declaration-revenu-independants/entreprise.tsx similarity index 98% rename from site/source/pages/gerer/declaration-revenu-independants/entreprise.tsx rename to site/source/pages/assistants/declaration-revenu-independants/entreprise.tsx index f77263b42..0c7be4fb1 100644 --- a/site/source/pages/gerer/declaration-revenu-independants/entreprise.tsx +++ b/site/source/pages/assistants/declaration-revenu-independants/entreprise.tsx @@ -192,7 +192,8 @@ export default function Accueil() {