Skip to content

Commit

Permalink
adds screenshot of initial faces tessellation [WiP] #4
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonic committed Sep 1, 2015
1 parent 497dd7d commit 0560be0
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

The *answer* to ***Who is (working on) dwyl?***

![who WiP](https://cloud.githubusercontent.com/assets/194400/9602290/1fbf39b6-509f-11e5-9d0b-4bc5bc49a127.png)

## *Why*?

The [**start-here** > ***who***](https://github.com/dwyl/start-here/tree/8bbd28d2ab0c3b5a2a266a1e41fd160fc6ee3038#who) section is *woefully* out of date.
Expand Down
50 changes: 50 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<html lang=”en-GB”>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<title>dwyl - Who?</title>
<!--FontAwesome-->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<!-- Adding google fonts -->
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300%7COpen+Sans+Condensed:300' rel='stylesheet' type='text/css'>

<!--favicon -->
<link rel="shortcut icon" href="http://www.dwyl.io/images/favicon.ico" type="image/x-icon" />
</head>
<body>
<div id="main-content">
<h1>Who?</h1>
<header>
</header>

<ul id='faces'>

</ul>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script>
var html = '';
$.get('/people/z_people.json', function(data){
// console.log(data);
data.forEach(function(person){
console.log(person.avatar);
html += '<li class="avatar">'
html += '<img src="' +person.avatar + '" />'
html += '</li>'
})
$('#faces').append(html);
})
</script>

<style>
.avatar {
float: left;
}
.avatar img {
width: 100px;
padding: 1px;
border-radius: 5px;
}
</style>

</body>
</html>
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"name": "whom",
"version": "1.0.0",
"version": "1.0.1",
"description": "Who are the people making dwyl?",
"main": "index.js",
"scripts": {
"start": "./node_modules/.bin/nodemon static-server.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
Expand All @@ -20,6 +21,9 @@
},
"homepage": "https://github.com/nelsonic/who#readme",
"dependencies": {
"github-scraper": "^3.0.21"
"github-scraper": "^3.0.21",
"hapi": "^9.0.3",
"inert": "^3.0.1",
"nodemon": "^1.4.1"
}
}

0 comments on commit 0560be0

Please sign in to comment.