Update labs view and add a new project

This commit is contained in:
Quincy Larson
2016-03-11 23:14:21 -08:00
parent 4b6ec6f298
commit 7f85f84e47
2 changed files with 23 additions and 24 deletions

View File

@ -13,6 +13,13 @@
"description": "This d3.js-powered coding bootcamp cost calculator takes into account tuition, financing, lost wages and cost of living.", "description": "This d3.js-powered coding bootcamp cost calculator takes into account tuition, financing, lost wages and cost of living.",
"image": "https://qph.is.quoracdn.net/main-qimg-670d6a0c5b01f74138e777732994240f?convert_to_webp=true" "image": "https://qph.is.quoracdn.net/main-qimg-670d6a0c5b01f74138e777732994240f?convert_to_webp=true"
}, },
{
"camper": "martoncsikos",
"name": "Skill.bar",
"url": "http://www.skill.bar",
"description": "Learn. Gain points. Visualize your skills.",
"image": "http://i.imgur.com/URkqqb5.png"
},
{ {
"camper": "ericdouglas", "camper": "ericdouglas",
"name": "Open Source Society", "name": "Open Source Society",
@ -55,4 +62,4 @@
"description": "This leaderboard tracks the campers who have been most active (completing challenges, helping other campers) in the past 30 days.", "description": "This leaderboard tracks the campers who have been most active (completing challenges, helping other campers) in the past 30 days.",
"image": "http://i.imgur.com/4CrQfFi.png" "image": "http://i.imgur.com/4CrQfFi.png"
} }
] ]

View File

@ -1,25 +1,17 @@
extends ../layout extends ../layout
block content block content
.panel.panel-info h2.text-center Projects Created by Free Code Camp Campers
.panel-heading.text-center Projects Created by Free Code Camp Campers hr
.panel-body.text-left .row
.row .col-xs-12.col-sm-10.col-sm-offset-1
.col-xs-12.col-sm-10.col-sm-offset-1 for project in projects
for project in projects .spacer
.spacer .row
.row .col-xs-12.col-sm-3
.col-xs-12.col-sm-3 img.img-responsive(src=project.image)
img.img-responsive(src=project.image) .col-xs-12.col-sm-9.negative-15
.col-xs-12.col-sm-9.negative-15 h3
h3 a(href=project.url) #{project.name}
a(href=project.url) #{project.name} h4 by 
h4 by  a(href='/' + project.camper) #{project.camper}
a(href='/' + project.camper) #{project.camper} p= project.description
p= project.description
if !user
.spacer
.row
.col-xs-12.col-sm-8.col-sm-offset-2
a.btn.btn-cta.signup-btn.btn-block(href="/signin") Learn to code today (it's free)
.spacer