Skip to content

Commit

Permalink
Add a Netlify badge to the footer
Browse files Browse the repository at this point in the history
This will qualify us for Netlify's open source program.
  • Loading branch information
nex3 committed Jun 27, 2023
1 parent 0abfff2 commit 347c36d
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 6 deletions.
11 changes: 10 additions & 1 deletion source/_includes/footer.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,25 @@

{% renderFile 'source/_includes/footer_nav.md' %}
</div>
<div class="sl-l-grid__column sl-l-large-grid__column--auto-size sl-l-large-grid--justify-right">
<div class="sl-l-grid__column sl-l-large-grid__column--auto-size sl-l-large-grid--justify-right footer-icons">
<a
class="twitter-follow-button"
href="https://twitter.com/SassCSS"
data-show-count="false"
data-size="large">Follow @SassCSS</a>
<div class="sl-l-grid sl-l-small-grid--gutters">
<div class="sl-l-grid__column">
<a href="https://www.netlify.com"><img
alt="Deploys by Netlify"
src="https://www.netlify.com/v3/img/components/netlify-color-bg.svg"/></a>
</div>
<div class="sl-l-grid__column">
<a href="https://www.macstadium.com/"><img
alt="Powered by MacStadium"
class="mac-stadium-icon"
src="https://uploads-ssl.webflow.com/5ac3c046c82724970fc60918/5c019d917bba312af7553b49_MacStadium-developerlogo.png"></a>
</div>
</div>
</div>
</div>
</div>
Expand Down
15 changes: 15 additions & 0 deletions source/assets/sass/components/_footer-icons.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.footer-icons {
max-width: 16rem;
}

.twitter-follow-button {
display: block;
margin-left: auto;
margin-right: auto;
text-align: center;
margin-bottom: var(--sl-gutter);
}

.mac-stadium-icon {
width: 7rem;
}
4 changes: 0 additions & 4 deletions source/assets/sass/components/_mac-stadium-icon.scss

This file was deleted.

2 changes: 1 addition & 1 deletion source/assets/sass/sass.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
@use 'components/introduction';
@use 'components/link-header';
@use 'components/lists';
@use 'components/mac-stadium-icon';
@use 'components/footer-icons';
@use 'components/pop-stripe';
@use 'components/sass-syntax-switcher';
@use 'components/tables';
Expand Down

0 comments on commit 347c36d

Please sign in to comment.