Reverted forum style, used for genres now

This commit is contained in:
2016-11-20 03:02:33 +09:00
parent e17f377dc6
commit 9794a09f12
17 changed files with 127 additions and 70 deletions

11
pages/forums/forums.go Normal file
View 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
View 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