codebuddies / backend

CodeBuddies back-end
https://codebuddies.org
GNU General Public License v3.0
20 stars 25 forks source link

Add sponsors section on README #144

Closed lpatmo closed 4 years ago

lpatmo commented 4 years ago

As part of the terms of GitDuck's sponsorship of opencollective.com/codebuddies, we're putting the logo on the repo for 6 months. image

codecov[bot] commented 4 years ago

Codecov Report

Merging #144 into main will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #144   +/-   ##
=======================================
  Coverage   83.70%   83.70%           
=======================================
  Files          29       29           
  Lines         491      491           
=======================================
  Hits          411      411           
  Misses         80       80           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update bd61659...1d5e540. Read the comment docs.

chris48s commented 4 years ago

Aside from special agreement with GitDuck (which is really cool btw - congrats :tada: nice work ) While you are thinking about this, OpenCollective has some useful features that are not very well publicised. OC can generate these SVG objects that:

e.g:

(Note: for the inline links to work, you need to embed them as objects, rather than images)

<object data="https://opencollective.com/codebuddies/sponsors.svg?avatarHeight=80&width=800" />
<object data="https://opencollective.com/codebuddies/backers.svg?avatarHeight=80&width=800" />
<object data="https://opencollective.com/codebuddies/contributors.svg?width=800" />

These are really good for publicising and thanking donors on your website with zero maintenance to keep them updated, although I don't think you're allowed <object> in a README.

:books: Docs for that are at https://docs.opencollective.com/help/collectives/data-export#contributor-image

What you can do in a github README (I don't think this is even documented) is dump in a block like

<a href="https://opencollective.com/codebuddies/sponsor/0/website" target="_blank"><img src="https://opencollective.com/codebuddies/sponsor/0/avatar.svg"></a>
<a href="https://opencollective.com/codebuddies/sponsor/1/website" target="_blank"><img src="https://opencollective.com/codebuddies/sponsor/1/avatar.svg"></a>
<a href="https://opencollective.com/codebuddies/sponsor/2/website" target="_blank"><img src="https://opencollective.com/codebuddies/sponsor/2/avatar.svg"></a>
<a href="https://opencollective.com/codebuddies/sponsor/3/website" target="_blank"><img src="https://opencollective.com/codebuddies/sponsor/3/avatar.svg"></a>
<a href="https://opencollective.com/codebuddies/sponsor/4/website" target="_blank"><img src="https://opencollective.com/codebuddies/sponsor/4/avatar.svg"></a>

and that will show your top 5 sponsors with logos and links to their websites, like this :slightly_smiling_face: :

lpatmo commented 4 years ago

@chris48s Your comment reads like a documentation article, lol. 👏 Thanks so much! Updated with the last suggestion!