From 69890c9b84e6e4fe353976e59a51681718839f8f Mon Sep 17 00:00:00 2001 From: Abigail Pain Date: Fri, 25 Jul 2025 19:30:09 +0100 Subject: [PATCH] Alter 5 files Update index.templ Update index_templ.go Update recentlyListened.go Update basePage.templ Update basePage_templ.go --- .../components/recentlyListened/index.templ | 52 +++-- .../recentlyListened/index_templ.go | 200 +++++++++++++++--- .../recentlyListened/recentlyListened.go | 41 +++- backseat/httpUtil/basePage.templ | 13 ++ backseat/httpUtil/basePage_templ.go | 39 +++- 5 files changed, 293 insertions(+), 52 deletions(-) diff --git a/backseat/components/recentlyListened/index.templ b/backseat/components/recentlyListened/index.templ index f539c36..e2e73ef 100644 --- a/backseat/components/recentlyListened/index.templ +++ b/backseat/components/recentlyListened/index.templ @@ -4,6 +4,7 @@ import ( "git.akpain.net/codemicro/backseat-music/backseat/httpUtil" "github.com/zmb3/spotify/v2" "strconv" + "encoding/json" ) func formatArtistNames(artists []spotify.SimpleArtist) string { @@ -41,7 +42,7 @@ templ indexPage() { } -
+