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.
This commit is contained in:
2026-08-06 08:01:33 -04:00
parent 9ef6c5b6ed
commit 9165c4eb3f
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -144,7 +144,7 @@ templ BookCard(item handlers.BookInfo) {
aria-label={ "Resolve progress conflict for " + item.Title } aria-label={ "Resolve progress conflict for " + item.Title }
title="Resolve progress conflict" title="Resolve progress conflict"
> >
@Icon("play", "h-5 w-5 translate-x-0.5") @Icon("book-open", "h-5 w-5")
</a> </a>
} else { } else {
<a <a
@@ -153,7 +153,7 @@ templ BookCard(item handlers.BookInfo) {
aria-label={ "Read " + item.Title } aria-label={ "Read " + item.Title }
title="Read" title="Read"
> >
@Icon("play", "h-5 w-5 translate-x-0.5") @Icon("book-open", "h-5 w-5")
</a> </a>
} }
</div> </div>
+2 -2
View File
@@ -483,7 +483,7 @@ func BookCard(item handlers.BookInfo) templ.Component {
if templ_7745c5c3_Err != nil { if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err 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 { if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err return templ_7745c5c3_Err
} }
@@ -522,7 +522,7 @@ func BookCard(item handlers.BookInfo) templ.Component {
if templ_7745c5c3_Err != nil { if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err 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 { if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err return templ_7745c5c3_Err
} }