refactor(assets): extract assets to their own repo
This commit is contained in:
@@ -29,11 +29,13 @@ block content
|
||||
h3.course__overview-title Overview
|
||||
if course.fields.duration
|
||||
.course__overview-item
|
||||
img.course__overview-icon(src='/images/icon-duration.svg')
|
||||
svg.course__overview-icon
|
||||
use(xlink:href='/icons/icons.svg#duration')
|
||||
.course__overview-value Duration: #{course.fields.duration} min
|
||||
if course.fields.skillLevel
|
||||
.course__overview-item
|
||||
img.course__overview-icon(src='/images/icon-skill-level.svg')
|
||||
svg.course__overview-icon
|
||||
use(xlink:href='/icons/icons.svg#skill-level')
|
||||
.course__overview-value Skill level: #{course.fields.skillLevel}
|
||||
.course__overview-cta-wrapper
|
||||
a.course__overview-cta.cta(href=`/courses/${course.fields.slug}/lessons/${course.fields.lessons[0].fields.slug}${queryString}`) Start course
|
||||
|
||||
@@ -19,14 +19,16 @@ html
|
||||
.header__upper.layout-centered
|
||||
.header__upper-first
|
||||
.header__title
|
||||
img(src='/images/icon-info.svg')
|
||||
svg.course__overview-icon
|
||||
use(xlink:href='/icons/icons.svg#info')
|
||||
span Example Application
|
||||
.header__upper-copy
|
||||
a(href=`/about${queryString}`) What is this?
|
||||
.header__upper-second
|
||||
.header__upper-copy
|
||||
a.header__upper-link(href='https://images.contentful.com/82t39nctsu20/1JOkYZnY8YG0w88ImweME2/c8aef71dfe1ea633e16e17d99379416c/Github-repo_2x__1_.png' target='_blank' rel='noopener')
|
||||
img.header__upper-icon(src='/images/icon-github.svg')
|
||||
svg.header__upper-icon
|
||||
use(xlink:href='/icons/icons.svg#github')
|
||||
| View on Github
|
||||
|
||||
.header__controls
|
||||
@@ -105,11 +107,9 @@ html
|
||||
.footer__social
|
||||
p
|
||||
a(href='https://www.facebook.com/contentful/' target='_blank' rel='noopener')
|
||||
img(src='/images/icon-facebook.svg' alt='Our Facebook profile')
|
||||
svg
|
||||
use(xlink:href='/icons/icons.svg#facebook')
|
||||
a(href='https://twitter.com/contentful' target='_blank' rel='noopener')
|
||||
img(src='/images/icon-twitter.svg' alt='Our Twitter profile')
|
||||
script(src='/scripts/highlight.pack.js')
|
||||
script(src='/scripts/textFit.min.js')
|
||||
script(src='/scripts/popper.min.js')
|
||||
script(src='/scripts/hoverintent.min.js')
|
||||
svg
|
||||
use(xlink:href='/icons/icons.svg#twitter')
|
||||
script(src='/scripts/index.js')
|
||||
|
||||
@@ -10,13 +10,13 @@ block content
|
||||
|
||||
if success
|
||||
.status-block.status-block--success
|
||||
img.status-block__icon(src='/images/icon-success.svg')
|
||||
img.status-block__icon(src='/images/success.svg')
|
||||
.status-block__content
|
||||
.status-block__title Changes saved successfully!
|
||||
|
||||
if hasErrors
|
||||
.status-block.status-block--error
|
||||
img.status-block__icon(src='/images/icon-error.svg')
|
||||
img.status-block__icon(src='/images/error.svg')
|
||||
.status-block__content
|
||||
.status-block__title Error occurred
|
||||
.status-block__message Some errors occurred. Please check the error messages next to the fields.
|
||||
|
||||
Reference in New Issue
Block a user