https://github.com/timothycarambat/ez_blm_banner
Automatically add a #BlackLivesMatter Banner with custom parameters and a simple script tag.
https://github.com/timothycarambat/ez_blm_banner
2020protests blacklivesmatter blm support-blm
Last synced: 5 months ago
JSON representation
Automatically add a #BlackLivesMatter Banner with custom parameters and a simple script tag.
- Host: GitHub
- URL: https://github.com/timothycarambat/ez_blm_banner
- Owner: timothycarambat
- Created: 2020-06-03T00:03:35.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-03T00:46:51.000Z (about 6 years ago)
- Last Synced: 2025-02-01T00:20:35.743Z (over 1 year ago)
- Topics: 2020protests, blacklivesmatter, blm, support-blm
- Homepage: https://blm-banner.s3-us-west-2.amazonaws.com/blm.js
- Size: 730 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Black Lives Matter - Easy Banner
This is a simple customizable `` that can be inserted into your site that will append a banner to the top of the page showing your solidarity and support for the [#BlackLivesMatter](https://twitter.com/Blklivesmatter) movement.
## How to Use
At the bottom of your HTML or website include a script tag like so
` <script type="text/javascript" src='https://blm-banner.s3-us-west-2.amazonaws.com/blm.js'>`
This script allows optional parameters to customize the banner to your brand and message.
| Parameter | Default |
|:---------:|-------------------------|
| position | fixed |
| bgColor | #000 |
| textColor | #FFF |
| msg | We Stand In Solidarity. |
The parameters `position`, `bgColor`,and `textColor` all accept CSS parameters as you would normally expect. `msg` is simply a string. To use all of the params you would just add these parameters as query strings to the `src` attribute.
**Example**
``

The endpoint is an AWS bucket with CORS enabled so you may access it freely.