Scroll to top
© 2020, Hu-manity.co - Restoring Trust in Digital
The Corona Banner

The Corona Banner

As the virus expands its reach, businesses around the world are donating supplies, equipment, and funds to help frontline workers and those infected. However, “not every business can produce ventilators, masks or hand sanitizer. But every business has a website and can help flatten the #COVID19 curve. Love this idea” tweeted Saul Kaplan, Founder and Chief Catalyst at the Business Innovation Factory.

To fight COVID-19, over a quarter million website owners globally are donating screen space to display the Corona Banner

ONE LINE OF CODE

Add this single line of JavaScript code into your HTML.

<script type="text/javascript" src="//coronabnr-53eb.kxcdn.com/coronabar.min.js" async></script>

PARAMETERS

You can customize the Corona Banner.

Below are the default values of the parameters which can be overridden in your JavaScript.

<script type="text/javascript">
    var CoronaBarOptions = {
        "position": "bottom", // string, top/bottom
	"textHeadline": "Spread the message. Stop the virus.", // string
        "displayCases": true, // bool
        "textConfirmed": "Confirmed", // string
        "textRecovered": "Recovered", // string
        "textStepOneTitle": "Hands", // string
        "textStepTwoTitle": "Elbow", // string
        "textStepThreeTitle": "Face", // string
        "textStepFourTitle": "Space", // string
        "textStepFiveTitle": "Home", // string
        "textStepOneDesc": "Wash often", // string
        "textStepTwoDesc": "Cough into", // string
        "textStepThreeDesc": "Don't touch", // string
        "textStepFourDesc": "Avoid crowds", // string
        "textStepFiveDesc": "Stay inside" // string
    };
</script>

PRIVACY, COVERED BY HU-MANITY.CO

The Corona Banner does not collect or store any website visitor’s personal information. It is simply a piece of code that only displays the bar beautifully, and that’s it.

For example, the Corona Banner does not collect or store your website visitor’s IP address, MAC address, or any of the other information that is available.


It only displays data and does not collect any data.

CORONA BANNER IS OPEN SOURCE

You are free to reuse the JavaScript or
Icons that make up the Corona Banner.

JavaScript

MIT Open Source Initiative

Copyright 2020 Hu-manity.co

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

 

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Icons

Creative Commons

COPYRIGHT 2020 Hu-manity.co

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. The licensor cannot revoke these freedoms as long as you follow the license terms.

 

Share — copy and redistribute the material in any medium or format

Adapt — remix, transform, and build upon the material for any purpose, even commercially.

Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.

ShareAlike — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.

 

No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.

GET IN TOUCH

Send us a note with suggestions or questions.