From da9969a82c9963c75c1b13ee44ccbb020c6bf235 Mon Sep 17 00:00:00 2001 From: Sindre Kjelsrud Date: Thu, 9 May 2024 23:04:58 +0200 Subject: [PATCH] :sparkles: add books on the shelf in library Signed-off-by: Sindre Kjelsrud --- src/pages/logs/books.astro | 15 +++++++++++---- src/styles/global.css | 3 ++- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/src/pages/logs/books.astro b/src/pages/logs/books.astro index 7430ef8..2c3d5e5 100644 --- a/src/pages/logs/books.astro +++ b/src/pages/logs/books.astro @@ -34,11 +34,18 @@ const today = new Date();

πŸ“š ΒΏDΓ³nde estΓ‘ la biblioteca?

-

{today.getFullYear()} - Currently Reading:

-

πŸ“– Maskiner som tenker

- {sortedYears.map(year => ( +

on the shelf

+
    +
  • πŸ“š Dune
  • +
  • πŸ“š The Intelligent Investor (NO)
  • +
  • πŸ“š The Summit of The Gods: Vol.3 - Vol.5
  • +
  • πŸ“š Star Wars: The Tales of Kenobi
  • +
+

on the nightstand

+

πŸ“– Maskiner som tenker

+ {sortedYears.map(year => (
-
{year} - Finished

({booksByYear[year].length} entries)

+
{year}

({booksByYear[year].length} entries)

    { booksByYear[year].map((book) => ( diff --git a/src/styles/global.css b/src/styles/global.css index bbba801..33b8a1f 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -110,6 +110,7 @@ p { .borderbottom { border-bottom-width: 2px; border-color: var(--dark-3); + font-size: large; } .dark .borderbottom { @@ -210,4 +211,4 @@ blockquote { .dark blockquote { padding: 0 0 0 10px; border-left: 5px solid var(--light-1); -} \ No newline at end of file +}