Skip to content

Commit

Permalink
Merge pull request #321 from maxmind-zendesk-theme/dallas/ccpa-icon
Browse files Browse the repository at this point in the history
Add CCPA opt-out icon
  • Loading branch information
dhogan8 authored Jul 20, 2023
2 parents 20378fc + 09fd3ad commit 12315ff
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 2 deletions.
15 changes: 14 additions & 1 deletion src/styles/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,8 @@
grid-column-gap: var(--mm-spacing);
}

.footer__status {
.footer__status,
.footer__ccpa {
position: relative;
}

Expand All @@ -238,6 +239,18 @@
display: block !important;
}


.footer__ccpa-icon {
left: -10px;
position: absolute;
top: 57%;
transform: translate(-100%, -50%);

svg {
height: 14px;
}
}

.footer__termsLink {
color: var(--mm-color-background);
text-decoration: none;
Expand Down
7 changes: 6 additions & 1 deletion src/templates/footer.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,12 @@
<span class="footer__link">System Status</span>
</a>
<a class="footer__link" href="https://www.maxmind.com/en/geoip-data-correction-request">GeoIP Data Correction Request</a>
<a class="footer__link" href="https://www.maxmind.com/en/opt-out">Do Not Sell My Personal Information</a>
<a class="footer__link footer__ccpa" href="https://www.maxmind.com/en/opt-out">
<span class="footer__ccpa-icon">
<include src="svg/icon-ccpa-opt-out.svg"></include>
</span>
<span class="footer__link">Your Privacy Choices</span>
</a>
<a class="footer__link" href="https://www.maxmind.com/en/privacy-policy#california-notice-of-collection">Notice of Collection</a>
</div>
<div class="footer__group footer__group__developers">
Expand Down
33 changes: 33 additions & 0 deletions src/templates/partials/svg/icon-ccpa-opt-out.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 12315ff

Please sign in to comment.