+
+
+
+
@@ -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',
+ }
+ };
}
}
}