From e43cb1df32de932ca73f5dc7dd37a09030da4488 Mon Sep 17 00:00:00 2001 From: Maxime Quandalle Date: Tue, 31 Mar 2020 09:32:50 +0200 Subject: [PATCH] =?UTF-8?q?Revert=20"=F0=9F=93=8A=20Cr=C3=A9ation=20d'une?= =?UTF-8?q?=20page=20/stats=20vide"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit ef641ac874184215afd57f3e932e40a178c9ffa2. --- source/sites/mon-entreprise.fr/App.tsx | 2 -- .../mon-entreprise.fr/layout/Footer/Footer.tsx | 2 +- .../sites/mon-entreprise.fr/pages/Stats/Stats.tsx | 14 -------------- source/sites/mon-entreprise.fr/sitePaths.ts | 1 - 4 files changed, 1 insertion(+), 18 deletions(-) delete mode 100644 source/sites/mon-entreprise.fr/pages/Stats/Stats.tsx diff --git a/source/sites/mon-entreprise.fr/App.tsx b/source/sites/mon-entreprise.fr/App.tsx index 69d32907a..217803277 100644 --- a/source/sites/mon-entreprise.fr/App.tsx +++ b/source/sites/mon-entreprise.fr/App.tsx @@ -35,7 +35,6 @@ import Integration from './pages/integration/index' import Landing from './pages/Landing/Landing' import Nouveautés from './pages/Nouveautés/Nouveautés' import Simulateurs from './pages/Simulateurs' -import Stats from './pages/Stats/Stats' import ÉconomieCollaborative from './pages/ÉconomieCollaborative' import redirects from './redirects' import { constructLocalizedSitePath } from './sitePaths' @@ -120,7 +119,6 @@ const App = () => { /> - { )} {' • '} - Stats + Stats {' • '} Intégrer nos simulateurs diff --git a/source/sites/mon-entreprise.fr/pages/Stats/Stats.tsx b/source/sites/mon-entreprise.fr/pages/Stats/Stats.tsx deleted file mode 100644 index f084aff9e..000000000 --- a/source/sites/mon-entreprise.fr/pages/Stats/Stats.tsx +++ /dev/null @@ -1,14 +0,0 @@ -import { ScrollToTop } from 'Components/utils/Scroll' -import React from 'react' -import emoji from 'react-easy-emoji' - -export default function Stats() { - return ( - <> - -

- Statistiques <>{emoji('📊')} -

- - ) -} diff --git a/source/sites/mon-entreprise.fr/sitePaths.ts b/source/sites/mon-entreprise.fr/sitePaths.ts index 9b9543b73..c45cf0a0b 100644 --- a/source/sites/mon-entreprise.fr/sitePaths.ts +++ b/source/sites/mon-entreprise.fr/sitePaths.ts @@ -126,7 +126,6 @@ export const constructLocalizedSitePath = (language: string) => { ) }, nouveautés: t('path.nouveautés', '/nouveautés'), - stats: t('path.stats', '/stats'), documentation: { index: t('path.documentation.index', '/documentation'), rule: (dottedName: DottedName) => '/' + encodeRuleName(dottedName)