Skip to content

Commit

Permalink
Bugs en la ayuda
Browse files Browse the repository at this point in the history
  • Loading branch information
CANCI0 committed Apr 27, 2024
1 parent ca9a1d2 commit 4e47e2e
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 20 deletions.
1 change: 1 addition & 0 deletions webapp/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@
"category": "Category",
"descriptionC": "Description",
"gameModes": "Help: Game Modes",
"details": "Details",
"gameModesDescription": "In our application, we have 3 game modes to entertain you. In this section, we aim to address all your doubts.",
"socialHelp": "Help: Social",
"socialHelpDescription": "We have different ways to interact with other users. If you have any doubts about how to do it, this is your section.",
Expand Down
10 changes: 5 additions & 5 deletions webapp/src/pages/Ayuda/Ayuda.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ const Ayuda = () => {
<>
<Nav />
<Heading as="h1">{t('pages.help.title')}</Heading>
<Heading as="h2" size="md">
<Heading maxWidth={{base: "100%", lg:"40%"}} textAlign={"justify"} as="h2" size="md">
{t('pages.help.description')}
</Heading>
<Table className="help-table" id="help-table">
<Table maxWidth={{base: "100%", lg:"40%"}} className="help-table" id="help-table">
<Thead>
<Tr>
<Th>{t('pages.help.category')}</Th>
Expand All @@ -25,7 +25,7 @@ const Ayuda = () => {
<Tbody>
<Tr>
<Td>{t('pages.help.gameModes')}</Td>
<Td>
<Td textAlign={"justify"}>
{t('pages.help.gameModesDescription')}
</Td>
<Td>
Expand All @@ -34,7 +34,7 @@ const Ayuda = () => {
</Tr>
<Tr>
<Td>{t('pages.help.socialHelp')}</Td>
<Td>
<Td textAlign={"justify"}>
{t('pages.help.socialHelpDescription')}
</Td>
<Td>
Expand All @@ -43,7 +43,7 @@ const Ayuda = () => {
</Tr>
<Tr>
<Td>{t('pages.help.statsHelp')}</Td>
<Td>
<Td textAlign={"justify"}>
{t('pages.help.statsHelpDescription')}
</Td>
<Td>
Expand Down
8 changes: 4 additions & 4 deletions webapp/src/pages/Ayuda/AyudaEstadisticas.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { useTranslation } from 'react-i18next';
import { Heading} from '@chakra-ui/react';
import { Heading,Text } from '@chakra-ui/react';
import Nav from '../../components/Nav/Nav';
import Footer from '../../components/Footer/Footer';

Expand All @@ -12,10 +12,10 @@ const AyudaEstadisticas = () => {
<>
<Nav />
<Heading as="h2">{t('pages.helpStats.title')}</Heading>
<p>{t('pages.helpStats.description')}
</p>
<Text maxWidth={{base: "100%", lg:"40%"}} textAlign={"justify"}>{t('pages.helpStats.description')}
</Text>
<Heading as="h2">{t('pages.helpStats.title2')}</Heading>
<p>{t('pages.helpStats.description2')}</p>
<Text maxWidth={{base: "100%", lg:"40%"}} textAlign={"justify"}>{t('pages.helpStats.description2')}</Text>
<Footer />
</>
);
Expand Down
12 changes: 6 additions & 6 deletions webapp/src/pages/Ayuda/AyudaJuego.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { useTranslation } from 'react-i18next';
import { Heading} from '@chakra-ui/react';
import { Heading, Text} from '@chakra-ui/react';
import Nav from '../../components/Nav/Nav';
import Footer from '../../components/Footer/Footer';
const AyudaJuego = () => {
Expand All @@ -11,14 +11,14 @@ const AyudaJuego = () => {
<>
<Nav />
<Heading as="h1">{t('pages.helpGame.title')}</Heading>
<p>{t('pages.helpGame.description')}
</p>
<Text maxWidth={{base: "100%", lg:"40%"}} textAlign={"justify"}>{t('pages.helpGame.description')}
</Text>
<Heading as="h2" size="md">{t('pages.helpGame.classic')}</Heading>
<p>{t('pages.helpGame.classicDescription')}</p>
<Text maxWidth={{base: "100%", lg:"40%"}} textAlign={"justify"}>{t('pages.helpGame.classicDescription')}</Text>
<Heading as="h2" size="md">{t('pages.helpGame.sabios')}</Heading>
<p>{t('pages.helpGame.sabiosDescription')}</p>
<Text maxWidth={{base: "100%", lg:"40%"}} textAlign={"justify"}>{t('pages.helpGame.sabiosDescription')}</Text>
<Heading as="h2" size="md">{t('pages.helpGame.calculator')}</Heading>
<p>{t('pages.helpGame.calculatorDescription')}</p>
<Text maxWidth={{base: "100%", lg:"40%"}} textAlign={"justify"}>{t('pages.helpGame.calculatorDescription')}</Text>
<Footer />
</>
);
Expand Down
10 changes: 5 additions & 5 deletions webapp/src/pages/Ayuda/AyudaSocial.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { useTranslation } from 'react-i18next';

import { Heading} from '@chakra-ui/react';
import { Heading, Text} from '@chakra-ui/react';

import Nav from '../../components/Nav/Nav';
import Footer from '../../components/Footer/Footer';
Expand All @@ -14,12 +14,12 @@ const AyudaSocial = () => {
<>
<Nav />
<Heading as="h1">{t('pages.helpSocial.title')}</Heading>
<p>{t('pages.helpSocial.description')}
</p>
<Text maxWidth={{base: "100%", lg:"40%"}} textAlign={"justify"}>{t('pages.helpSocial.description')}
</Text>
<Heading as="h2" size="md">{t('pages.helpSocial.friends')}</Heading>
<p>{t('pages.helpSocial.description2')}</p>
<Text maxWidth={{base: "100%", lg:"40%"}} textAlign={"justify"}>{t('pages.helpSocial.description2')}</Text>
<Heading as="h2" size="md">{t('pages.helpSocial.groups')}</Heading>
<p>{t('pages.helpSocial.description3')}</p>
<Text maxWidth={{base: "100%", lg:"40%"}} textAlign={"justify"}>{t('pages.helpSocial.description3')}</Text>
<Footer />
</>
);
Expand Down

0 comments on commit 4e47e2e

Please sign in to comment.