refactor: Change views

This commit is contained in:
Khaled Garbaya
2017-09-21 14:54:43 +02:00
committed by Benedikt Rötsch
parent 3f6efdf750
commit 3373ff282d
18 changed files with 250 additions and 22 deletions

5
views/about.pug Normal file
View File

@@ -0,0 +1,5 @@
extends layout
block content
h1= title
p Welcome to #{title}

5
views/categories.pug Normal file
View File

@@ -0,0 +1,5 @@
extends layout
block content
h1= title
p Welcome to #{title}

View File

@@ -0,0 +1,5 @@
extends layout
block content
h1= title
p Welcome to #{title}

View File

@@ -1,5 +1,11 @@
extends layout
block content
h1= title
p Welcome to #{title}
.container
section.hero
.hero__image
.featured-cards-list
.featured-cards__list
.featured-cards__list
.featured-cards__list

View File

@@ -4,4 +4,22 @@ html
title= title
link(rel='stylesheet', href='/stylesheets/style.css')
body
header
.header__navbar--logo
a.logo--link(href='#') Contentful University
.header__navbar--navigation
nav
ul
li
a.button--navigation(href='/') Home
li
a.button--navigation(href='/courses') Courses
li
a.button--navigation(href='/categories') Categories
li
a.button--navigation(href='/about') About
li
a.button--navigation(href='/settings') Settings
li
a.button--navigation(href='/sitemap') Sitemap
block content

5
views/settings.pug Normal file
View File

@@ -0,0 +1,5 @@
extends layout
block content
h1= title
p Welcome to #{title}

5
views/sitemap.pug Normal file
View File

@@ -0,0 +1,5 @@
extends layout
block content
h1= title
p Welcome to #{title}