diff --git a/cryptide_project/src/Components/NavBar.js b/cryptide_project/src/Components/NavBar.js index adf6e36..e3e499e 100644 --- a/cryptide_project/src/Components/NavBar.js +++ b/cryptide_project/src/Components/NavBar.js @@ -1,8 +1,17 @@ import React from 'react'; + +/* Naviagtion */ import { Navbar, Container, Nav, NavDropdown } from 'react-bootstrap'; + +/* Lang */ +import { FormattedMessage } from 'react-intl'; + +/* Icon */ import { BiLogInCircle } from 'react-icons/bi'; -import { BsFillPersonPlusFill } from 'react-icons/bs' +import { BsFillPersonPlusFill } from 'react-icons/bs'; +import { HiLanguage } from 'react-icons/hi2'; +/* Components */ import './NavBar.css'; function AppNavbar({ changeLocale }) { @@ -18,22 +27,34 @@ function AppNavbar({ changeLocale }) {
diff --git a/cryptide_project/src/Pages/Home.js b/cryptide_project/src/Pages/Home.js index 4f77db6..05ccbe4 100644 --- a/cryptide_project/src/Pages/Home.js +++ b/cryptide_project/src/Pages/Home.js @@ -13,21 +13,21 @@ function Home() {
-

L'HISTOIRE

+

-

LE JEU

+

-

LES +

+

    -
  • +
@@ -37,15 +37,15 @@ function Home() {
-

Temps : 45 minutes

-

Joueurs : 3 à 5 joueurs

-

Age : 10 ans et +

+

+

+

-------------------------------

-

Créé par :
Hal Duncan & Ruth Veevers

-

Illustré par :
Kwanchai Moriya

+


Hal Duncan & Ruth Veevers

+


Kwanchai Moriya

{/* */}
- Aller à la page Page2 +
); diff --git a/cryptide_project/src/Translations/en.json b/cryptide_project/src/Translations/en.json index 83bd120..acc8709 100644 --- a/cryptide_project/src/Translations/en.json +++ b/cryptide_project/src/Translations/en.json @@ -1,12 +1,30 @@ { - "languageSelector": { - "french": "French", - "english": "English" - }, - + "languageSelector.french": "French", + "languageSelector.english": "English", + + "home.histoire.title": "HISTORY", "home.histoire": "Cryptozoology studies the traces of legendary monsters: cryptids. Yetis, Chupacabra, beast of the gevaudan, Dahut, etc. , are very serious topics for you… Cross the clues and be the first to discover them!", + + "home.jeu.title": "THE GAME", "home.jeu": "Each player has a clue on the field where the creature is located. By cross-referencing your information, there can only be one box. But the goal is to be the first to find it. Ask your colleagues, and nevertheless competitors. They can only answer you by «no» or «maybe», with a lot of logic and a bit of audacity, you can enter the legend!", + + "home.plus.title": "STRENGTH", "home.plus.1": "A mind-blowing deduction mechanism.", "home.plus.2": "An immense replayability.", - "home.plus.3": "A surprising and strong theme." + "home.plus.3": "A surprising and strong theme.", + + "game.time": "Time : 45 minutes", + "game.players": "Players : 3 to 5 players", + "game.age": "Age: 10 years and over", + "game.createdBy": "Created By :", + "game.illustratedBy": "Illustrated By :", + + "log_in":" Log in ", + "sign_up":" Sign up ", + + "join" : "Join", + "create_room" : "Create room", + "play_solo" : "Single player", + + "play" : "PLAY" } \ No newline at end of file diff --git a/cryptide_project/src/Translations/fr.json b/cryptide_project/src/Translations/fr.json index 3f4fc3e..6f6ec71 100644 --- a/cryptide_project/src/Translations/fr.json +++ b/cryptide_project/src/Translations/fr.json @@ -2,9 +2,29 @@ "languageSelector.french": "Français", "languageSelector.english": "Anglais", + "home.histoire.title": "L'HISTOIRE", "home.histoire": "La cryptozoologie étudie les traces des monstres de légende : les cryptides. Yétis, Chupacabra, bête du gévaudan, Dahut, etc., sont des sujets très sérieux pour vous… Croisez les indices et soyez le premier à les découvrir!", + + "home.jeu.title": "LE JEU", "home.jeu": "Chaque joueur possède un indice sur le terrain où se trouve la créature. En recoupant vos informations, il ne peut y avoir qu'une case qui y corresponde. Mais le but est d'être le premier à la trouver. Interrogez vos collègues, et néanmoins concurrents. Ils ne peuvent vous répondre que par «non» ou «peut-être», avec beaucoup de logique et un brin d'audace, vous pourrez rentrer dans la légende!", + + "home.plus.title": "LES +", "home.plus.1": "Une mécanique de déduction époustouflante.", "home.plus.2": "Une rejouabilité immense.", - "home.plus.3": "Un thème surprenant et fort." -} \ No newline at end of file + "home.plus.3": "Un thème surprenant et fort.", + + "game.time": "Temps : 45 minutes", + "game.players": "Joueurs : 3 à 5 joueurs", + "game.age": "Âge : 10 ans et +", + "game.createdBy": "Créé par :", + "game.illustratedBy": "Illustré par :", + + "log_in":" Se connecter ", + "sign_up":" S'inscrire ", + + + "join" : "Rejoindre", + "create_room" : "Créer une partie", + "play_solo" : "Jouer seul", + "play" : "JOUER" +}