Renamed page to popularanime
This commit is contained in:
29
pages/popularanime/popular.go
Normal file
29
pages/popularanime/popular.go
Normal file
@ -0,0 +1,29 @@
|
||||
package popularanime
|
||||
|
||||
import (
|
||||
"github.com/aerogo/aero"
|
||||
)
|
||||
|
||||
// Get search page.
|
||||
func Get(ctx *aero.Context) string {
|
||||
// titleCount := 0
|
||||
// animeCount := 0
|
||||
|
||||
// // let info: any = await bluebird.props({
|
||||
// // popular: arn.db.get('Cache', 'popularAnime'),
|
||||
// // stats: arn.db.get('Cache', 'animeStats')
|
||||
// // })
|
||||
|
||||
// // return response.render({
|
||||
// // user,
|
||||
// // popularAnime: info.popular.anime,
|
||||
// // animeCount: info.stats.animeCount,
|
||||
// // titleCount: info.stats.titleCount,
|
||||
// // anime: null
|
||||
// // })
|
||||
|
||||
// popular, _ := arn.GetPopularCache()
|
||||
|
||||
// return ctx.HTML(components.Search(popular.Anime, titleCount, animeCount))
|
||||
return ctx.HTML("Coming soon.")
|
||||
}
|
Reference in New Issue
Block a user