diff --git a/cryptide_project/src/App.tsx b/cryptide_project/src/App.tsx index 853e61e..79ac7b2 100644 --- a/cryptide_project/src/App.tsx +++ b/cryptide_project/src/App.tsx @@ -12,6 +12,7 @@ import Lobby from './Pages/Lobby'; import InGame from './Pages/InGame'; import EndGame from './Pages/EndGame'; +import InfoPage from './Pages/InfoPage'; /* Component */ import AppNavbar from './Components/NavBar'; @@ -64,6 +65,7 @@ function App() { } /> } /> } /> + } /> diff --git a/cryptide_project/src/Components/ButtonImgNav.tsx b/cryptide_project/src/Components/ButtonImgNav.tsx index 85c48d0..6e3e78d 100644 --- a/cryptide_project/src/Components/ButtonImgNav.tsx +++ b/cryptide_project/src/Components/ButtonImgNav.tsx @@ -6,7 +6,7 @@ import { FormattedMessage } from 'react-intl'; //@ts-ignore function ButtonImgNav({ dest, img, text = "" }) { return ( - + {/*target='_blank' ==> ouvre un nouvelle onglet*/ } @@ -58,13 +87,22 @@ const InGame = () => {
- - + + {/* - */} + + + + + +
diff --git a/cryptide_project/src/Pages/InfoPage.tsx b/cryptide_project/src/Pages/InfoPage.tsx new file mode 100644 index 0000000..34c2f93 --- /dev/null +++ b/cryptide_project/src/Pages/InfoPage.tsx @@ -0,0 +1,66 @@ +import React from 'react'; + +/* Style */ +import '../Style/Global.css'; + +import { FormattedMessage } from 'react-intl'; + +function InfoPage() { //! cette page n'affiche que des informations et est suceptible de changer selon le context. + + return ( + +
+

Informations

+ +

Indice possible :

+

+ couleur de cheveux d'une personne +

+
    +
  • + Possède les cheveux noir +
  • +
  • + Possède les cheveux roux +
  • +
  • + Possède les cheveux blond +
  • +
  • + Possède les cheveux brun +
  • +
  • + Possède les cheveux blanc +
  • +
+
+

+ Sport d'une personne +

+
    +
  • + Effectue du Foot ou du tennis +
  • +
  • + Effectue du rugby ou du tennis +
  • +
+

+ Caractèristique des voisins +

+
    +
  • + Possède deux voisins footballeur +
  • +
  • + Possède aucun voisin rugbyman +
  • +
+ +

Topographie

+

Legende des différents objet disponible sur la carte.

+
+ ); +} + +export default InfoPage;