From 9165c4eb3fd7db38d9cafe227abaf551a3846c25 Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Thu, 6 Aug 2026 08:01:33 -0400 Subject: [PATCH] feat(ui): use a book-open icon for the card read action Swaps the play (triangle) icon for book-open on book cards, since the action is to start reading rather than play media. --- templates/dashboard.templ | 4 ++-- templates/dashboard_templ.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/dashboard.templ b/templates/dashboard.templ index 9c67c65..90906da 100644 --- a/templates/dashboard.templ +++ b/templates/dashboard.templ @@ -144,7 +144,7 @@ templ BookCard(item handlers.BookInfo) { aria-label={ "Resolve progress conflict for " + item.Title } title="Resolve progress conflict" > - @Icon("play", "h-5 w-5 translate-x-0.5") + @Icon("book-open", "h-5 w-5") } else { - @Icon("play", "h-5 w-5 translate-x-0.5") + @Icon("book-open", "h-5 w-5") } diff --git a/templates/dashboard_templ.go b/templates/dashboard_templ.go index bada048..5948b96 100644 --- a/templates/dashboard_templ.go +++ b/templates/dashboard_templ.go @@ -483,7 +483,7 @@ func BookCard(item handlers.BookInfo) templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = Icon("play", "h-5 w-5 translate-x-0.5").Render(ctx, templ_7745c5c3_Buffer) + templ_7745c5c3_Err = Icon("book-open", "h-5 w-5").Render(ctx, templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -522,7 +522,7 @@ func BookCard(item handlers.BookInfo) templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = Icon("play", "h-5 w-5 translate-x-0.5").Render(ctx, templ_7745c5c3_Buffer) + templ_7745c5c3_Err = Icon("book-open", "h-5 w-5").Render(ctx, templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err }