From 79bbdf0ee6d9096f930724146986ba7868492ac2 Mon Sep 17 00:00:00 2001 From: Brad Lewis <22850972+BradLewis@users.noreply.github.com> Date: Sun, 30 Jul 2023 09:57:02 -0400 Subject: [PATCH 1/4] add kofi elements to github and website --- .github/FUNDING.yml | 1 + README.md | 1 + ui/src/assets/images/cup-border.webp | Bin 0 -> 6016 bytes ui/src/lib/Footer.svelte | 11 ++++-- ui/src/lib/components/KofiWidget.svelte | 50 ++++++++++++++++++++++++ 5 files changed, 60 insertions(+), 3 deletions(-) create mode 100644 .github/FUNDING.yml create mode 100644 ui/src/assets/images/cup-border.webp create mode 100644 ui/src/lib/components/KofiWidget.svelte diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 00000000..7c8c2d18 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1 @@ +ko_fi: songstitch diff --git a/README.md b/README.md index 86b6e2ef..f74b7456 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ [![Website Status](https://img.shields.io/website?label=songstitch.art&style=flat-square&url=https%3A%2F%2Fsongstitch.art%2F)](https://songstitch.art/) [![CI status](https://img.shields.io/github/actions/workflow/status/SongStitch/song-stitch/ci-cd.yml?branch=main&style=flat-square&logo=github)](https://github.com/SongStitch/song-stitch/actions?query=branch%3Amain) [![License](https://img.shields.io/github/license/SongStitch/song-stitch?style=flat-square)](/LICENSE) +[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/P5P3NPGIU) diff --git a/ui/src/assets/images/cup-border.webp b/ui/src/assets/images/cup-border.webp new file mode 100644 index 0000000000000000000000000000000000000000..0a128958e0fc5d0b076e46295929938ee5a1badd GIT binary patch literal 6016 zcmV-`7k}tdNk&F^7XScPMM6+kP&iC$7XSb+V8J*LO*o7sDTtig^(o5BKVeQl>H~=A z{{$#MzW~1;K>5df7AFO8kX=MfFxpOd@M~e)5HTZY+*o3CyaRSDJfc=BShxb1x?iAe zAeMfhx#yE$yoWlbGIFIi=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Qk-h923*V7-dJ8fg1A}&ms2#<<9-^bV-ibDbi#g!0+pE7kvYq*ror)DAv&}t#%Wl5@p?zjVZi?73Gt%( ujOd6E{TkK$FSd$Wz*RX!TO+Ms5=$)gYk5|PtQ;cPAe?x9h%+KaE&u?Jo@m_w literal 0 HcmV?d00001 diff --git a/ui/src/lib/Footer.svelte b/ui/src/lib/Footer.svelte index cbc9c269..1873748e 100644 --- a/ui/src/lib/Footer.svelte +++ b/ui/src/lib/Footer.svelte @@ -1,5 +1,7 @@ diff --git a/ui/src/lib/components/KofiWidget.svelte b/ui/src/lib/components/KofiWidget.svelte index 5379467a..7f4802ca 100644 --- a/ui/src/lib/components/KofiWidget.svelte +++ b/ui/src/lib/components/KofiWidget.svelte @@ -14,7 +14,6 @@ img.kofiimg{display: initial!important;vertical-align:middle;height:13px!importa @@ -32,7 +31,7 @@ img.kofiimg{display: initial!important;vertical-align:middle;height:13px!importa line-height: 36px !important; min-width: 150px; display: inline-block !important; - background-color: #29abe0; + background-color: #275efe; padding: 2px 12px !important; text-align: center !important; border-radius: 12px; From cd0e776a506f5bc90bf63bc37bf2ba385aaef612 Mon Sep 17 00:00:00 2001 From: Brad Lewis <22850972+BradLewis@users.noreply.github.com> Date: Sun, 30 Jul 2023 11:00:17 -0400 Subject: [PATCH 3/4] set kofi border radius to 10px --- ui/src/lib/components/KofiWidget.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/lib/components/KofiWidget.svelte b/ui/src/lib/components/KofiWidget.svelte index 7f4802ca..16ae0c7a 100644 --- a/ui/src/lib/components/KofiWidget.svelte +++ b/ui/src/lib/components/KofiWidget.svelte @@ -34,7 +34,7 @@ img.kofiimg{display: initial!important;vertical-align:middle;height:13px!importa background-color: #275efe; padding: 2px 12px !important; text-align: center !important; - border-radius: 12px; + border-radius: 10px; color: #fff; cursor: pointer; overflow-wrap: break-word; From 98930807426120dc6bff53484c25329c2531c922 Mon Sep 17 00:00:00 2001 From: Brad Lewis <22850972+BradLewis@users.noreply.github.com> Date: Sun, 30 Jul 2023 11:24:02 -0400 Subject: [PATCH 4/4] update padding and border radius --- ui/src/lib/Footer.svelte | 2 +- ui/src/lib/components/KofiWidget.svelte | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/lib/Footer.svelte b/ui/src/lib/Footer.svelte index 1873748e..62e7ec3c 100644 --- a/ui/src/lib/Footer.svelte +++ b/ui/src/lib/Footer.svelte @@ -95,7 +95,7 @@ text-align: -webkit-center; } .kofi-container { - padding-top: 1em; + padding-top: 2em; } .appstore-icon { height: 50px; diff --git a/ui/src/lib/components/KofiWidget.svelte b/ui/src/lib/components/KofiWidget.svelte index 16ae0c7a..4d26fee9 100644 --- a/ui/src/lib/components/KofiWidget.svelte +++ b/ui/src/lib/components/KofiWidget.svelte @@ -34,7 +34,7 @@ img.kofiimg{display: initial!important;vertical-align:middle;height:13px!importa background-color: #275efe; padding: 2px 12px !important; text-align: center !important; - border-radius: 10px; + border-radius: 4px; color: #fff; cursor: pointer; overflow-wrap: break-word;