From 38c02b1986341604ad08bd2cf9b75baa598af9d2 Mon Sep 17 00:00:00 2001 From: Adam French Date: Sun, 23 Nov 2025 22:47:57 +0000 Subject: [PATCH] new image size --- backend/main.go | 4 +- html/css/styles.css | 5 +++ html/index.html | 96 ++++++++++++++++++++++++--------------------- 3 files changed, 59 insertions(+), 46 deletions(-) diff --git a/backend/main.go b/backend/main.go index 235b4be..da29f85 100644 --- a/backend/main.go +++ b/backend/main.go @@ -35,9 +35,9 @@ func main() { clientSecret := os.Getenv("SPOTIFY_CLIENT_SECRET") spotifyConfig := services.SpotifyConfig{AuthState: authState, RedirectURL: redirectURL, ClientID: clientID, ClientSecret: clientSecret} - auth := services.InitSpotifyAuth(spotifyConfig) + auth, client := services.InitSpotifyAuth(spotifyConfig) - store := handlers.Store{DB: db, SpotifyAuth: auth, SpotifyClient: nil, SpotifyToken: nil} + store := handlers.Store{DB: db, SpotifyAuth: auth, SpotifyClient: client} r.GET("/posts", store.GetPosts) r.POST("/posts", store.CreatePost) diff --git a/html/css/styles.css b/html/css/styles.css index 9dc7081..11b75c9 100644 --- a/html/css/styles.css +++ b/html/css/styles.css @@ -32,3 +32,8 @@ h4 { width: 100%; background-color: beige; } + +.album-img { + width: 10vw; + height: 10vw; +} diff --git a/html/index.html b/html/index.html index 4add183..c0d8cab 100644 --- a/html/index.html +++ b/html/index.html @@ -7,26 +7,28 @@ > -

Shrines

+ -