diff --git a/css/style.css b/css/style.css index e2ae2c527c..43dfb44b53 100644 --- a/css/style.css +++ b/css/style.css @@ -172,6 +172,11 @@ img { max-width: 100%; } +img[src*="opencollective.com/mochajs"], img[src*=badges] { + margin: 0; + box-shadow: none; +} + .badge { margin-right: 8px; display: inline-block; diff --git a/index.md b/index.md index 89080ee4a5..1b51832276 100644 --- a/index.md +++ b/index.md @@ -7,6 +7,8 @@ title: "Mocha - the fun, simple, flexible JavaScript test framework" Mocha is a feature-rich JavaScript test framework running on [Node.js](http://nodejs.org) and in the browser, making asynchronous testing simple and fun. Mocha tests run serially, allowing for flexible and accurate reporting, while mapping uncaught exceptions to the correct test cases. Hosted on [GitHub](https://github.com/mochajs/mocha). [![Gitter](//badges.gitter.im/Join%20Chat.svg)](https://gitter.im/mochajs/mocha) +[![OpenCollective](https://opencollective.com/mochajs/backers/badge.svg)](#backers) +[![OpenCollective](https://opencollective.com/mochajs/sponsors/badge.svg)](#sponsors) ## Features @@ -67,6 +69,8 @@ Mocha is a feature-rich JavaScript test framework running on [Node.js](http://no - [Examples](#examples) - [Testing Mocha](#testing-mocha) - [More Information](#more-information) +- [Backers](#backers) +- [Sponsors](#sponsors) @@ -1031,3 +1035,77 @@ $ make test REPORTER=list ## More Information In addition to chatting with us on [Gitter](https://gitter.im/mochajs/mocha), for additional information such as using spies, mocking, and shared behaviours be sure to check out the [Mocha Wiki](https://github.com/mochajs/mocha/wiki) on GitHub. For discussions join the [Google Group](http://groups.google.com/group/mochajs). For a running example of Mocha, view [example/tests.html](example/tests.html). For the JavaScript API, view the [source](https://github.com/mochajs/mocha/blob/master/lib/mocha.js#L51). + + + +## Backers + +Support us with a monthly donation and help us continue our activities. [[Become a backer](https://opencollective.com/mochajs#backer)] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +## Sponsors + +Is your company using Mocha? Ask your manager to support us. Your company logo will show up here and on our [Github page](https://github.com/mochajs/mocha#sponsors). [[Become a sponsor](https://opencollective.com/mochajs#sponsor)] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +