diff --git a/pages/index.js b/pages/index.js index ad7e4da..7aa499f 100644 --- a/pages/index.js +++ b/pages/index.js @@ -12,7 +12,6 @@ import HeadLayout from '../components/head-layout' import Footer from '../components/footer' import {jwennStats} from '../lib/oki-api' -import KatStats from '../components/stats/kat-stats' import KatKayLa from '../components/kat-kay-la' import Custom500 from './500' @@ -25,36 +24,6 @@ export default function Home({errorCode, errorMessage, stats}) { return } - const {parolesWithoutTranslation} = stats - - const statsByLang = [ - { - code: 'fr', - value: parolesWithoutTranslation.francais, - emoji: '🇫🇷' - }, - { - code: 'en', - value: parolesWithoutTranslation.anglais, - emoji: '🇬🇧' - }, - { - code: 'es', - value: parolesWithoutTranslation.espagnol, - emoji: '🇪🇸' - }, - { - code: 'de', - value: parolesWithoutTranslation.allemand, - emoji: '🇩🇪' - }, - { - code: 'it', - value: parolesWithoutTranslation.italien, - emoji: '🇮🇹' - } - ] - return ( @@ -70,37 +39,12 @@ export default function Home({errorCode, errorMessage, stats}) { Paroles, traductions et Fédiverse - - - - - - - - - - - - - - - Traductions - - - {statsByLang.map(({code, value, emoji}) => ( - - ))} -