diff --git a/cryptide_project/src/App.tsx b/cryptide_project/src/App.tsx index 736245a..dacb2c0 100644 --- a/cryptide_project/src/App.tsx +++ b/cryptide_project/src/App.tsx @@ -78,7 +78,7 @@ function App() { } /> } /> }/> - } /> + } /> {/* }/> */} diff --git a/cryptide_project/src/Pages/InfoPage.tsx b/cryptide_project/src/Pages/InfoPage.tsx index 5cf5cfe..014c803 100644 --- a/cryptide_project/src/Pages/InfoPage.tsx +++ b/cryptide_project/src/Pages/InfoPage.tsx @@ -18,7 +18,8 @@ import { HashLink as Link } from 'react-router-hash-link'; import { ColorToHexa } from '../model/EnumExtender'; import Color from '../model/Color'; -function InfoPage() { //! cette page n'affiche que des informations et est suceptible de changer selon le context. +//@ts-ignore +function InfoPage({locale, changeLocale}) { //! cette page n'affiche que des informations et est suceptible de changer selon le context. const styles = { roux: { backgroundColor: ColorToHexa(Color.REDHEAD), width: '15px', height: '15px', display: 'inline-block', marginRight: '5px' }, blond: { backgroundColor: ColorToHexa(Color.BLOND), width: '15px', height: '15px', display: 'inline-block', marginRight: '5px' }, @@ -169,29 +170,26 @@ function InfoPage() { //! cette page n'affiche que des informations et est sucep

- {/* - //todo voir pour le changement de lang - */} - +

- - + +

- - + +

- - + +