kidwellj / i-stand

A web component to embed in your personal site to show you stand with the protests against racism and police brutality

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I Stand

A web component to embed in your personal site to show you stand with the protests against racism and police brutality.

Nb: Adapted to specific cases in the UK. See the original component (based on the USA) and another adaptation for Brazil.

A banner showing solidarity with protestors against police brutality

To add this banner to your site, include the following code:

<!-- Somewhere in your page -->
<script src="./black-lives.js" type="module"></script>

<!-- After the opening <body> tag -->
<black-lives></black-lives>

The snippet above will always use the latest version of the banner. This means if any changes are published they'll automatically be pulled in (such as new names or updated links).

This should work in all modern browsers. If you need to support legacy browsers, you may need to include some polyfills or run the script through a transpiler, like Babel, first.

Please feel free to submit pull requests. Also happy to add maintainers for this repo, just give me a shout.

About

A web component to embed in your personal site to show you stand with the protests against racism and police brutality


Languages

Language:JavaScript 91.4%Language:HTML 8.6%