feat: chart toggles

This commit is contained in:
Cory Dransfeldt 2024-04-05 09:09:43 -07:00
parent daf958c845
commit f5036cbdf3
No known key found for this signature in database
10 changed files with 153 additions and 40 deletions

View file

@ -14,8 +14,16 @@ tags: ['books', 'music', 'development', 'Eleventy']
<li><a href="https://www.last.fm/user/coryd_">I listened to a bunch of music</a></li>
<li><a href="https://trakt.tv/users/cdransf">I watched a bunch of movies and TV</a>, but picking favorites feels weird when so much of that consisted of catching up on "classics" and things I'd either ignored or never seen.</li>
</ul>
{% render "partials/now/media-grid.liquid", data:roundups['2023'].books, icon: "books", title: "Favorite books", shape: "vertical", count: 6, embeddedStyles: true %}
{% render "partials/now/media-grid.liquid", data:roundups['2023'].albums, icon: "vinyl", title: "Favorite albums", shape: "square", count: 8 %}
<h2 class="now__section--header flex--centered">
{% tablericon "books" "Favorite books" %}
Favorite books
</h2>
{% render "partials/now/media-grid.liquid", data:roundups['2023'].books, shape: "vertical", count: 6, embeddedStyles: true %}
<h2 class="now__section--header flex--centered">
{% tablericon "vinyl" "Favorite albums" %}
Favorite books
</h2>
{% render "partials/now/media-grid.liquid", data:roundups['2023'].albums, shape: "square", count: 8 %}
<p><strong><a href="https://coryd.dev">I wrote some things:</a></strong></p>
<ul>