Skip to content

Commit

Permalink
Tweaks for mobile view
Browse files Browse the repository at this point in the history
  • Loading branch information
thechubbypanda committed Jun 19, 2024
1 parent 0cf5e36 commit 117c57c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions views/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import (

func Root(user *spotify.PrivateUser, count int, err error) g.Node {
return Page(
Div(Class("flex flex-col items-center justify-center h-screen gap-6"),
Div(Class("flex flex-col items-center justify-center h-screen gap-6 p-8"),
Div(Class("flex flex-col items-center gap-2"),
H1(Class("text-3xl font-bold"), g.Text("Syncify")),
P(Class("text-lg text-gray-600"), g.Text("Sync your Spotify 'Liked Songs' playlist to a sharable one.")),
P(Class("text-lg text-gray-600 text-center"), g.Text("Sync your Spotify 'Liked Songs' playlist to a sharable one.")),
UserText(user),
),
Buttons(user),
Expand Down Expand Up @@ -76,5 +76,5 @@ func Outcome(count int, err error) g.Node {
} else {
o = g.Text("Successfully synchronized " + strconv.Itoa(count) + " tracks to your Syncify playlist")
}
return Div(ID("outcome"), Class("text-gray-500"), o)
return Div(ID("outcome"), Class("text-gray-500 text-center"), o)
}

0 comments on commit 117c57c

Please sign in to comment.