mirror of
https://github.com/discourse/discourse-rewind.git
synced 2025-07-07 14:22:12 +00:00
edits
This commit is contained in:
parent
2e4343fff4
commit
d970dbba68
@ -20,7 +20,7 @@ export default class ReadingTime extends Component {
|
|||||||
<div class="book">
|
<div class="book">
|
||||||
<img
|
<img
|
||||||
alt=""
|
alt=""
|
||||||
src="/plugins/discourse-rewind/images/books/978-0451524935.jpg"
|
src="/plugins/discourse-rewind/images/books/{{@report.data.isbn}}.jpg"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -8,7 +8,7 @@ export default class WordCards extends Component {
|
|||||||
<h2 class="rewind-report-title">Word Usage</h2>
|
<h2 class="rewind-report-title">Word Usage</h2>
|
||||||
<div class="rewind-report-container">
|
<div class="rewind-report-container">
|
||||||
{{#each-in @report.data as |word count|}}
|
{{#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}} />
|
<WordCard @word={{word}} @count={{count}} />
|
||||||
{{/each-in}}
|
{{/each-in}}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user