several small styling adjustments
This commit is contained in:
committed by
Benedikt Rötsch
parent
67fc0edf62
commit
e62c3d8bfd
@@ -16,8 +16,9 @@ block content
|
||||
li.sidebar-menu__item
|
||||
a.sidebar-menu__link(href=`/courses/categories/${category.sys.id}${queryString}`) #{category.fields.title}
|
||||
section.layout-sidebar__content
|
||||
h1= title
|
||||
.courses.grid-list
|
||||
each course in courses
|
||||
.grid-list__item
|
||||
+courseCard(course)
|
||||
.courses
|
||||
h1= title
|
||||
.grid-list
|
||||
each course in courses
|
||||
.grid-list__item
|
||||
+courseCard(course)
|
||||
|
||||
@@ -5,7 +5,7 @@ include mixins/_moduleHeroImage
|
||||
include mixins/_moduleHighlightedCourse
|
||||
|
||||
block content
|
||||
.container
|
||||
.modules-container
|
||||
each module in landingPage.fields.contentModules
|
||||
case module.sys.contentType.sys.id
|
||||
when 'landingPageModuleCopy'
|
||||
|
||||
@@ -66,9 +66,11 @@ html
|
||||
img(src='/images/badge-google-play.svg')
|
||||
.footer__lower
|
||||
.footer__disclaimer
|
||||
p
|
||||
span This website and the materials found on it are for demo purposes using Contentful. You can use this to preview the content created on your Contentful account.
|
||||
a(href='#todo') View details.
|
||||
img.footer__disclaimer-logo(src='/images/contentful-logo.svg')
|
||||
p.footer__disclaimer-text
|
||||
| This website and the materials found on it are for demo purposes using Contentful. You can use this to preview the content created on your Contentful account.
|
||||
a(href='#todo') View on Github
|
||||
| .
|
||||
.footer__social
|
||||
p
|
||||
a(href='https://www.facebook.com/contentful/' target='_blank')
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
mixin courseCard(course = {fields: {title: '', description: '', categories: [], slug: ''}})
|
||||
.course-card
|
||||
if(course.fields.categories)
|
||||
.course-card__categories
|
||||
.course-card__categories
|
||||
if(course.fields.categories)
|
||||
each category in course.fields.categories
|
||||
a.course-card__category(href=`/courses/categories/${category.sys.id}${queryString}`) #{category.fields.title}
|
||||
h2.course-card__title= course.fields.title
|
||||
|
||||
Reference in New Issue
Block a user