diff --git a/mixins/Sidebar.pixy b/mixins/Sidebar.pixy index 2b0afda3..eaea54a8 100644 --- a/mixins/Sidebar.pixy +++ b/mixins/Sidebar.pixy @@ -5,7 +5,11 @@ component Sidebar(user *arn.User) else img.user-image.lazy(data-src="/images/brand/64", alt="Anime Notifier") - SidebarButton("Home", "/", "home") + if user != nil + SidebarButton("Home", "/animelist/watching", "home") + else + SidebarButton("Home", "/", "home") + SidebarButton("Forum", "/forum", "comment") SidebarButton("Explore", "/explore", "th") SidebarButton("Artworks", "/artworks", "paint-brush") diff --git a/pages/home/home.go b/pages/home/home.go index 1766a40d..1a31d48a 100644 --- a/pages/home/home.go +++ b/pages/home/home.go @@ -1,8 +1,6 @@ package home import ( - "github.com/animenotifier/arn" - "github.com/aerogo/aero" "github.com/animenotifier/notify.moe/pages/frontpage" "github.com/animenotifier/notify.moe/utils" @@ -16,5 +14,6 @@ func Get(ctx *aero.Context) string { return frontpage.Get(ctx) } - return AnimeList(ctx, user, arn.AnimeListStatusWatching) + return ctx.Redirect("/animelist/watching") + //return AnimeList(ctx, user, arn.AnimeListStatusWatching) }