Merge pull request #114 from LBRYFoundation/kofi

added kofi support button
This commit is contained in:
Philip Ahlqvist 2023-03-03 13:52:34 +01:00 committed by GitHub
commit 4727ee1bf8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

View file

@ -21,6 +21,10 @@
<span>{{ abtn.text }}</span> <span>{{ abtn.text }}</span>
</a> </a>
</p> </p>
<a class="ko-fi" target="_blank" href="https://ko-fi.com/lbryfoundation">
<img src="/img/kofi.png" alt="Ko-Fi Donations">
<span>Support us on Ko-Fi</span>
</a>
</header> </header>
<Content class="content" /> <Content class="content" />
@ -125,6 +129,25 @@ export default {
margin-bottom 0 margin-bottom 0
hr hr
margin 0 margin 0
.ko-fi
color var(--counterAccent)
display inline-flex
width fit-content
margin 0px auto 0 auto
padding 15px 20px
align-items center
font-size 20px
font-weight 500
background-color var(--tertiaryBG)
border-radius 8px
gap 10px
line-height 1
img
height 20px
span
margin 0
.ko-fi:hover
background-color var(--secondaryBG)
// @media (max-width: $MQNarrow) // @media (max-width: $MQNarrow)
@media (max-width: $MQMobile) @media (max-width: $MQMobile)
.home .home
@ -150,4 +173,9 @@ export default {
width calc(100% - 40px) width calc(100% - 40px)
& + .footer & + .footer
margin-top 0 margin-top 0
</style> .ko-fi
padding 10px 15px
font-size 18px
img
height 18px
</style>