Add a few badges on the README

This commit is contained in:
Victor Berger 2017-10-04 11:30:07 +02:00
parent 047e1e11f6
commit b3141ca2dc
2 changed files with 25 additions and 1 deletions

View File

@ -1,6 +1,10 @@
# Smithay
[![Join the chat at https://gitter.im/smithay/Lobby](https://badges.gitter.im/smithay/Lobby.svg)](https://gitter.im/smithay/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Crates.io](http://meritbadge.herokuapp.com/smithay)](https://crates.io/crates/smithay)
[![docs.rs](https://docs.rs/smithay/badge.svg)](https://docs.rs/smithay)
[![Build Status](https://travis-ci.org/Smithay/smithay.svg?branch=master)](https://travis-ci.org/Smithay/smithay)
[![Join the chat on matrix at @smithay:matrix.org](matrix_badge.svg)](https://matrix.to/#/#smithay:matrix.org)
[![Join the chat via bridge at https://gitter.im/smithay/Lobby](https://badges.gitter.im/smithay/Lobby.svg)](https://gitter.im/smithay/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
A smithy for rusty wayland compositors

20
matrix_badge.svg Normal file
View File

@ -0,0 +1,20 @@
<svg xmlns="http://www.w3.org/2000/svg" width="99" 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>
<mask id="a">
<rect width="99" height="20" rx="3" fill="#fff"/>
</mask>
<g mask="url(#a)">
<path fill="#555" d="M0 0h42v20H0z"/>
<path fill="#46BC99" d="M42 0h59v20H42z"/>
<path fill="url(#b)" d="M0 0h99v20H0z"/>
</g>
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
<text x="21" y="15" fill="#010101" fill-opacity=".3">matrix</text>
<text x="21" y="14">matrix</text>
<text x="68.5" y="15" fill="#010101" fill-opacity=".3">join chat</text>
<text x="68.5" y="14">join chat</text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 773 B