Skip to content

Commit

Permalink
Merge pull request #1149 from pattern-lab/feature/footer-netlify-link
Browse files Browse the repository at this point in the history
“This site is powered by Netlify” footer link
  • Loading branch information
bmuenzenmeyer authored Apr 23, 2020
2 parents d4bc586 + f9fe4c3 commit aef661a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/docs/src/_includes/components/footer.njk
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<div class="l-container">

{% include "components/footer-nav.njk" %}
<p class='c-footer__note'><a href='https://www.netlify.com/'>This site is powered by Netlify</a></p>

</div><!--end l-container-->

Expand Down
3 changes: 2 additions & 1 deletion packages/docs/src/scss/components/_footer-nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
* The nav inside the footer
*/
.c-footer-nav {
font-size: $font-size-sm-2;
font-size: $font-size-sm-2;
margin-bottom: $spacing;

@media all and (min-width: $bp-med) {
display: flex;
Expand Down
12 changes: 12 additions & 0 deletions packages/docs/src/scss/components/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,15 @@
.c-footer {
padding: $spacing-large 0;
}

/**
* Footer note
* 1) Small paragraph of text in the footer
*/
.c-footer__note {
font-size: $font-size-sm;

a {
text-decoration: underline;
}
}

0 comments on commit aef661a

Please sign in to comment.