From 0c71a870b54f761805306fdab541df428ee2cffb Mon Sep 17 00:00:00 2001 From: pglevy Date: Mon, 24 May 2021 18:03:20 -0400 Subject: [PATCH 1/6] experimenting with translate as secondary link in extended header --- _includes/foot.html | 2 +- _includes/navigation-extended.html | 58 ++++++++++++++++++++++++++++++ _includes/svg-sprite.html | 3 ++ _layouts/product.html | 2 +- assets/css/custom.css | 4 +++ 5 files changed, 67 insertions(+), 2 deletions(-) create mode 100644 _includes/navigation-extended.html create mode 100644 _includes/svg-sprite.html diff --git a/_includes/foot.html b/_includes/foot.html index 963ef9f..125d1b4 100644 --- a/_includes/foot.html +++ b/_includes/foot.html @@ -7,5 +7,5 @@ - +{% include svg-sprite.html %} \ No newline at end of file diff --git a/_includes/navigation-extended.html b/_includes/navigation-extended.html new file mode 100644 index 0000000..cdd7bcc --- /dev/null +++ b/_includes/navigation-extended.html @@ -0,0 +1,58 @@ +
+
+
+ + +
+ +
\ No newline at end of file diff --git a/_includes/svg-sprite.html b/_includes/svg-sprite.html new file mode 100644 index 0000000..17d65c2 --- /dev/null +++ b/_includes/svg-sprite.html @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/_layouts/product.html b/_layouts/product.html index cbe69c4..d3b876a 100644 --- a/_layouts/product.html +++ b/_layouts/product.html @@ -3,7 +3,7 @@ {% include head.html %} - {% include navigation.html %} + {% include navigation-extended.html %}
diff --git a/assets/css/custom.css b/assets/css/custom.css index d76b804..3e804e5 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -18,4 +18,8 @@ h2, h3, h4, h5, h6 { margin-top: 2rem; margin-bottom: 1rem; color: #565c65; /* base-dark */ +} + +.usa-icon { + margin-bottom: -2px; } \ No newline at end of file From e6ebf9e6585997902d554e4378b842de00eb24dd Mon Sep 17 00:00:00 2001 From: pglevy Date: Tue, 25 May 2021 08:27:48 -0400 Subject: [PATCH 2/6] display none for sprite svg --- _includes/svg-sprite.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/svg-sprite.html b/_includes/svg-sprite.html index 17d65c2..3381a6a 100644 --- a/_includes/svg-sprite.html +++ b/_includes/svg-sprite.html @@ -1,3 +1,3 @@ - \ No newline at end of file + From 7cb68b37864515814fd0c32f26a3c71dc0fbb6cb Mon Sep 17 00:00:00 2001 From: pglevy Date: Tue, 25 May 2021 08:29:10 -0400 Subject: [PATCH 3/6] add current indicator to extended header --- _includes/navigation-extended.html | 4 ++-- _layouts/index.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_includes/navigation-extended.html b/_includes/navigation-extended.html index cdd7bcc..95d1925 100644 --- a/_includes/navigation-extended.html +++ b/_includes/navigation-extended.html @@ -10,10 +10,10 @@
  • - Home + Home
  • - +
      {% for item in site.data.categories %}
    • diff --git a/_layouts/index.html b/_layouts/index.html index e1df69b..f93f2d3 100644 --- a/_layouts/index.html +++ b/_layouts/index.html @@ -3,7 +3,7 @@ {% include head.html %} - {% include navigation.html %} + {% include navigation-extended.html %}
      From 7efb9a7d0e1bd7d9b449cacb7027f42c313f479e Mon Sep 17 00:00:00 2001 From: pglevy Date: Tue, 25 May 2021 08:29:59 -0400 Subject: [PATCH 4/6] comment out secondary nav icons --- _includes/navigation-extended.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/_includes/navigation-extended.html b/_includes/navigation-extended.html index 95d1925..0d0b3ee 100644 --- a/_includes/navigation-extended.html +++ b/_includes/navigation-extended.html @@ -29,21 +29,21 @@
      From f37382f9668fde1d8a4092fdd77d0006fb331df7 Mon Sep 17 00:00:00 2001 From: pglevy Date: Tue, 25 May 2021 08:39:13 -0400 Subject: [PATCH 5/6] tweak vertical spacing in footer --- _includes/footer.html | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/_includes/footer.html b/_includes/footer.html index 7a6128d..97a93be 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -41,7 +41,7 @@ placeholder logo
      - +