2015-09-12 23:11:22 +02:00
|
|
|
# App Store Badges
|
|
|
|
|
2015-09-12 23:26:54 +02:00
|
|
|
> CSS/SVG based App Store badges
|
|
|
|
|
2015-09-12 23:29:19 +02:00
|
|
|
<img width="1022" alt="appstorebadges" src="https://cloud.githubusercontent.com/assets/90316/9833788/eee686ae-59a5-11e5-8457-feb08f0bf3cc.png">
|
|
|
|
|
2015-09-13 16:29:02 +02:00
|
|
|
[Demo](http://lab.kremalicious.com/appstorebadges/) | [Blog post](https://kremalicious.com/css-app-store-badges/) | [Codepen](http://codepen.io/kremalicious/details/EVVraP/)
|
2015-09-12 23:11:22 +02:00
|
|
|
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
Install with npm:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
npm i appstorebadges --save
|
|
|
|
```
|
|
|
|
|
|
|
|
Or install with Bower:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
bower install appstorebadges --save
|
|
|
|
```
|
|
|
|
|
|
|
|
Or just link to the css file:
|
|
|
|
|
|
|
|
```html
|
2015-09-13 00:52:28 +02:00
|
|
|
<link rel="stylesheet" href="https://raw.githubusercontent.com/kremalicious/appstorebadges/master/dist/appstorebadges.min.css">
|
2015-09-12 23:11:22 +02:00
|
|
|
```
|
|
|
|
|
2015-09-12 23:26:54 +02:00
|
|
|
|
2015-09-12 23:11:22 +02:00
|
|
|
## Development
|
|
|
|
|
|
|
|
First you need:
|
|
|
|
|
|
|
|
- node & npm
|
|
|
|
|
2015-09-12 23:26:54 +02:00
|
|
|
Install dependencies:
|
2015-09-12 23:11:22 +02:00
|
|
|
|
|
|
|
```bash
|
|
|
|
npm install
|
|
|
|
```
|
|
|
|
|
|
|
|
Then spin up livereloading dev server under http://localhost:1337
|
|
|
|
|
|
|
|
```bash
|
|
|
|
gulp
|
|
|
|
```
|
|
|
|
|
2015-09-12 23:26:54 +02:00
|
|
|
Or only compile new dist files with `gulp build`.
|
2015-09-12 23:11:22 +02:00
|
|
|
|
|
|
|
|
|
|
|
# The MIT License (MIT)
|
|
|
|
|
|
|
|
Copyright (c) 2015 Matthias Kretschmann
|
|
|
|
|
|
|
|
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.
|