Skip to content
This repository has been archived by the owner on Nov 10, 2020. It is now read-only.

Commit

Permalink
Merge pull request #2453 from 18F/staging
Browse files Browse the repository at this point in the history
Release to production
  • Loading branch information
Corey Mahoney authored Nov 16, 2017
2 parents aefa0af + 6c43680 commit 922b892
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 17 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# A sample Gemfile

source "https://rubygems.org"

raise 'Need ruby > 2.1 to run' unless RUBY_VERSION.to_f > 2.1
Expand Down
7 changes: 5 additions & 2 deletions _includes/google_analytics.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
<!-- Digital Analytics Program roll-up, see the data at https://analytics.usa.gov -->
<script src="https://dap.digitalgov.gov/Universal-Federated-Analytics-Min.js" id="_fed_an_ua_tag"></script>


{% assign ga_id = site.google_analytics[site.branch]|default:site.google_analytics.default %}
{% if ga_id %}
<script>
// Google Analytics
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

ga('create', '{{ include.id }}', 'auto');
ga('create', '{{ ga_id }}', 'auto');
ga('set', 'anonymizeIp', true);
ga('set', 'forceSSL', true);
ga('send', 'pageview');
</script>
{% endif %}

<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
Expand Down
2 changes: 1 addition & 1 deletion _sass/_variables.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@import 'lib/font-awesome/font-awesome/variables';

// Logos
$eiti-logo-width: 250px;
$nrrd-logo-width: 220px;

// Typography
$weight-light: 300; // (Lato Light) use
Expand Down
20 changes: 10 additions & 10 deletions _sass/blocks/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

header,
.header {
margin-top: $base-padding-base;
margin-top: $base-padding;
}

.header-image_link {
Expand All @@ -38,22 +38,22 @@ header,

.header-image {
max-width: 316px;
width: $eiti-logo-width;
width: $nrrd-logo-width;

@include respond-to(medium-up) {
width: auto;
}
}

.header-left {
@include span-columns(6);
margin-bottom: $base-padding;

@include respond-to(medium-up) {
@include span-columns(3);
margin-bottom: 0;
margin-top: 2rem;
}
@include span-columns(6);
margin-bottom: $base-padding-base;

@include respond-to(medium-up) {
@include span-columns(3);
margin-bottom: 0;
margin-top: 2rem;
}
}

.header-right {
Expand Down
Binary file modified img/favicon-16x16.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/favicon-32x32.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/favicon.ico
100644 → 100755
Binary file not shown.
6 changes: 3 additions & 3 deletions pages/404.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ subtitle: Page not found

<script>
(function(){
var redirectMessage = function( oldPath, newPath, pathname, remainingDelay ) {
var redirectMessage = function( newPath, pathname, remainingDelay ) {
return (
'No page found at <a href="' + oldPath.href + '">' + oldPath.pathname + '</a>.<br />' +
'No page found.<br />' +
'Automatically redirecting to <a href="' + newPath + '">' + pathname + '</a> ' +
'in ' + remainingDelay + ' seconds.'
);
Expand Down Expand Up @@ -40,7 +40,7 @@ var countDown = function( seconds ) {
document.location.replace( nextLocation );
}

additionalMessage.innerHTML = redirectMessage( path, nextLocation, parentPath || '/', seconds );
additionalMessage.innerHTML = redirectMessage( nextLocation, parentPath || '/', seconds );
setTimeout( countDown.bind( this, seconds - 1 ), 1000 );
}

Expand Down

0 comments on commit 922b892

Please sign in to comment.