From 7d419c1615e5d374c22789b875c6cc74bd7554e6 Mon Sep 17 00:00:00 2001 From: Matt Lott Date: Mon, 24 Aug 2015 06:11:11 -0700 Subject: [PATCH] Courses UI: add screenshot to landing page course blocks --- app/styles/courses/mock1/courses.sass | 4 ++++ app/templates/courses/mock1/courses.jade | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/app/styles/courses/mock1/courses.sass b/app/styles/courses/mock1/courses.sass index 41d6f2f17..c3efb70b1 100644 --- a/app/styles/courses/mock1/courses.sass +++ b/app/styles/courses/mock1/courses.sass @@ -5,6 +5,10 @@ .code-input width: 100% + + .course-image + width: 100% + .course-panel margin: 20px diff --git a/app/templates/courses/mock1/courses.jade b/app/templates/courses/mock1/courses.jade index 6d0f40aff..ea02d713f 100644 --- a/app/templates/courses/mock1/courses.jade +++ b/app/templates/courses/mock1/courses.jade @@ -95,6 +95,10 @@ mixin course-block(course, courseID) strong #{course.unlocked ? '[ enrolled ]' : ''} .panel-body .container-fluid + .row + .col-md-12 + p + img.course-image(src="#{course.image}") .row.button-row .col-md-6 strong Topics