Skip to content

Commit

Permalink
fix(api): use real image in tutorial flashcards
Browse files Browse the repository at this point in the history
  • Loading branch information
clemlatz authored and dianeCdrPix committed Sep 23, 2024
1 parent 5fe6c4f commit df2eb15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
2 changes: 1 addition & 1 deletion mon-pix/app/components/module/element/flashcards.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default class ModulixFlashcards extends Component {
<div class="element-flashcards__card">
{{#if this.currentCardSide.image}}
<div class="element-flashcards-card__image">
<img src={{this.currentCardSide.image.url}} />
<img src={{this.currentCardSide.image.url}} alt="" />
</div>
{{/if}}

Expand Down

0 comments on commit df2eb15

Please sign in to comment.