Revert "📊 Création d'une page /stats vide"

This reverts commit ef641ac874.
pull/955/head
Maxime Quandalle 2020-03-31 09:32:50 +02:00
parent ef641ac874
commit e43cb1df32
No known key found for this signature in database
GPG Key ID: 428641C03D29CA10
4 changed files with 1 additions and 18 deletions

View File

@ -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 = () => {
/>
<Route path={sitePaths.integration.index} component={Integration} />
<Route path={sitePaths.nouveautés} component={Nouveautés} />
<Route path={sitePaths.stats} component={Stats} />
<Route path={sitePaths.coronavirus} component={Coronavirus} />
<Route exact path="/dev/sitemap" component={Sitemap} />
<Route

View File

@ -68,7 +68,7 @@ const Footer = () => {
</>
)}
{' • '}
<Link to={sitePaths.stats}>Stats</Link>
<a href="https://mon-entreprise.fr/stats">Stats</a>
{' • '}
<Link to={sitePaths.integration.index}>
<Trans>Intégrer nos simulateurs</Trans>

View File

@ -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 (
<>
<ScrollToTop />
<h1>
Statistiques <>{emoji('📊')}</>
</h1>
</>
)
}

View File

@ -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)