From d69de17f2d2aa80a1c005ce4b7a27518d07206f0 Mon Sep 17 00:00:00 2001 From: Esteban Date: Wed, 19 Jun 2024 13:59:21 -0400 Subject: [PATCH] update domain --- 404.html | 497 ------------------------------------------- CNAME | 2 +- index.html | 500 -------------------------------------------- latest.js => pay.js | 14 +- readme.md | 8 +- wall.html | 472 ----------------------------------------- 6 files changed, 9 insertions(+), 1484 deletions(-) delete mode 100644 404.html delete mode 100644 index.html rename latest.js => pay.js (99%) delete mode 100644 wall.html diff --git a/404.html b/404.html deleted file mode 100644 index 9212cfc..0000000 --- a/404.html +++ /dev/null @@ -1,497 +0,0 @@ - - - - - - - - NanoPay.js - Web Payments Library - - - - - - - - - - - - -

Non-custodial, back-end agnostic DOM monetization browser library. Easily monetize any DOM element with Nano currency.

- - - -
-

NanoPay.js

- -
-
- - - -
-
-
- - - -
- - - - - - - - diff --git a/CNAME b/CNAME index 5f421a7..b00caaf 100644 --- a/CNAME +++ b/CNAME @@ -1 +1 @@ -pay.nano.to \ No newline at end of file +cdn.nano.to \ No newline at end of file diff --git a/index.html b/index.html deleted file mode 100644 index a6c8f2b..0000000 --- a/index.html +++ /dev/null @@ -1,500 +0,0 @@ - - - - - - - - NanoPay.js - Web Payments Library - - - - - - - - - - - - -

Non-custodial, back-end agnostic DOM monetization browser library. Easily monetize any DOM element with Nano currency.

- - - -
-

NanoPay.js

- -
-
- - - -
-
-
- - - -
- - - - - - - - diff --git a/latest.js b/pay.js similarity index 99% rename from latest.js rename to pay.js index 1e57f9f..9903023 100644 --- a/latest.js +++ b/pay.js @@ -585,10 +585,10 @@ var countries = config.contries || shipping_countries var wallets = { - nault: { image: 'https://pay.nano.to/img/nault.png', name: 'Nault' }, - natrium: { image: 'https://pay.nano.to/img/natrium.png', name: 'Natrium' }, - nautilus: { image: 'https://pay.nano.to/img/nautilus.png', name: 'Nautilus' }, - cake: { image: 'https://pay.nano.to/img/cake.png', name: 'Cake Wallet' }, + nault: { image: 'https://cdn.nano.to/img/nault.png', name: 'Nault' }, + natrium: { image: 'https://cdn.nano.to/img/natrium.png', name: 'Natrium' }, + nautilus: { image: 'https://cdn.nano.to/img/nautilus.png', name: 'Nautilus' }, + cake: { image: 'https://cdn.nano.to/img/cake.png', name: 'Cake Wallet' }, } var strings = { @@ -629,7 +629,7 @@ function show_loading(bool) { if (bool) { - var loaderCSS = `#nano-pay-backdrop-initial { background: ${backdrop_background}; width: 100%; height: 100%; position: fixed; z-index: 99999999; top: 0; opacity: 0.7; background-image: url('https://pay.nano.to/img/loader.gif'); background-size: 50px; background-position: center; background-repeat: no-repeat; }` + var loaderCSS = `#nano-pay-backdrop-initial { background: ${backdrop_background}; width: 100%; height: 100%; position: fixed; z-index: 99999999; top: 0; opacity: 0.7; background-image: url('https://cdn.nano.to/img/loader.gif'); background-size: 50px; background-position: center; background-repeat: no-repeat; }` addStyleIfNotExists(loaderCSS) var loadingDiv = document.createElement('div'); loadingDiv.id = 'nano-pay-backdrop-initial'; @@ -1056,7 +1056,7 @@ if (block && block.block) { var success_el = document.getElementById('nano-pay-submit-image') var success_text = document.getElementById('nano-pay-submit-text') - if (success_el) success_el.src = 'https://pay.nano.to/img/success.gif?v=3' + if (success_el) success_el.src = 'https://cdn.nano.to/img/success.gif?v=3' if (success_text) success_text.innerText = 'Success' if (config.success) { setTimeout(async () => { @@ -1276,7 +1276,7 @@ all[i].innerHTML = '' - let code = `
${ original_text || strings.button }
` + let code = `
${ original_text || strings.button }
` item.innerHTML += code diff --git a/readme.md b/readme.md index 2ae8277..1ad9b32 100644 --- a/readme.md +++ b/readme.md @@ -16,14 +16,8 @@ ### Install -**Local:** ```html - -``` - -**CDN:** -```html - + ``` ![line](https://github.com/fwd/n2/raw/master/.github/line.png) diff --git a/wall.html b/wall.html deleted file mode 100644 index 1df3b33..0000000 --- a/wall.html +++ /dev/null @@ -1,472 +0,0 @@ - - - - - - - - NanoPay.js - Nano Web Payments - - - - - - - - - - -

Non-custodial, back-end agnostic DOM monetization browser library. Easily monetize any DOM element with Nano currency.

- - - -
-

NanoPay.js

-
- -
- - Lorem ipsum dolor sit, amet consectetur, adipisicing elit. Amet tenetur ab reprehenderit temporibus, illum recusandae nostrum iusto omnis repellendus id quae ullam reiciendis dolorem aliquam fuga, tempora iste animi. - -
- - - - - - - \ No newline at end of file