📊 Création d'une page /stats vide
parent
a7bc55fb46
commit
ef641ac874
|
@ -35,6 +35,7 @@ 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'
|
||||
|
@ -119,6 +120,7 @@ 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
|
||||
|
|
|
@ -68,7 +68,7 @@ const Footer = () => {
|
|||
</>
|
||||
)}
|
||||
{' • '}
|
||||
<a href="https://mon-entreprise.fr/stats">Stats</a>
|
||||
<Link to={sitePaths.stats}>Stats</Link>
|
||||
{' • '}
|
||||
<Link to={sitePaths.integration.index}>
|
||||
<Trans>Intégrer nos simulateurs</Trans>
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
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>
|
||||
</>
|
||||
)
|
||||
}
|
|
@ -126,6 +126,7 @@ 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)
|
||||
|
|
Loading…
Reference in New Issue