diff --git a/install/data/categories.json b/install/data/categories.json new file mode 100644 index 0000000000..d34c6ac0bc --- /dev/null +++ b/install/data/categories.json @@ -0,0 +1,74 @@ + [ + { + "name": "Announcements", + "description": "A place to talk about whateeeever you want", + "blockclass": "category-blue", + "icon" : "icon-bullhorn" + }, + { + "name": "General Discussion", + "description": "A place to talk about whateeeever you want", + "blockclass": "category-blue", + "icon" : "icon-comment" + }, + { + "name": "NodeBB Development", + "description": "Bugs? Dont worry, we dont read this thread, so post them here.", + "blockclass": "category-blue", + "icon" : "icon-github-alt" + }, + { + "name": "Blogs", + "description": "In future an example of how a hidden category should look like.", + "blockclass": "category-blue", + "icon" : "icon-pencil" + }, + { + "name": "Feature Requests", + "description": "In future an example of how a hidden category should look like.", + "blockclass": "category-purple", + "icon" : "icon-lightbulb" + }, + { + "name": "Bug Reports", + "description": "In future an example of how a hidden category should look like.", + "blockclass": "category-purple", + "icon" : "icon-cogs" + }, + { + "name": "Bug Reports", + "description": "In future an example of how a hidden category should look like.", + "blockclass": "category-purple", + "icon" : "icon-cogs" + }, + { + "name": "NodeBB Link Exchange", + "description": "In future an example of how a hidden category should look like.", + "blockclass": "category-purple", + "icon" : "icon-exchange" + }, + { + "name": "News", + "description": "In future an example of how a hidden category should look like.", + "blockclass": "category-darkblue", + "icon" : "icon-globe" + }, + { + "name": "Movies", + "description": "In future an example of how a hidden category should look like.", + "blockclass": "category-darkblue", + "icon" : "icon-film" + }, + { + "name": "Games", + "description": "In future an example of how a hidden category should look like.", + "blockclass": "category-darkblue", + "icon" : "icon-screenshot" + }, + { + "name": "Random", + "description": "In future an example of how a hidden category should look like.", + "blockclass": "category-darkblue", + "icon" : "icon-beer" + } +] \ No newline at end of file diff --git a/public/css/style.less b/public/css/style.less index 91443bc029..923a35a1b6 100644 --- a/public/css/style.less +++ b/public/css/style.less @@ -31,9 +31,15 @@ body { .block, .show { display: block; } +.badge { + vertical-align: 15%; +} +.nav .badge { + vertical-align: 10%; +} -@media (min-width: 979px) { - body { +@media (min-width: 979px) +{ body { padding-top: 70px; } } diff --git a/public/templates/home.tpl b/public/templates/home.tpl index b8b7b9692e..2afcff2270 100644 --- a/public/templates/home.tpl +++ b/public/templates/home.tpl @@ -4,7 +4,7 @@

Get NodeBB Fork us on Github - @dcplabs + dcplabs

@@ -12,7 +12,7 @@
-

{categories.name}

+

{categories.name} 3