Reverted forum style, used for genres now
This commit is contained in:
11
pages/forums/forums.go
Normal file
11
pages/forums/forums.go
Normal file
@ -0,0 +1,11 @@
|
||||
package forums
|
||||
|
||||
import (
|
||||
"github.com/aerogo/aero"
|
||||
"github.com/animenotifier/notify.moe/pages/forum"
|
||||
)
|
||||
|
||||
// Get ...
|
||||
func Get(ctx *aero.Context) string {
|
||||
return forum.Get(ctx)
|
||||
}
|
26
pages/forums/forums.pixy
Normal file
26
pages/forums/forums.pixy
Normal file
@ -0,0 +1,26 @@
|
||||
component Forums
|
||||
h2.forum-header Forum
|
||||
ForumTags
|
||||
|
||||
component ForumTags
|
||||
.forum-tags
|
||||
ForumCategory("All", "")
|
||||
span |
|
||||
ForumCategory("General", "/general")
|
||||
span |
|
||||
ForumCategory("News", "/news")
|
||||
span |
|
||||
ForumCategory("Anime", "/anime")
|
||||
span |
|
||||
ForumCategory("Updates", "/update")
|
||||
span |
|
||||
ForumCategory("Suggestions", "/suggestion")
|
||||
span |
|
||||
ForumCategory("Bugs", "/bug")
|
||||
|
||||
component ForumCategory(title string, suffix string)
|
||||
a.ajax(href="/forum" + suffix)= title
|
||||
//- a.grid-cell.ajax(href="/forum/" + category)
|
||||
//- .grid-text
|
||||
//- GridIcon(arn.GetForumIcon(category))
|
||||
//- span= title
|
Reference in New Issue
Block a user