basic styling

This commit is contained in:
Benedikt Rötsch
2017-09-26 17:07:58 +02:00
parent 200a8ae2f1
commit c650dd3f1c
23 changed files with 1380 additions and 188 deletions

View File

@@ -3,9 +3,18 @@ extends layout
include mixins/_courseCard
block content
ul
each category in categories
li
a(href=`/courses/categories/${category.sys.id}`) #{category.fields.title}
each course in courses
+courseCard(course)
.wrapper.wrapper-with-sidebar
section.wrapper__sidebar
h2 Categories
.sidebar-menu
ul
li
a.active(href=`/courses`) All courses
each category in categories
li
a(href=`/courses/categories/${category.sys.id}`) #{category.fields.title}
section.wrapper__content
h1= title
.courses.grid-list-small
each course in courses
+courseCard(course)