From df2eb15eecc20b4d517f8ca014353bb0a2873f1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Latzarus?= Date: Mon, 23 Sep 2024 15:31:18 +0200 Subject: [PATCH] fix(api): use real image in tutorial flashcards --- .../learning-content/modules/didacticiel-modulix.json | 4 ++-- mon-pix/app/components/module/element/flashcards.gjs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api/src/devcomp/infrastructure/datasources/learning-content/modules/didacticiel-modulix.json b/api/src/devcomp/infrastructure/datasources/learning-content/modules/didacticiel-modulix.json index a9ea3816ee..60eb8c814e 100644 --- a/api/src/devcomp/infrastructure/datasources/learning-content/modules/didacticiel-modulix.json +++ b/api/src/devcomp/infrastructure/datasources/learning-content/modules/didacticiel-modulix.json @@ -57,13 +57,13 @@ "id": "e1de6394-ff88-4de3-8834-a40057a50ff4", "recto": { "image": { - "url": "https://example.org/image.jpeg" + "url": "https://images.pix.fr/modulix/bien-ecrire-son-adresse-mail-explication-les-parties-dune-adresse-mail.svg" }, "text": "A quoi sert l'arobase dans mon adresse email ?" }, "verso": { "image": { - "url": "https://example.org/image.jpeg" + "url": "https://images.pix.fr/modulix/bien-ecrire-son-adresse-mail-explication-les-parties-dune-adresse-mail.svg" }, "text": "Parce que c'est joli" } diff --git a/mon-pix/app/components/module/element/flashcards.gjs b/mon-pix/app/components/module/element/flashcards.gjs index f588541c23..99d73995af 100644 --- a/mon-pix/app/components/module/element/flashcards.gjs +++ b/mon-pix/app/components/module/element/flashcards.gjs @@ -29,7 +29,7 @@ export default class ModulixFlashcards extends Component {
{{#if this.currentCardSide.image}}
- +
{{/if}}