diff --git a/assets/css/tailwind.css b/assets/css/tailwind.css index a8d2078..f4edb12 100644 --- a/assets/css/tailwind.css +++ b/assets/css/tailwind.css @@ -18,6 +18,9 @@ .extra-sun-icon { @apply h-4 w-4 shrink-0 -mb-1 mr-2 text-primary; } + .grid-apps { + @apply grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 xl:grid-cols-6 gap-4; + } .extra-info { @apply text-xs truncate text-secondary; } diff --git a/handlers/app.handlers.go b/handlers/app.handlers.go index e723274..24e8fcc 100644 --- a/handlers/app.handlers.go +++ b/handlers/app.handlers.go @@ -45,5 +45,5 @@ func (bh *AppHandler) appHandler(c echo.Context) error { titlePage := bh.env.Title - return renderView(c, home.HomeIndex(titlePage, bh.env.Version, bookmarks, staticSystem, liveSystem, weather, home.Home(titlePage, bookmarks, staticSystem, liveSystem, weather))) + return renderView(c, home.HomeIndex(titlePage, bh.env.Version, home.Home(titlePage, bookmarks, staticSystem, liveSystem, weather))) } diff --git a/views/home/home.templ b/views/home/home.templ index b994566..3cbd574 100644 --- a/views/home/home.templ +++ b/views/home/home.templ @@ -30,7 +30,7 @@ templ Home(title string, bookmarks *services.Bookmarks, static *services.StaticI } -