Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.1.0
2.1.2
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "support-us-button",
"version": "2.1.1",
"version": "2.1.2",
"description": "A customizable and flexible Support Us button component for integrating sponsorship and donation options into web applications.",
"keywords": [
"aossie",
Expand Down
28 changes: 14 additions & 14 deletions src/components/SupportUsButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -199,15 +199,22 @@ function SupportUsButton({
<span>
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="-70 0 160 160"
className="w-[clamp(2rem,5vw,4rem)] h-[clamp(2rem,5vw,4rem)] flex-none"
fill="currentColor"
width="80"
height="62"
>
<path d="M0 0 C7.57076227 -1.38743945 15.58553081 -2.55450029 23 0 C28.67414192 4.96742551 31.45986777 12.42007563 34.57470703 19.13574219 C36.65622051 23.3187357 39.26264858 26.94699051 42.125 30.625 C42.61814697 31.26501953 43.11129395 31.90503906 43.61938477 32.56445312 C56.37528907 48.837261 68.92105471 59.97631641 89 66 C89 73.26 89 80.52 89 88 C85.9475 88.556875 82.895 89.11375 79.75 89.6875 C67.21933214 92.13127381 57.11908825 96.06609692 47 104 C45.51306641 105.15628906 45.51306641 105.15628906 43.99609375 106.3359375 C29.86947017 118.22779026 25.48247971 136.62264205 23 154 C15.41 154 7.82 154 0 154 C-1.5675 151.050625 -3.135 148.10125 -4.75 145.0625 C-12.82766234 130.22302115 -22.21843491 117.10151175 -34 105 C-34.60070312 104.32582031 -35.20140625 103.65164062 -35.8203125 102.95703125 C-43.74810076 94.28242235 -53.69266601 90.28838902 -65 88 C-65 80.41 -65 72.82 -65 65 C-62.586875 64.7525 -60.17375 64.505 -57.6875 64.25 C-50.67844885 63.42072815 -44.4554148 61.9530089 -38 59 C-37.11054687 58.60167969 -36.22109375 58.20335937 -35.3046875 57.79296875 C-18.88614384 49.67724988 -9.08698216 35.94806798 -3 19 C-1.48466584 14.445717 -0.86532343 10.03327603 -0.453125 5.25390625 C-0.36708008 4.26849854 -0.28103516 3.28309082 -0.19238281 2.26782227 C-0.12889648 1.51944092 -0.06541016 0.77105957 0 0 Z M12 42 C11.01798412 43.56875493 10.06593384 45.15626516 9.125 46.75 C2.16237078 57.81331882 -7.36434364 68.07743398 -18.7890625 74.58984375 C-19.51867187 75.05519531 -20.24828125 75.52054688 -21 76 C-21 76.66 -21 77.32 -21 78 C-19.48280017 79.53457367 -19.48280017 79.53457367 -17.5 81.125 C-9.36713831 88.10819014 -2.84728669 95.57179748 3.52026367 104.18505859 C4.05627197 104.90516113 4.59228027 105.62526367 5.14453125 106.3671875 C5.62253174 107.01800293 6.10053223 107.66881836 6.59301758 108.33935547 C8.08662378 110.25726849 8.08662378 110.25726849 11 112 C11.6290625 111.09378906 12.258125 110.18757813 12.90625 109.25390625 C20.34939162 98.6160383 27.59836088 89.62888585 38.265625 82.04296875 C40.75395056 80.18383408 42.87194985 78.25471981 45 76 C44.40574219 75.56171875 43.81148438 75.1234375 43.19921875 74.671875 C32.67831645 66.62166671 24.42840389 56.83998646 16.43969727 46.36865234 C15.31325557 44.89681289 14.15938961 43.44602836 13 42 C12.67 42 12.34 42 12 42 Z " />
<path
d="M0 0 C3.80968776 2.45431808 6.54985822 4.64957467 8 9 C8.5453074 14.67119695 7.52213848 18.55948157 4 23 C2.27811234 24.66434386 0.46799043 26.18403749 -1.3671875 27.72265625 C-4.99306387 30.85898551 -8.48066179 34.11658423 -11.9375 37.4375 C-12.61272705 38.05818359 -13.2879541 38.67886719 -13.98364258 39.31835938 C-18.55873047 43.76595723 -19.89354557 46.59144342 -20 53 C-36.1 39.7 -36.1 39.7 -38 34 C-38.38328634 28.82563443 -37.95629513 26.22151538 -35 22 C-33.02795102 19.78009394 -30.93620852 17.69920694 -28.8125 15.625 C-28.23169678 15.05281738 -27.65089355 14.48063477 -27.05249023 13.89111328 C-9.46575583 -3.33121792 -9.46575583 -3.33121792 0 0 Z "
transform="translate(62,5)"
/>
<path
d="M0 0 C2.6875 2.125 2.6875 2.125 4.6875 5.125 C3.9761792 5.78133423 3.9761792 5.78133423 3.25048828 6.45092773 C1.08573657 8.46901102 -1.05053501 10.51503183 -3.1875 12.5625 C-3.93386719 13.25021484 -4.68023438 13.93792969 -5.44921875 14.64648438 C-10.56113788 19.59721687 -12.43280015 23.03852899 -13.3125 30.125 C-18.52825788 26.15161314 -22.2395773 22.47949519 -24.3125 16.125 C-24.94555877 10.8796559 -24.17299421 7.56369792 -21.3125 3.125 C-14.88709968 -3.12674085 -7.92260968 -4.48449605 0 0 Z "
transform="translate(32.3125,6.875)"
/>
</svg>
</span>
<span className="font-medium text-[clamp(2rem,5vw,4rem)] leading-tight">
Support-us {projectInformation?.name && "for"}{" "}
Support-us {projectInformation?.name && "and"}{" "}
{projectInformation?.name}
</span>
</div>
Expand Down Expand Up @@ -300,18 +307,11 @@ function SupportUsButton({
<div className="flex shrink-0 items-center justify-center px-4">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="-70 0 160 160"
className="w-[clamp(2rem,5vw,4rem)] h-[clamp(2rem,5vw,4rem)] flex-none"
fill="currentColor"
width="80"
height="62"
>
<path
d="M0 0 C3.80968776 2.45431808 6.54985822 4.64957467 8 9 C8.5453074 14.67119695 7.52213848 18.55948157 4 23 C2.27811234 24.66434386 0.46799043 26.18403749 -1.3671875 27.72265625 C-4.99306387 30.85898551 -8.48066179 34.11658423 -11.9375 37.4375 C-12.61272705 38.05818359 -13.2879541 38.67886719 -13.98364258 39.31835938 C-18.55873047 43.76595723 -19.89354557 46.59144342 -20 53 C-36.1 39.7 -36.1 39.7 -38 34 C-38.38328634 28.82563443 -37.95629513 26.22151538 -35 22 C-33.02795102 19.78009394 -30.93620852 17.69920694 -28.8125 15.625 C-28.23169678 15.05281738 -27.65089355 14.48063477 -27.05249023 13.89111328 C-9.46575583 -3.33121792 -9.46575583 -3.33121792 0 0 Z "
transform="translate(62,5)"
/>
<path
d="M0 0 C2.6875 2.125 2.6875 2.125 4.6875 5.125 C3.9761792 5.78133423 3.9761792 5.78133423 3.25048828 6.45092773 C1.08573657 8.46901102 -1.05053501 10.51503183 -3.1875 12.5625 C-3.93386719 13.25021484 -4.68023438 13.93792969 -5.44921875 14.64648438 C-10.56113788 19.59721687 -12.43280015 23.03852899 -13.3125 30.125 C-18.52825788 26.15161314 -22.2395773 22.47949519 -24.3125 16.125 C-24.94555877 10.8796559 -24.17299421 7.56369792 -21.3125 3.125 C-14.88709968 -3.12674085 -7.92260968 -4.48449605 0 0 Z "
transform="translate(32.3125,6.875)"
/>
<path d="M0 0 C7.57076227 -1.38743945 15.58553081 -2.55450029 23 0 C28.67414192 4.96742551 31.45986777 12.42007563 34.57470703 19.13574219 C36.65622051 23.3187357 39.26264858 26.94699051 42.125 30.625 C42.61814697 31.26501953 43.11129395 31.90503906 43.61938477 32.56445312 C56.37528907 48.837261 68.92105471 59.97631641 89 66 C89 73.26 89 80.52 89 88 C85.9475 88.556875 82.895 89.11375 79.75 89.6875 C67.21933214 92.13127381 57.11908825 96.06609692 47 104 C45.51306641 105.15628906 45.51306641 105.15628906 43.99609375 106.3359375 C29.86947017 118.22779026 25.48247971 136.62264205 23 154 C15.41 154 7.82 154 0 154 C-1.5675 151.050625 -3.135 148.10125 -4.75 145.0625 C-12.82766234 130.22302115 -22.21843491 117.10151175 -34 105 C-34.60070312 104.32582031 -35.20140625 103.65164062 -35.8203125 102.95703125 C-43.74810076 94.28242235 -53.69266601 90.28838902 -65 88 C-65 80.41 -65 72.82 -65 65 C-62.586875 64.7525 -60.17375 64.505 -57.6875 64.25 C-50.67844885 63.42072815 -44.4554148 61.9530089 -38 59 C-37.11054687 58.60167969 -36.22109375 58.20335937 -35.3046875 57.79296875 C-18.88614384 49.67724988 -9.08698216 35.94806798 -3 19 C-1.48466584 14.445717 -0.86532343 10.03327603 -0.453125 5.25390625 C-0.36708008 4.26849854 -0.28103516 3.28309082 -0.19238281 2.26782227 C-0.12889648 1.51944092 -0.06541016 0.77105957 0 0 Z M12 42 C11.01798412 43.56875493 10.06593384 45.15626516 9.125 46.75 C2.16237078 57.81331882 -7.36434364 68.07743398 -18.7890625 74.58984375 C-19.51867187 75.05519531 -20.24828125 75.52054688 -21 76 C-21 76.66 -21 77.32 -21 78 C-19.48280017 79.53457367 -19.48280017 79.53457367 -17.5 81.125 C-9.36713831 88.10819014 -2.84728669 95.57179748 3.52026367 104.18505859 C4.05627197 104.90516113 4.59228027 105.62526367 5.14453125 106.3671875 C5.62253174 107.01800293 6.10053223 107.66881836 6.59301758 108.33935547 C8.08662378 110.25726849 8.08662378 110.25726849 11 112 C11.6290625 111.09378906 12.258125 110.18757813 12.90625 109.25390625 C20.34939162 98.6160383 27.59836088 89.62888585 38.265625 82.04296875 C40.75395056 80.18383408 42.87194985 78.25471981 45 76 C44.40574219 75.56171875 43.81148438 75.1234375 43.19921875 74.671875 C32.67831645 66.62166671 24.42840389 56.83998646 16.43969727 46.36865234 C15.31325557 44.89681289 14.15938961 43.44602836 13 42 C12.67 42 12.34 42 12 42 Z " />
</svg>
</div>

Expand Down
Loading