This project is a fork of MakerBadge - customised for #BLM
Use it in 2 steps:
<!-- 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>
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"
Proudly an open source project.
Feel free to contribute here