diff --git a/.idea/workspace.xml b/.idea/workspace.xml index dd5367e..cda79c8 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,10 +3,6 @@ - - - - diff --git a/public/logo_mono.png b/public/logo_mono.png new file mode 100644 index 0000000..7186ff8 Binary files /dev/null and b/public/logo_mono.png differ diff --git a/src/views/Checkout.vue b/src/views/Checkout.vue index 6ba5d9d..9b91882 100644 --- a/src/views/Checkout.vue +++ b/src/views/Checkout.vue @@ -5,9 +5,12 @@
To buy
Scan this:
-
+
+
+ +
@@ -16,10 +19,11 @@ import DarkLayout from "../components/DarkLayout.vue"; import DomainBar from "../components/DomainBar.vue"; import {get_domain_result, get_ton_link} from "../result"; import QRCodeStyling from 'qr-code-styling'; +import RotateSquare2 from "../components/RotateSquare2.vue"; export default { name: "Checkout", - components: {DomainBar, DarkLayout}, + components: {RotateSquare2, DomainBar, DarkLayout}, props: { domain: { type: String, @@ -50,47 +54,47 @@ export default { ) }, computed: { - loaded () { + loaded() { return this.result !== null && this.ton_link !== null; }, - options () { + options() { if (!this.loaded) { return null; } return { - width: 300, - height: 300, - type: 'svg', - data: this.ton_link.getLink(), - image: '/favicon.png', - margin: 10, - qrOptions: { - typeNumber: 0, - mode: 'Byte', - errorCorrectionLevel: 'Q' - }, - imageOptions: { - hideBackgroundDots: true, - imageSize: 0.4, - margin: 5, - crossOrigin: 'anonymous', - }, - dotsOptions: { - color: '#282e46', - type: 'rounded' - }, - backgroundOptions: { - color: '#ffffff', - }, - cornersSquareOptions: { - color: '#282e46', - type: 'extra-rounded', - }, - cornersDotOptions: { - color: '#282e46', - type: 'dot', - } - }; + width: 300, + height: 300, + type: 'svg', + data: this.ton_link.getLink(), + image: '/logo_mono.png', + margin: 10, + qrOptions: { + typeNumber: 0, + mode: 'Byte', + errorCorrectionLevel: 'Q' + }, + imageOptions: { + hideBackgroundDots: true, + imageSize: 0.4, + margin: 5, + crossOrigin: 'anonymous', + }, + dotsOptions: { + color: '#282e46', + type: 'rounded' + }, + backgroundOptions: { + color: '#ffffff', + }, + cornersSquareOptions: { + color: '#282e46', + type: 'extra-rounded', + }, + cornersDotOptions: { + color: '#282e46', + type: 'dot', + } + }; } } }