mirror of
https://github.com/eduardolat/pgbackweb.git
synced 2026-02-18 03:18:27 -06:00
Refactor dashboard layout for improved sponsor visibility and adjust alignment
This commit is contained in:
@@ -155,11 +155,10 @@ func indexPage(
|
||||
|
||||
content := []nodx.Node{
|
||||
nodx.Div(
|
||||
nodx.Class("flex justify-center"),
|
||||
component.H1Text("Summary"),
|
||||
),
|
||||
nodx.Div(
|
||||
nodx.Class("mt-4 flex justify-center flex-wrap gap-4"),
|
||||
nodx.Class("mt-4 flex justify-start flex-wrap gap-4"),
|
||||
|
||||
countCard("Databases", databasesQty.All, ChartData{
|
||||
Label: "Quantity",
|
||||
@@ -200,6 +199,11 @@ func indexPage(
|
||||
),
|
||||
|
||||
indexHowTo(),
|
||||
|
||||
nodx.Div(
|
||||
nodx.Class("mt-6"),
|
||||
component.SupportProjectSponsors(),
|
||||
),
|
||||
}
|
||||
|
||||
return layout.Dashboard(reqCtx, layout.DashboardParams{
|
||||
|
||||
@@ -11,7 +11,7 @@ func indexHowTo() nodx.Node {
|
||||
return nodx.Div(
|
||||
alpine.XData("alpineSummaryHowToSlider()"),
|
||||
alpine.XCloak(),
|
||||
nodx.Class("mt-6 flex flex-col justify-center items-center mx-auto"),
|
||||
nodx.Class("mt-6"),
|
||||
|
||||
component.H2Text("How to use PG Back Web"),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user