This commit is contained in:
Jordan Vidrine 2025-01-09 09:27:58 -06:00
parent 2e4343fff4
commit d970dbba68
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ export default class ReadingTime extends Component {
<div class="book">
<img
alt=""
src="/plugins/discourse-rewind/images/books/978-0451524935.jpg"
src="/plugins/discourse-rewind/images/books/{{@report.data.isbn}}.jpg"
/>
</div>
</div>

View File

@ -8,7 +8,7 @@ export default class WordCards extends Component {
<h2 class="rewind-report-title">Word Usage</h2>
<div class="rewind-report-container">
{{#each-in @report.data as |word count|}}
{{! can we pass in an index here? This way inside word-card.gjs instead of random colors & images chosen, we just set them to be static }}
{{! can we pass in an index here? This way inside instead of random colors & images chosen, we just set them to be static }}
<WordCard @word={{word}} @count={{count}} />
{{/each-in}}
</div>