Skip to content

Commit

Permalink
fixing 404 page
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisfrommann committed May 17, 2016
1 parent 222e941 commit 1b7428b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="usa-grid">
<div class="usa-width-one-whole">
<div id="beta-notice" class="hidden-xs">
This site is in beta and a <a href="http://playbook.cio.gov">work in progress</a>
This site is in beta and a <a href="http://playbook.cio.gov" target="_blank">work in progress</a>
</div>
<img class="eop-seal" alt="An image of the presidential seal" src="img/layout/seal.png" />
<span class="hidden-xs">An official website of the </span>Executive Office of the President</span>
Expand Down
File renamed without changes
5 changes: 2 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<section class="jumbotron hidden-xs">
<div class="jumbotron-text">
<h1>
Building a more awesome<br />government through technology
Building a more <span id="everything-is-awesome">awesome</span><br />government through technology
</h1>
<h2>
The United States Digital Service is a startup at The White House, using design<br />
Expand All @@ -21,8 +21,7 @@ <h2>
</section>

<section class="mobile-lede hidden-sm hidden-md hidden-lg">
<img src="img/experts.jpg" alt="A photo of team members
in the Indian Treaty Room (photo credit: Fast Company)">
<img src="img/experts.jpg" alt="A photo of team members in the Indian Treaty Room (photo credit: Fast Company)">
<h2>
Building a more awesome government through technology
</h2>
Expand Down
11 changes: 11 additions & 0 deletions js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ $('#staff-member-carousel').slick({

var header = $('#fixed-header');
var headerCollapsed = false;
var awesomeCounter = 0;
$( document ).ready(function() {
$( window ).scroll(function() {
var scrollTopPos = $(window).scrollTop();
Expand Down Expand Up @@ -103,4 +104,14 @@ $( document ).ready(function() {
$( ".join-page .faqs li" ).has( "a[href$='#" + hash + "']" ).addClass('active');
});

$('#everything-is-awesome').on( "click", function() {
// Yes, there were more important things to get done, but everyone needs a mental break sometimes
if (awesomeCounter >= 10) {
window.open('https://www.youtube.com/watch?v=StTqXEQ2l-Y');
}
// Not yet awesome
awesomeCounter++;
});


});

0 comments on commit 1b7428b

Please sign in to comment.