Improve join chat button.

Update join chat button to match with other badges in README.md.
This commit is contained in:
Tommy Ip
2016-12-21 17:43:53 +00:00
committed by showell
parent 4ecc9deb92
commit 8e86ed7364
5 changed files with 8 additions and 6 deletions

View File

@@ -19,7 +19,7 @@ missed-message emails, desktop apps, and much more.
Further information on the Zulip project and its features can be found
at https://www.zulip.org.
[![Build Status](https://travis-ci.org/zulip/zulip.svg?branch=master)](https://travis-ci.org/zulip/zulip) [![Coverage Status](https://coveralls.io/repos/github/zulip/zulip/badge.svg?branch=master)](https://coveralls.io/github/zulip/zulip?branch=master) [![docs](https://readthedocs.org/projects/pip/badge/?version=latest)](http://zulip.readthedocs.io/en/latest/) [![chat-with-zulip-button.png](static/images/help/chat-with-zulip-button.png)](https://chat.zulip.org)
[![Build Status](https://travis-ci.org/zulip/zulip.svg?branch=master)](https://travis-ci.org/zulip/zulip) [![Coverage Status](https://coveralls.io/repos/github/zulip/zulip/badge.svg?branch=master)](https://coveralls.io/github/zulip/zulip?branch=master) [![docs](https://readthedocs.org/projects/pip/badge/?version=latest)](http://zulip.readthedocs.io/en/latest/) [![Zulip chat](https://img.shields.io/badge/zulip-join_chat-brightgreen.svg)](https://chat.zulip.org)
## Community

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="92" height="20"><linearGradient id="b" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="a"><rect width="92" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#a)"><path fill="#555" d="M0 0h35v20H0z"/><path fill="#4c1" d="M35 0h57v20H35z"/><path fill="url(#b)" d="M0 0h92v20H0z"/></g><g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11"><text x="17.5" y="15" fill="#010101" fill-opacity=".3">zulip</text><text x="17.5" y="14">zulip</text><text x="62.5" y="15" fill="#010101" fill-opacity=".3">join chat</text><text x="62.5" y="14">join chat</text></g></svg>

After

Width:  |  Height:  |  Size: 753 B

View File

@@ -1,10 +1,11 @@
# **Chat button for zulip**
* This button can be used by users to get redirected to [Zulip Chat Portal for Developers](https://chat.zulip.org).
* This is found in the zulip's page in [GitHub](https://github.com/zulip/zulip) as it is inside of README file.
* To add `chat with zulip button` embed the following code:
* This button redirects user to zulip chat [Zulip Chat Portal for Developers](https://chat.zulip.org).
* This is displayed in Zulip's [GitHub](https://github.com/zulip/zulip) README.md page.
* To embed this badge, simply copy and paste the following markdown:
~~~
[![Untitled.png](https://chat.zulip.org/static/images/help/chat-with-zulip-button.png)](https://chat.zulip.org)
[![Zulip chat](https://img.shields.io/badge/zulip-join_chat-brightgreen.svg)](https://chat.zulip.org)
~~~
* You can find the button icon in the `zulip/static/images/help` directory named as chat-with-zulip-button.
* This badge is dynamically generated, visit shields.io for detail information about customizing it.
* A static version is available in `/static/images/help/chat_on_zulip.[png|svg]`.