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

+ -