Skip to content

Commit

Permalink
ADD: btc marketplace
Browse files Browse the repository at this point in the history
  • Loading branch information
Overtorment committed Aug 26, 2019
1 parent 46c68f1 commit e9b2419
Show file tree
Hide file tree
Showing 8 changed files with 377 additions and 2 deletions.
4 changes: 2 additions & 2 deletions buy-bitcoin-redirect.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
jsonpCallback: "callback",
dataType: "jsonp",
error: function(){
window.location = 'https://old.changelly.com/?ref_id=rtagfcvnwiwvhm99';
window.location = 'https://changenow.io?link_id=7ccc7c1c261e17';
},
success: function( location ) {
console.log('country_code', location.country_code);
Expand All @@ -62,7 +62,7 @@

window.location = safello_url
} else {
window.location = 'https://old.changelly.com/?ref_id=rtagfcvnwiwvhm99';
window.location = 'https://changenow.io?link_id=7ccc7c1c261e17';
}
}
});
Expand Down
8 changes: 8 additions & 0 deletions marketplace-btc/.idea/marketplace-btc.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions marketplace-btc/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions marketplace-btc/.idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions marketplace-btc/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

155 changes: 155 additions & 0 deletions marketplace-btc/.idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

94 changes: 94 additions & 0 deletions marketplace-btc/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
<!doctype html>
<html lang="en">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-120614437-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'UA-120614437-1');
</script>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-THXFDZM');</script>
<!-- End Google Tag Manager -->

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="marketplace.css">
</head>

<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-THXFDZM"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->

<div class="container">

<div class="row"> <!-- start -->
<a href="https://bluewallet.io/buy-bitcoin-redirect.html?address=" id="append_address_here">
<div class="grid-container buy-bitcoin">
<div class="appicon">
<img>
</div>
<div class="apptext">
<h2>Buy Bitcoin</h2>
<p>Instantly, with credit card and low fees</p>
</div>
</div>
</a>
</div> <!-- end -->

<div class="section first"> <!-- section start -->
<h3>Services</h3>
</div> <!-- section end -->

<div class="row"> <!-- start -->
<a href="https://changenow.io?link_id=7ccc7c1c261e17">
<div class="grid-container">
<div class="appicon">
<img src="">
</div>
<div class="apptext">
<h2>ChangeNow</h2>
<p>Fast crypto swaps free of custody</p>
</div>
</div>
</a>
</div> <!-- end -->

<div class="row"> <!-- start -->
<a href="https://www.binance.com/en/markets?ref=36688569">
<div class="grid-container">
<div class="appicon">
<img src="">
</div>
<div class="apptext">
<h2>Trade on Binance</h2>
<p>Binance is a global cryptocurrency exchange that provides a platform for trading more than 100 cryptocurrencies</p>
</div>
</div>
</a>
</div> <!-- end -->
</div>

<script>
// if address is present we need to pass it to buy-bitcoin redirect so Safello (or someone else)
// can use it when paying out bought coins

var u = new URLSearchParams(window.location.search);
var address = u.get('address') || '';
if (address) {
let element = document.getElementById('append_address_here');
element.href = element.href + address;
}
</script>

</body>
</html>
Loading

0 comments on commit e9b2419

Please sign in to comment.