Browse Source

updated urls for lnd-admin and btcpay

master
Dan Janosik 4 years ago
parent
commit
50061251c2
No known key found for this signature in database GPG Key ID: C6F8CE9FFDB2CED2
  1. 7
      app/config.js
  2. 4
      views/includes/donation-modal.pug
  3. 2
      views/layout.pug

7
app/config.js

@ -180,7 +180,7 @@ module.exports = {
links:[ links:[
{name: "Bitcoin Explorer", url:"https://explorer.btc21.org", imgUrl:"/img/logo/btc.svg"}, {name: "Bitcoin Explorer", url:"https://explorer.btc21.org", imgUrl:"/img/logo/btc.svg"},
{name: "Testnet Explorer", url:"https://testnet.btc21.org", imgUrl:"/img/logo/tbtc.svg"}, {name: "Testnet Explorer", url:"https://testnet.btc21.org", imgUrl:"/img/logo/tbtc.svg"},
{name: "LND Admin", url:"https://lnd-admin.chaintools.io", imgUrl:"/img/logo/lnd-admin.png"}, {name: "LND Admin", url:"https://lnd-admin.btc21.org", imgUrl:"/img/logo/lnd-admin.png"},
//{name: "Litecoin Explorer", url:"https://ltc.chaintools.io", imgUrl:"/img/logo/ltc.svg"}, //{name: "Litecoin Explorer", url:"https://ltc.chaintools.io", imgUrl:"/img/logo/ltc.svg"},
//{name: "Lightning Explorer", url:"https://lightning.chaintools.io", imgUrl:"/img/logo/lightning.svg"}, //{name: "Lightning Explorer", url:"https://lightning.chaintools.io", imgUrl:"/img/logo/lightning.svg"},
] ]
@ -220,10 +220,7 @@ module.exports = {
sites:{"BTC":"https://explorer.btc21.org"} sites:{"BTC":"https://explorer.btc21.org"}
}, },
btcpayserver:{ btcpayserver:{
host:"https://donate.btc21.org", host:"https://donate.btc21.org"
storeId:"26k74KRh7RYmJcMDqvmdKTb2h3991FMTZSM4GJHnX6st",
notifyEmail:"chaintools.io@gmail.com",
customAmountUrl: "https://donate.btc21.org/apps/2TBP2GuQnYXGBiHQkmf4jNuMh6eN/pos"
} }
} }
}; };

4
views/includes/donation-modal.pug

@ -11,9 +11,9 @@
h6.mb-3 Thanks h6.mb-3 Thanks
if (config.donations.btcpayserver) if (config.donations.btcpayserver)
if (config.donations.btcpayserver.customAmountUrl) if (config.donations.btcpayserver.host)
div div
a.btn.btn-primary(href=config.donations.btcpayserver.customAmountUrl) Donate a.btn.btn-primary(href=config.donations.btcpayserver.host) Donate
if (false) if (false)
h6 h6

2
views/layout.pug

@ -218,7 +218,7 @@ html(lang="en")
a.mr-2(href=demoSite.url, title=demoSite.title) a.mr-2(href=demoSite.url, title=demoSite.title)
img(src=demoSite.logoUrl, alt=demoSite.title) img(src=demoSite.logoUrl, alt=demoSite.title)
a.mr-2(href="https://lnd-admin.chaintools.io", title="LND Admin") a.mr-2(href="https://lnd-admin.btc21.org", title="LND Admin")
img(src=("/img/logo/lnd-admin.png"), style="width: 32px; height: 32px;", alt="LND Admin") img(src=("/img/logo/lnd-admin.png"), style="width: 32px; height: 32px;", alt="LND Admin")
div.col-md-7.text-md-right div.col-md-7.text-md-right

Loading…
Cancel
Save