Retire les `<title>` en doublons (#2431)
* fix: Remove duplicate title * feat: Ajoute des title manquantspull/2434/head
parent
111db6892d
commit
a875f87f43
|
@ -2,6 +2,7 @@ import { Trans, useTranslation } from 'react-i18next'
|
|||
import { useSelector } from 'react-redux'
|
||||
|
||||
import { FromBottom } from '@/components/ui/animate'
|
||||
import DefaultHelmet from '@/components/utils/DefaultHelmet'
|
||||
import { ScrollToTop } from '@/components/utils/Scroll'
|
||||
import { H1, H2 } from '@/design-system/typography/heading'
|
||||
import { Link } from '@/design-system/typography/link'
|
||||
|
@ -22,6 +23,9 @@ export default function AfterRegistration() {
|
|||
|
||||
return (
|
||||
<FromBottom>
|
||||
<DefaultHelmet>
|
||||
<title>Après la création de votre entreprise</title>
|
||||
</DefaultHelmet>
|
||||
<ScrollToTop />
|
||||
<TrackPage name="apres_la_creation" />
|
||||
<Link noUnderline to={absoluteSitePaths.créer.index}>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
import DefaultHelmet from '@/components/utils/DefaultHelmet'
|
||||
import { Message } from '@/design-system'
|
||||
import { Grid } from '@/design-system/layout'
|
||||
import { Body, Intro } from '@/design-system/typography/paragraphs'
|
||||
|
@ -10,6 +11,9 @@ export default function Offline() {
|
|||
role="main"
|
||||
>
|
||||
<Grid item md={8} sm={12}>
|
||||
<DefaultHelmet>
|
||||
<title>Hors ligne</title>
|
||||
</DefaultHelmet>
|
||||
<Message type="info" css={{ margin: '1rem 0' }}>
|
||||
<Intro>Vous êtes actuellement hors ligne.</Intro>
|
||||
<Body>
|
||||
|
|
|
@ -11,6 +11,7 @@ import PageHeader from '@/components/PageHeader'
|
|||
import RuleInput from '@/components/conversation/RuleInput'
|
||||
import Warning from '@/components/ui/WarningBlock'
|
||||
import { FromTop } from '@/components/ui/animate'
|
||||
import DefaultHelmet from '@/components/utils/DefaultHelmet'
|
||||
import useSimulationConfig from '@/components/utils/useSimulationConfig'
|
||||
import { Grid } from '@/design-system/layout'
|
||||
import { Strong } from '@/design-system/typography'
|
||||
|
@ -56,6 +57,9 @@ export default function AideDéclarationIndépendant() {
|
|||
return (
|
||||
<>
|
||||
<Trans i18nKey="aide-déclaration-indépendant.description">
|
||||
<DefaultHelmet>
|
||||
<title>Déclaration charges sociales indépendants</title>
|
||||
</DefaultHelmet>
|
||||
<PageHeader picture={illustration}>
|
||||
<Intro>
|
||||
Cet outil est une aide à la déclaration de revenus à destination des{' '}
|
||||
|
|
|
@ -3,6 +3,7 @@ import { Navigate, Route, Routes } from 'react-router-dom'
|
|||
|
||||
import { Condition } from '@/components/EngineValue'
|
||||
import PrintExportRecover from '@/components/simulationExplanation/PrintExportRecover'
|
||||
import DefaultHelmet from '@/components/utils/DefaultHelmet'
|
||||
import { useEngine } from '@/components/utils/EngineContext'
|
||||
import { useSimulationProgress } from '@/components/utils/useNextQuestion'
|
||||
import useSimulationConfig from '@/components/utils/useSimulationConfig'
|
||||
|
@ -54,6 +55,9 @@ export default function AideDéclarationIndépendant() {
|
|||
|
||||
return (
|
||||
<>
|
||||
<DefaultHelmet>
|
||||
<title>Déclaration de revenu indépendants</title>
|
||||
</DefaultHelmet>
|
||||
<PrintExportRecover />
|
||||
<Condition expression="DRI">
|
||||
<Spacing lg />
|
||||
|
|
|
@ -7,6 +7,7 @@ import { WhenApplicable, WhenNotApplicable } from '@/components/EngineValue'
|
|||
import PageHeader from '@/components/PageHeader'
|
||||
import RuleInput from '@/components/conversation/RuleInput'
|
||||
import BrowserOnly from '@/components/utils/BrowserOnly'
|
||||
import DefaultHelmet from '@/components/utils/DefaultHelmet'
|
||||
import { EngineContext, EngineProvider } from '@/components/utils/EngineContext'
|
||||
import { Markdown } from '@/components/utils/markdown'
|
||||
import { usePersistingState } from '@/components/utils/persistState'
|
||||
|
@ -51,6 +52,9 @@ export default function PageMobilité() {
|
|||
certificat A1 afin d'être couverts pendant la période de travail à
|
||||
l'étranger.
|
||||
</Intro>
|
||||
<DefaultHelmet>
|
||||
<title>Demande de mobilité internationale</title>
|
||||
</DefaultHelmet>
|
||||
</PageHeader>
|
||||
<EngineProvider value={engine}>
|
||||
<FormulairePublicodes />
|
||||
|
|
|
@ -9,6 +9,7 @@ import { Link } from '@/design-system/typography/link'
|
|||
import { Li, Ol, Ul } from '@/design-system/typography/list'
|
||||
import { Body, Intro } from '@/design-system/typography/paragraphs'
|
||||
|
||||
import Meta from '../../components/utils/Meta'
|
||||
import { CasParticuliers } from './_components/CasParticuliers'
|
||||
import StepByStep from './_components/StepByStep'
|
||||
import illustration from './_images/API_illustration.svg'
|
||||
|
@ -17,7 +18,11 @@ export default function API() {
|
|||
return (
|
||||
<div css="iframe{margin-top: 1em; margin-bottom: 1em}">
|
||||
<ScrollToTop />
|
||||
|
||||
<Meta
|
||||
page="api"
|
||||
title="Utiliser notre API REST"
|
||||
description="Outils pour les développeurs"
|
||||
/>
|
||||
<Trans i18nKey="pages.développeur.api">
|
||||
<PageHeader titre="API REST de simulation" picture={illustration}>
|
||||
<Intro>
|
||||
|
|
|
@ -16,6 +16,7 @@ import { Body, Intro } from '@/design-system/typography/paragraphs'
|
|||
import urssafLogo from '@/images/Urssaf.svg'
|
||||
|
||||
import { TrackPage } from '../../ATInternetTracking'
|
||||
import Meta from '../../components/utils/Meta'
|
||||
import useSimulatorsData, { SimulatorData } from '../Simulateurs/metadata'
|
||||
|
||||
import './iframe.css'
|
||||
|
@ -97,7 +98,11 @@ function IntegrationCustomizer() {
|
|||
<H2>
|
||||
<Trans>Personnalisez l'intégration</Trans>
|
||||
</H2>
|
||||
|
||||
<Meta
|
||||
page="iframe"
|
||||
title="Intégrer un simulateur"
|
||||
description="Outils pour les développeurs"
|
||||
/>
|
||||
<Grid
|
||||
container
|
||||
spacing={4}
|
||||
|
|
|
@ -10,6 +10,7 @@ import { Link } from '@/design-system/typography/link'
|
|||
import { Li, Ol } from '@/design-system/typography/list'
|
||||
import { Body, Intro } from '@/design-system/typography/paragraphs'
|
||||
|
||||
import Meta from '../../components/utils/Meta'
|
||||
import { CasParticuliers } from './_components/CasParticuliers'
|
||||
import StepByStep from './_components/StepByStep'
|
||||
import illustration from './_images/illustration_library.svg'
|
||||
|
@ -17,6 +18,11 @@ import illustration from './_images/illustration_library.svg'
|
|||
export default function Library() {
|
||||
return (
|
||||
<div css="iframe{margin-top: 1em; margin-bottom: 1em}">
|
||||
<Meta
|
||||
page="library"
|
||||
title="Librairie de calcul"
|
||||
description="Outils pour les développeurs"
|
||||
/>
|
||||
<ScrollToTop />
|
||||
<Trans i18nKey="pages.développeur.bibliothèque">
|
||||
<PageHeader
|
||||
|
|
|
@ -6,6 +6,8 @@ import { Link } from '@/design-system/typography/link'
|
|||
import { Body } from '@/design-system/typography/paragraphs'
|
||||
import { useSitePaths } from '@/sitePaths'
|
||||
|
||||
import Meta from '../../components/utils/Meta'
|
||||
|
||||
export default function Spreadsheet() {
|
||||
const { absoluteSitePaths } = useSitePaths()
|
||||
|
||||
|
@ -14,6 +16,11 @@ export default function Spreadsheet() {
|
|||
return (
|
||||
<div css="iframe{margin-top: 1em; margin-bottom: 1em}">
|
||||
<ScrollToTop />
|
||||
<Meta
|
||||
page="spreadsheet"
|
||||
title="Utiliser avec un tableur"
|
||||
description="Outils pour les développeurs"
|
||||
/>
|
||||
<Trans i18nKey="pages.développeur.spreadsheet">
|
||||
<H1>Utiliser avec un tableur</H1>
|
||||
<Body>
|
||||
|
|
|
@ -43,8 +43,6 @@
|
|||
|
||||
<meta name="theme-color" content="#2975d1" />
|
||||
|
||||
<title>{{ title }}</title>
|
||||
|
||||
<!--app-helmet-tags:start-->
|
||||
<meta name="description" content="{{ description }}" />
|
||||
<meta property="og:type" content="website" />
|
||||
|
|
Loading…
Reference in New Issue