Updated VS Code search settings and popular anime page
This commit is contained in:
@ -16,5 +16,5 @@ func Get(ctx *aero.Context) string {
|
||||
return ctx.Error(http.StatusInternalServerError, "Error fetching popular anime", err)
|
||||
}
|
||||
|
||||
return ctx.HTML(components.AnimeGrid(animeList))
|
||||
return ctx.HTML(components.PopularAnime(animeList))
|
||||
}
|
||||
|
6
pages/popularanime/popular.pixy
Normal file
6
pages/popularanime/popular.pixy
Normal file
@ -0,0 +1,6 @@
|
||||
component PopularAnime(animeList []*arn.Anime)
|
||||
h2 Top 3
|
||||
AnimeGrid(animeList[:3])
|
||||
|
||||
h2 Popular
|
||||
AnimeGrid(animeList[3:])
|
Reference in New Issue
Block a user