diff --git a/mon-entreprise/source/pages/Accessibilité.tsx b/mon-entreprise/source/pages/Accessibilité.tsx index ba64a2389..18c335fcb 100644 --- a/mon-entreprise/source/pages/Accessibilité.tsx +++ b/mon-entreprise/source/pages/Accessibilité.tsx @@ -1,9 +1,15 @@ import { Trans } from 'react-i18next' import { TrackPage } from '../ATInternetTracking' +import Meta from '../components/utils/Meta' export default function Accessibilité() { return ( +

Accessibilité

diff --git a/mon-entreprise/source/pages/Budget/Budget.tsx b/mon-entreprise/source/pages/Budget/Budget.tsx index d333fa7d6..9ecefccbf 100644 --- a/mon-entreprise/source/pages/Budget/Budget.tsx +++ b/mon-entreprise/source/pages/Budget/Budget.tsx @@ -9,6 +9,7 @@ import { Helmet } from 'react-helmet' import { useTranslation } from 'react-i18next' import styled from 'styled-components' import { TrackPage } from '../../ATInternetTracking' +import Meta from '../../components/utils/Meta' import prose from './budget.md' import budget from './budget.yaml' @@ -42,9 +43,11 @@ export default function Budget() { return ( <> - - Le budget de mon-entreprise.fr - +

Budget diff --git a/mon-entreprise/source/pages/Créer/Home.tsx b/mon-entreprise/source/pages/Créer/Home.tsx index d9c71b7a2..6702d3737 100644 --- a/mon-entreprise/source/pages/Créer/Home.tsx +++ b/mon-entreprise/source/pages/Créer/Home.tsx @@ -1,8 +1,8 @@ import PageHeader from 'Components/PageHeader' import { FromBottom } from 'Components/ui/animate' +import Meta from 'Components/utils/Meta' import { SitePathsContext } from 'Components/utils/SitePathsContext' import { useContext } from 'react' -import { Helmet } from 'react-helmet' import { Trans, useTranslation } from 'react-i18next' import { useSelector } from 'react-redux' import { Link } from 'react-router-dom' @@ -22,10 +22,12 @@ export default function Créer() { return ( - - - {t('créer.titre', 'Créer une entreprise')} - + Créer une entreprise} picture={créerSvg} diff --git a/mon-entreprise/source/pages/Documentation.tsx b/mon-entreprise/source/pages/Documentation.tsx index 3b4e844e4..78376a1bb 100644 --- a/mon-entreprise/source/pages/Documentation.tsx +++ b/mon-entreprise/source/pages/Documentation.tsx @@ -13,6 +13,7 @@ import { RootState } from 'Reducers/rootReducer' import { TrackPage } from '../ATInternetTracking' import rules, { DottedName } from 'modele-social' import RuleLink from '../components/RuleLink' +import Meta from 'Components/utils/Meta' export default function RulePage() { const currentSimulation = useSelector( @@ -90,6 +91,11 @@ function DocumentationLanding() { return ( <> +

Documentation

diff --git a/mon-entreprise/source/pages/Gérer/Home.tsx b/mon-entreprise/source/pages/Gérer/Home.tsx index 8185a3814..db5672b36 100644 --- a/mon-entreprise/source/pages/Gérer/Home.tsx +++ b/mon-entreprise/source/pages/Gérer/Home.tsx @@ -12,13 +12,13 @@ import Emoji from 'Components/utils/Emoji' import { ScrollToTop } from 'Components/utils/Scroll' import { SitePaths, SitePathsContext } from 'Components/utils/SitePathsContext' import { useContext, useEffect, useRef, useState } from 'react' -import { Helmet } from 'react-helmet' import { Trans, useTranslation } from 'react-i18next' import { useDispatch, useSelector } from 'react-redux' import { Link } from 'react-router-dom' import { Company } from 'Reducers/inFranceAppReducer' import { RootState } from 'Reducers/rootReducer' import { TrackPage } from '../../ATInternetTracking' +import Meta from '../../components/utils/Meta' import AideOrganismeLocal from './AideOrganismeLocal' import businessPlan from './businessPlan.svg' @@ -64,9 +64,12 @@ export default function Gérer() { return ( <> - - {t('gérer.titre', 'Gérer mon activité')} - + diff --git a/mon-entreprise/source/pages/Landing/Landing.tsx b/mon-entreprise/source/pages/Landing/Landing.tsx index 535c65e5a..119b555a5 100644 --- a/mon-entreprise/source/pages/Landing/Landing.tsx +++ b/mon-entreprise/source/pages/Landing/Landing.tsx @@ -1,6 +1,7 @@ import Footer from 'Components/layout/Footer/Footer' import Header from 'Components/layout/Header' import Emoji from 'Components/utils/Emoji' +import Meta from 'Components/utils/Meta' import { SitePathsContext } from 'Components/utils/SitePathsContext' import logoSvg from 'Images/logo.svg' import { useContext } from 'react' @@ -22,6 +23,12 @@ export default function Landing() { return ( <> +
{language === 'en' && ( diff --git a/mon-entreprise/source/pages/Nouveautés/Nouveautés.tsx b/mon-entreprise/source/pages/Nouveautés/Nouveautés.tsx index 26a330b83..32a10903a 100644 --- a/mon-entreprise/source/pages/Nouveautés/Nouveautés.tsx +++ b/mon-entreprise/source/pages/Nouveautés/Nouveautés.tsx @@ -2,6 +2,7 @@ import { determinant, hideNewsBanner } from 'Components/layout/NewsBanner' import MoreInfosOnUs from 'Components/MoreInfosOnUs' import Emoji from 'Components/utils/Emoji' import { MarkdownWithAnchorLinks } from 'Components/utils/markdown' +import Meta from 'Components/utils/Meta' import { ScrollToTop } from 'Components/utils/Scroll' import { SitePathsContext } from 'Components/utils/SitePathsContext' import { useContext, useEffect } from 'react' @@ -53,6 +54,11 @@ export default function Nouveautés() { return ( <> +

Les nouveautés diff --git a/mon-entreprise/source/pages/Simulateurs/Home.tsx b/mon-entreprise/source/pages/Simulateurs/Home.tsx index caeaee408..ed5b72515 100644 --- a/mon-entreprise/source/pages/Simulateurs/Home.tsx +++ b/mon-entreprise/source/pages/Simulateurs/Home.tsx @@ -10,6 +10,7 @@ import { Helmet } from 'react-helmet' import { Trans, useTranslation } from 'react-i18next' import { Link } from 'react-router-dom' import { TrackPage } from '../../ATInternetTracking' +import Meta from '../../components/utils/Meta' import simulatorSvg from './images/illustration-simulateur.svg' import useSimulatorsData, { SimulatorData } from './metadata' @@ -22,6 +23,12 @@ export default function Simulateurs() { return ( <> + {titre} diff --git a/mon-entreprise/source/pages/Stats/Stats.tsx b/mon-entreprise/source/pages/Stats/Stats.tsx index 2e2cd7091..5f8650294 100644 --- a/mon-entreprise/source/pages/Stats/Stats.tsx +++ b/mon-entreprise/source/pages/Stats/Stats.tsx @@ -12,6 +12,7 @@ import { useCallback, useEffect, useMemo, useState } from 'react' import { Trans } from 'react-i18next' import { useHistory, useLocation } from 'react-router-dom' import { toAtString, TrackPage } from '../../ATInternetTracking' +import Meta from '../../components/utils/Meta' import statsJson from '../../data/stats.json' import { debounce } from '../../utils' import { SimulateurCard } from '../Simulateurs/Home' @@ -306,6 +307,11 @@ export default function Stats() { return ( <> +

diff --git a/mon-entreprise/source/pages/integration/Options.tsx b/mon-entreprise/source/pages/integration/Options.tsx index ec10682be..8791dda54 100644 --- a/mon-entreprise/source/pages/integration/Options.tsx +++ b/mon-entreprise/source/pages/integration/Options.tsx @@ -4,12 +4,19 @@ import { SitePathsContext } from 'Components/utils/SitePathsContext' import { useContext } from 'react' import { Trans } from 'react-i18next' import { Link } from 'react-router-dom' +import Meta from '../../components/utils/Meta' import illustration from './illustration.png' export default function Options() { const sitePaths = useContext(SitePathsContext) return ( <> +

Outils pour les développeurs