diff --git a/src/js/controllers/tab-home.js b/src/js/controllers/tab-home.js index 40e391708..a92f08670 100644 --- a/src/js/controllers/tab-home.js +++ b/src/js/controllers/tab-home.js @@ -155,6 +155,14 @@ angular.module('copayApp.controllers').controller('tabHomeController', externalLinkService.open(url, optIn, title, message, okText, cancelText); }; + $scope.openURL = function(url) { + if (platformInfo.isNW) { + require('nw.gui').Shell.openExternal( url ); + } else { + window.open(url, '_system'); + } + }; + $scope.openNotificationModal = function(n) { wallet = profileService.getWallet(n.walletId); diff --git a/src/sass/views/tab-home.scss b/src/sass/views/tab-home.scss index a52ef159d..46fb15224 100644 --- a/src/sass/views/tab-home.scss +++ b/src/sass/views/tab-home.scss @@ -58,6 +58,13 @@ } } } + &-banner { + padding: 0; + &__img { + width: 100%; + display: block; + } + } } .wallet-coin-logo { vertical-align: middle; diff --git a/www/img/banner-store.png b/www/img/banner-store.png new file mode 100644 index 000000000..8be30c29c Binary files /dev/null and b/www/img/banner-store.png differ diff --git a/www/views/tab-home.html b/www/views/tab-home.html index 262ad0b4a..77411be14 100644 --- a/www/views/tab-home.html +++ b/www/views/tab-home.html @@ -85,6 +85,12 @@ +
+