diff --git a/src/components/MDX/Challenges/Challenge.tsx b/src/components/MDX/Challenges/Challenge.tsx index 24e99541c..63289e89e 100644 --- a/src/components/MDX/Challenges/Challenge.tsx +++ b/src/components/MDX/Challenges/Challenge.tsx @@ -50,7 +50,7 @@ export function Challenge({ className="text-xl text-primary dark:text-primary-dark mb-2 mt-0 font-medium" id={currentChallenge.id}>
- {isRecipes ? 'Example' : 'Challenge'} {currentChallenge.order} of{' '} + {isRecipes ? 'Esempio' : 'Sfida'} {currentChallenge.order} di{' '} {totalChallenges} :
@@ -63,14 +63,14 @@ export function Challenge({
) : ( @@ -80,7 +80,7 @@ export function Challenge({ onClick={toggleSolution} active={showSolution}> {' '} - {showSolution ? 'Hide solution' : 'Show solution'} + {showSolution ? 'Nascondi soluzione' : 'Mostra soluzione'} ) )} @@ -94,7 +94,7 @@ export function Challenge({ )} onClick={handleClickNextChallenge} active> - Next {isRecipes ? 'Example' : 'Challenge'} + {isRecipes ? 'Prossimo Esempio' : 'Prossima Sfida'} )} @@ -104,12 +104,12 @@ export function Challenge({ {showSolution && (

- Solution + Soluzione

{currentChallenge.solution}
{hasNextChallenge && (