rolexx commited on
Commit
d42550b
1 Parent(s): 2844670
src/components/accusation/Accusation.tsx CHANGED
@@ -39,7 +39,7 @@ const AccusationScene: FC<AccusationSceneProps> = ({
39
  {/* Description */}
40
  <div>
41
  <h2 className="text-4xl font-bold text-white mb-4 roboto-slab">
42
- {language === 'fr' ? "Chef d'accusation" : language === 'en' ? 'Accusation' : 'Acusaci贸n'}
43
  </h2>
44
  <p className="text-xl text-white roboto-slab">
45
  {story?.accusation.description}
@@ -63,7 +63,7 @@ const AccusationScene: FC<AccusationSceneProps> = ({
63
  onClick={setNextScene}
64
  className="px-8 py-4 text-xl font-bold text-white bg-blue-600 rounded-lg hover:bg-blue-700 transition-colors roboto-slab"
65
  >
66
- {language === 'fr' ? 'Continuer' : language === 'en' ? 'Continue' : 'Continuar'}
67
  </button>
68
  </div>
69
  </div>
 
39
  {/* Description */}
40
  <div>
41
  <h2 className="text-4xl font-bold text-white mb-4 roboto-slab">
42
+ {language === 'fr' ? "Chef d'accusation" : language === 'en' ? 'Indictment' : 'Acusaci贸n'}
43
  </h2>
44
  <p className="text-xl text-white roboto-slab">
45
  {story?.accusation.description}
 
63
  onClick={setNextScene}
64
  className="px-8 py-4 text-xl font-bold text-white bg-blue-600 rounded-lg hover:bg-blue-700 transition-colors roboto-slab"
65
  >
66
+ {language === 'fr' ? 'Allez au tribunal !' : language === 'en' ? 'Go to court!' : '隆A los tribunales!'}
67
  </button>
68
  </div>
69
  </div>
src/components/menu/Menu.tsx CHANGED
@@ -30,24 +30,24 @@ const MenuScene: FC<MenuSceneProps> = ({ setLanguage, setNextScene }) => {
30
  {/* Contenu du menu avec un fond semi-transparent */}
31
  <div className="relative z-10 flex flex-col items-end justify-center h-full w-full">
32
  <div className="flex flex-col gap-10 mr-[20vw]">
33
- <button
34
- onClick={() => handleLanguageSelect('fr')}
35
- className="text-8xl text-white roboto-slab hover:text-sky-500 transition-colors"
36
- >
37
- Fran莽ais
38
- </button>
39
- <button
40
- onClick={() => handleLanguageSelect('en')}
41
- className="text-8xl text-white roboto-slab hover:text-sky-500 transition-colors"
42
- >
43
- English
44
- </button>
45
- <button
46
- onClick={() => handleLanguageSelect('es')}
47
- className="text-8xl text-white roboto-slab hover:text-sky-500 transition-colors"
48
- >
49
- Espa帽ol
50
- </button>
51
  </div>
52
  </div>
53
  </div>
 
30
  {/* Contenu du menu avec un fond semi-transparent */}
31
  <div className="relative z-10 flex flex-col items-end justify-center h-full w-full">
32
  <div className="flex flex-col gap-10 mr-[20vw]">
33
+ <button
34
+ onClick={() => handleLanguageSelect('en')}
35
+ className="text-8xl text-white roboto-slab hover:text-sky-500 transition-colors"
36
+ >
37
+ English
38
+ </button>
39
+ <button
40
+ onClick={() => handleLanguageSelect('fr')}
41
+ className="text-8xl text-white roboto-slab hover:text-sky-500 transition-colors"
42
+ >
43
+ Fran莽ais
44
+ </button>
45
+ <button
46
+ onClick={() => handleLanguageSelect('es')}
47
+ className="text-8xl text-white roboto-slab hover:text-sky-500 transition-colors"
48
+ >
49
+ Espa帽ol
50
+ </button>
51
  </div>
52
  </div>
53
  </div>