1
Fork 0

Replace BMAC pill with generic support link

This commit is contained in:
Jake Howard 2021-09-04 16:37:23 +01:00
parent f3f06b3c1f
commit 4db3239a22
Signed by: jake
GPG key ID: 57AFB45680EDD477
4 changed files with 6 additions and 12 deletions

View file

@ -29,7 +29,7 @@
{{ block "main" . }}{{ end }} {{ block "main" . }}{{ end }}
{{ if not .IsHome }} {{ if not .IsHome }}
{{ partial "bmac-pill.html" . }} {{ partial "support-pill.html" . }}
{{ end }} {{ end }}
{{ partial "footer.html" . }} {{ partial "footer.html" . }}

View file

@ -1,3 +0,0 @@
<a href="{{ .Site.Data.support.donate.buymeacoffee.link }}" class="bmac-pill" title="Buy Me A Coffee">
<img src="https://cdn.buymeacoffee.com/widget/assets/coffee%20cup.svg" alt="Buy Me A Coffee" referrerpolicy="no-referrer" />
</a>

View file

@ -0,0 +1,3 @@
<a href='{{ relURL "support" }}' class="support-pill" title="Support me">
<i class="fas fa-praying-hands"></i>
</a>

View file

@ -319,7 +319,7 @@ a.no-color-change {
} }
.bmac-pill { .support-pill {
@extend .badge, .badge-primary; @extend .badge, .badge-primary;
@include media-breakpoint-up(md) { @include media-breakpoint-up(md) {
@ -332,13 +332,7 @@ a.no-color-change {
border-radius: 30px; border-radius: 30px;
width: 60px; width: 60px;
height: 60px; height: 60px;
font-size: 100%;
img {
margin: 0;
padding: 0;
width: 40px;
height: 40px;
}
} }
@include media-breakpoint-down(sm) { @include media-breakpoint-down(sm) {