Adds faucet link

This commit is contained in:
Sam Cheng Hung 2018-05-24 14:57:34 +08:00
commit e03aab0962
4 changed files with 136 additions and 0 deletions

View file

@ -16,6 +16,13 @@ angular.module('copayApp.services').factory('bitcoincomService', function($http,
credentials.BITPAY_API_URL = "https://bitpay.com";
};
var faucetItem = {
name: 'faucet',
title: 'Free Bitcoin Cash',
icon: 'icon-faucet',
href: 'https://free.bitcoin.com/'
};
var cashGamesItem = {
name: 'games',
title: 'Bitcoin Cash Games',
@ -70,6 +77,7 @@ angular.module('copayApp.services').factory('bitcoincomService', function($http,
};
var register = function() {
nextStepsService.register(faucetItem);
nextStepsService.register(cashGamesItem);
nextStepsService.register(newsItem);
nextStepsService.register(poolItem);

View file

@ -83,6 +83,11 @@
background-color: #1da1f2;
background-size: 60%;
}
&.icon-faucet {
background-image: url('../img/icon-faucet.svg');
background-size: 70%;
}
}
}