Skip to content

An open-source badge to put your mark on every project

Notifications You must be signed in to change notification settings

leslieongit/blm-badge

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BLMBadge

An open-source badge to put your mark on every project.

This project is a fork of MakerBadge - customised for #BLM


How to use BLMBadge/MakerBadge:

Use it in 2 steps:

1. Get your badge:

<!-- Insert makerbadge.js (download or use ☁️cloud version) -->

<script type="text/javascript" src="https://makerbadge.s3.amazonaws.com/blmbadge.js"></script>

<!-- Initialise MakerBadge with options -->
    
<script>
  BLMBadge.init({
       layout:1, 
       theme:'dark', 
       promoText : 'Send a donation '+String.fromCodePoint(0x2192),
       promoLink : 'https://minnesotafreedomfund.org/',
       message : 'To be silent is to be complicit. Black lives matter.',
       title : '#BlackLivesMatter',
       imageAlt: "Black Lives Matter Badge"
})
</script>

2. Customise your badge (Beta):

You can customise the values after each colon (e.g. layout:2 - change the 2 to 1)

  • layout: a number - 1 (badge with text) or 2 (Round button)
  • theme: a string - 'light' or 'dark'.
  • promoURL: a string (url) to a donation page.
  • message: string - any short message.
  • title: string - The title of your badge
  • imageAlt: string - Alt text for your image - the default is "Black Lives Matter Badge"

Contribute

Proudly an open source project.

Feel free to contribute here

About

An open-source badge to put your mark on every project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.3%
  • HTML 3.7%