Added a list of popular users and some small additions.

This commit is contained in:
David Coallier 2011-02-06 16:20:36 +00:00
parent d9340bbe23
commit 98b611d43b
3 changed files with 50 additions and 4 deletions

View File

@ -116,4 +116,12 @@ button#gen:hover {
cursor: pointer;
}
.yui-gb ul {
width: 80%;
}
.yui-gb {
margin-top: 10px;
margin-bottom: 10px;
padding-bottom: 10px;
}

View File

@ -93,6 +93,7 @@ var run = function() {
if (arr[i].fork !== false) {
return;
}
var popularity = arr[i].watchers + arr[i].forks;
sorted.push({position: i, popularity: popularity, info: arr[i]});
});

View File

@ -2,6 +2,7 @@
<div id="hd" role="banner"><h1>My Github Resume</h1></div>
<div id="bd" role="main">
<div class="yui-g">
<h2>Welcome!</h2>
<p>
As a software startup owner I really enjoy when people send us their
resumes and they include their github account so we can see tangible work they have done.
@ -16,17 +17,53 @@
<input id="username" type="text" value="Enter your github username and click on generate" />
<button type="button" id="gen">Generate</button>
</p>
<p><br /><br /></p>
<p><br /><br />
</div>
</div>
<div class="yui-g">
<h2>See some popular users</h2>
<div class="yui-gb">
<ul>
<li><a href="/?mxcl" title="Max Howell">Max Howell</a></li>
<li><a href="/?mojombo" title="Tom Preston-Werner">Tom Preston-Werner</a></li>
<li><a href="/?madrobby" title="Thomas Fuchs">Thomas Fuchs</a></li>
<li><a href="/?paulirish" title="Paul Irish">Paul Irish</a></li>
<li class=""><a href="/?michaeldv" title="Michael Dvorkin">Michael Dvorkin</a></li>
</ul>
</div>
<div class="yui-gb">
<ul>
<li><a href="/?mislav" title="Mislav Marohnić">Mislav Marohnić</a></li>
<li><a href="/?justinfrench" title="Justin French">Justin French</a></li>
<li><a href="/?ry" title="Ryan Dahl">Ryan Dahl</a></li>
<li><a href="/?joshuaclayton" title="Joshua Clayton">Joshua Clayton</a></li>
<li class=""><a href="/?defunkt" title="Chris Wanstrath">Chris Wanstrath</a></li>
</ul>
</div>
<br />
</div>
<div class="yui-g last">
<div class="yui-main">
<br /><br />
<h2>Notes, Information and Future features</h2>
<p>
This is the first version, please keep in mind that it only fetches your first 30 repositories for now. I am planning on adding
things as such as your most committed forks, most committed repositories and make the "My Popular Repositories" be built from
your complete list of repositories. The issue right now is say you have 37 repositories, this will only retrieve the first
30 repositories that were created. I'll put a note here when this is fixed or feel free to <a href="https://github.com/resume/resume.github.com">fork the page</a>,
make changes and send them back :-)
</p>
</div>
</p>
<p>
<br />
Another popular feature people are asking a lot is listing of the organizations. <strong>This is the next feature to be added</strong>.
<br /><br />
</p>
</div>
</div>
<div id="ft" role="contentinfo"><p>Brought to you by the brilliant mind of <a href="http://twitter.com/davidcoallier">@davidcoallier</a> &lt;/modesty&gt;</p></div>
</div>