diff --git a/src/locales/en/translation.json b/src/locales/en/translation.json
index 4995a53f..8565efde 100644
--- a/src/locales/en/translation.json
+++ b/src/locales/en/translation.json
@@ -331,6 +331,7 @@
"Male": "Male",
"Manufacturer": "Manufacturer",
"Manufacturer: {{manufacturer}}": "Manufacturer: {{manufacturer}}",
+ "Mark as completed": "",
"Media field must have at least {{num}} items": {
"BUGFORM_UPLOAD_ERROR_MINIMUMFILES": "You must upload at least {{num}} media for this campaign",
"BUGFORM_UPLOAD_ERROR_MINIMUMFILES_plural": "You must upload at least {{num}} media for this campaign"
@@ -500,6 +501,7 @@
"Tablet": "",
"Take me to the dashboard": "Let the adventure begin",
"Take part in the Basic Course and earn 200 experience points, they will be essential to increase the chances to be selected for the campaigns. You'll become an AppQuality world expert and you will receive the Linkedin Certification to show that you are a qualified member of the Community.": "Everything starts from here: only after completing the Basic TRYBER Course you will be eligible for the campaigns. And that is not all, you'll earn 200 experience points, get an overview of the world of TRYBER, be part of qualified members and receive a certification that you can share on LinkedIn. ",
+ "Task completed": "",
"Tax identification number": {
"Tax ID": "Tax ID Number"
},
diff --git a/src/locales/es/translation.json b/src/locales/es/translation.json
index 1f21ecca..5006ec71 100644
--- a/src/locales/es/translation.json
+++ b/src/locales/es/translation.json
@@ -331,6 +331,7 @@
"Male": "Masculino",
"Manufacturer": "Productor",
"Manufacturer: {{manufacturer}}": "Productor: {{manufacturer}}",
+ "Mark as completed": "",
"Media field must have at least {{num}} items": {
"BUGFORM_UPLOAD_ERROR_MINIMUMFILES": "Debes subir al menos {{num}} archivo para esta campaña",
"BUGFORM_UPLOAD_ERROR_MINIMUMFILES_plural": "Debes subir al menos {{num}} archivos para esta campaña"
@@ -500,6 +501,7 @@
"Tablet": "Tablet",
"Take me to the dashboard": "Que empiece la aventura",
"Take part in the Basic Course and earn 200 experience points, they will be essential to increase the chances to be selected for the campaigns. You'll become an AppQuality world expert and you will receive the Linkedin Certification to show that you are a qualified member of the Community.": "Todo comienza aquí: solo cuando hayas completado el Curso Básico TRYBER te invitaremos a partecipar en las campañas. Además, ganarás 200 puntos de experiencia, conocerás el mundo de TRYBER, te convertirás en un miembro cualificado y recibirás una certificación que podrás compartir en LinkedIn.",
+ "Task completed": "",
"Tax identification number": {
"Tax ID": "Número de identificación fiscal"
},
diff --git a/src/locales/fr/translation.json b/src/locales/fr/translation.json
index 2cac8c4d..d6ede096 100644
--- a/src/locales/fr/translation.json
+++ b/src/locales/fr/translation.json
@@ -331,6 +331,7 @@
"Male": "Homme",
"Manufacturer": "Fabricant",
"Manufacturer: {{manufacturer}}": "Fabricant : {{manufacturer}}",
+ "Mark as completed": "",
"Media field must have at least {{num}} items": {
"BUGFORM_UPLOAD_ERROR_MINIMUMFILES": "Vous devez télécharger au moins {{num}} médias pour cette campagne",
"BUGFORM_UPLOAD_ERROR_MINIMUMFILES_plural": "Vous devez télécharger au moins {{num}} médias pour cette campagne"
@@ -500,6 +501,7 @@
"Tablet": "Tablette",
"Take me to the dashboard": "Que l'aventure commence",
"Take part in the Basic Course and earn 200 experience points, they will be essential to increase the chances to be selected for the campaigns. You'll become an AppQuality world expert and you will receive the Linkedin Certification to show that you are a qualified member of the Community.": "Tout commence ici : ce n'est qu'après avoir complété le cours de base TRYBER que vous serez éligible pour les campagnes. Et ce n'est pas tout, vous gagnerez 200 points d'expérience, obtiendrez une vue d'ensemble du monde de TRYBER, ferez partie des membres qualifiés et recevrez une certification que vous pourrez partager sur LinkedIn.",
+ "Task completed": "",
"Tax identification number": {
"Tax ID": "Numéro d'identification fiscale"
},
diff --git a/src/locales/it/translation.json b/src/locales/it/translation.json
index 5af9d995..fd709fb4 100644
--- a/src/locales/it/translation.json
+++ b/src/locales/it/translation.json
@@ -331,6 +331,7 @@
"Male": "Uomo",
"Manufacturer": "Produttore",
"Manufacturer: {{manufacturer}}": "Produttore: {{manufacturer}}",
+ "Mark as completed": "",
"Media field must have at least {{num}} items": {
"BUGFORM_UPLOAD_ERROR_MINIMUMFILES": "Per questa campagna è necessario caricare almeno {{num}} file",
"BUGFORM_UPLOAD_ERROR_MINIMUMFILES_plural": "Per questa campagna è necessario caricare almeno {{num}} file"
@@ -500,6 +501,7 @@
"Tablet": "Tablet",
"Take me to the dashboard": "Comincia l'avventura",
"Take part in the Basic Course and earn 200 experience points, they will be essential to increase the chances to be selected for the campaigns. You'll become an AppQuality world expert and you will receive the Linkedin Certification to show that you are a qualified member of the Community.": "Tutto parte da qui: solo quando avrai completato il Corso Base TRYBER ti inviteremo a partecipare alle campagne. In più guadagnerai 200 punti esperienza, avrai una panoramica del mondo di TRYBER, farai parte dei membri qualificati e riceverai una certificazione che potrai condividere su LinkedIn.",
+ "Task completed": "",
"Tax identification number": {
"Tax ID": "Codice Fiscale"
},
diff --git a/src/pages/Manual/UseCases/index.tsx b/src/pages/Manual/UseCases/index.tsx
new file mode 100644
index 00000000..3b275e89
--- /dev/null
+++ b/src/pages/Manual/UseCases/index.tsx
@@ -0,0 +1,74 @@
+import {
+ Accordion,
+ Button,
+ Editor,
+} from "@appquality/appquality-design-system";
+import { useTranslation } from "react-i18next";
+import {
+ useGetUsersMeCampaignsByCampaignIdTasksQuery,
+ usePostUsersMeCampaignsByCampaignIdTasksAndTaskIdMutation,
+} from "src/services/tryberApi";
+import { styled } from "styled-components";
+
+const Todo = styled.span`
+ font-size: 0.6rem;
+ vertical-align: middle;
+ padding-right: 0.3rem;
+`;
+
+const UseCases = ({ id }: { id: string }) => {
+ const { t } = useTranslation();
+ const { data } = useGetUsersMeCampaignsByCampaignIdTasksQuery(
+ { campaignId: id },
+ { skip: !id }
+ );
+
+ const [updateTask] =
+ usePostUsersMeCampaignsByCampaignIdTasksAndTaskIdMutation();
+
+ if (!data) {
+ return