Skip to content

Commit

Permalink
chore: download buymeacoffee image from their cdn
Browse files Browse the repository at this point in the history
  • Loading branch information
vladdeSV committed Mar 31, 2024
1 parent 95e3245 commit cd24bc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
- run: cp checkswipe.js website/checkswipe.js
- run: cp checkswipe.css website/checkswipe.css
- run: curl 'https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.classless.min.css' -o website/pico.classless.min.css
- run: curl 'https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png' -o website/buymeacoffee.png
- uses: actions/upload-pages-artifact@v3
with:
path: './website'
Expand Down
2 changes: 1 addition & 1 deletion website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ <h2>Use it</h2>

<h2>Love it?</h2>
<p>If this little project made you smile, send me a virtual coffee – it boosts my ego.</p>
<p><a href=https://www.buymeacoffee.com/vladde><img src=https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png alt='Buy Me A Coffee' width=217 height=60></a></p>
<p><a href=https://www.buymeacoffee.com/vladde><img src=buymeacoffee.png alt='Buy Me A Coffee' width=217 height=60></a></p>

<h2>How it works</h2>
<p><code><span class=fn>checkswipe</span>()</code> looks for every <code>&lt;<span class=kw><i>element</i></span>&gt;</code> with the attribute <code><span class=attr>data-checkswipe</span></code>, and attaches a listener to each checkbox inside.</p>
Expand Down

0 comments on commit cd24bc8

Please sign in to comment.