Replace BMAC pill with generic support link
This commit is contained in:
parent
f3f06b3c1f
commit
4db3239a22
4 changed files with 6 additions and 12 deletions
|
@ -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" . }}
|
||||||
|
|
|
@ -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>
|
|
3
layouts/partials/support-pill.html
Normal file
3
layouts/partials/support-pill.html
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
<a href='{{ relURL "support" }}' class="support-pill" title="Support me">
|
||||||
|
<i class="fas fa-praying-hands"></i>
|
||||||
|
</a>
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue