Skip to content

Commit

Permalink
Merge pull request #94 from github/design-unification
Browse files Browse the repository at this point in the history
Design unification with training.github.com
  • Loading branch information
Jordan McCullough committed Apr 22, 2014
2 parents 3a81bf0 + 0a59f0c commit 5b2833b
Show file tree
Hide file tree
Showing 26 changed files with 2,290 additions and 606 deletions.
4 changes: 1 addition & 3 deletions _includes/license.html
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
<div class="license">
<a href="../license.html">Shared with the community under a Creative Commons license</a>
</div>
<a href="../license.html">Shared with the community under a Creative Commons license</a>
43 changes: 29 additions & 14 deletions _includes/navigation.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,29 @@
<section class="colorful">
<nav>
<hgroup>
<a href="https://training.github.com">
<span class="mega-octicon octicon-logo-github"></span>
<span class="logo-training"></span>
</a>
</hgroup>
<ul>
<li><a href="../">Materials</a></li>
<li><a class="button" href="https://training.github.com">Join an Event</a></li>
</ul>
</nav>
</section>
<header class="colorful">
<div class="container">
<h1 id="logo" class="content">
<a href="{{ site.url }}/" data-escp="">GitHub Training</a>
</h1>
<nav id="nav">
<ul class="content">
<li>
<a href="https://training.github.com/trainers/">Trainers</a>
</li>
<li>
<a href="https://training.github.com/web/">Web-based</a>
</li>
<li>
<a href="https://training.github.com/in-person/">In-person</a>
</li>
<li class="current">
<a href="https://training.github.com/kit/">Kit</a>
</li>
<li>
<a href="https://training.github.com/resources/">Resources</a>
</li>
<li>
<a href="https://training.github.com/contact/">Contact</a>
</li>
</ul>
</nav>
</div>
</header>
4 changes: 1 addition & 3 deletions _layouts/bare.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@
{% endif %}
</head>
<body>
{% if page.path != "index.html" %}
{% include navigation.html %}
{% endif %}
{% include navigation.html %}

{{ content }}
</body>
Expand Down
21 changes: 21 additions & 0 deletions _layouts/license.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
layout: bare
---

<section class="hero overview">
<div class="container">
<div class="content">
<h2>{{ page.title }}</h2>
<p>&nbsp;</p>
</div>
</div>
</section>


<section>
<div class="container">
{{ content }}
</div>
</section>

{% include footer.html %}
14 changes: 5 additions & 9 deletions _layouts/workbook.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,12 @@
theme: workbook
---

<section class="hero center">
<section class="hero overview">
<div class="container">
<!-- <span class="octicon octicon-book"></span> -->
<h1>{{ page.title }}</h1>
{% include license.html %}

{% if page.description %}
<br/>
<div class="description">{{ page.description }}</div>
{% endif %}
<div class="content">
<h2>{{ page.title }}</h2>
<p>{% include license.html %}</p>
</div>
</div>
</section>

Expand Down
Loading

0 comments on commit 5b2833b

Please sign in to comment.