From 53b81dc4118bbd0d9b12b945e8cacdc532a844c7 Mon Sep 17 00:00:00 2001 From: aeddaqqa Date: Mon, 19 Aug 2024 13:27:31 +0100 Subject: [PATCH] feat(wallet): update Terms & Conditions for Camino Wallet --- src/components/misc/ToS.vue | 12 +- src/components/misc/ToSContent.vue | 1668 +++++++++++----------------- src/views/mountLegal.ts | 12 + webpack.common.js | 1 + 4 files changed, 677 insertions(+), 1016 deletions(-) create mode 100644 src/views/mountLegal.ts diff --git a/src/components/misc/ToS.vue b/src/components/misc/ToS.vue index 7be92b2b2..f92e40cea 100644 --- a/src/components/misc/ToS.vue +++ b/src/components/misc/ToS.vue @@ -2,21 +2,19 @@

By using this application you agree to the - - Terms of Use. - + Terms of Use.

diff --git a/src/components/misc/ToSContent.vue b/src/components/misc/ToSContent.vue index 038c6cb83..c9804d3c6 100644 --- a/src/components/misc/ToSContent.vue +++ b/src/components/misc/ToSContent.vue @@ -1,1032 +1,645 @@ diff --git a/src/views/mountLegal.ts b/src/views/mountLegal.ts new file mode 100644 index 000000000..ef1fcc211 --- /dev/null +++ b/src/views/mountLegal.ts @@ -0,0 +1,12 @@ +import Vue from 'vue' +import Legal from './Legal.vue' +import 'vue-datetime/dist/vue-datetime.css' + +export const mountLegal = (el: string) => { + const app = new Vue({ + render: (createElement) => { + return createElement(Legal) + }, + }) + app.$mount(el) +} diff --git a/webpack.common.js b/webpack.common.js index 08cc52355..c18169ce7 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -83,6 +83,7 @@ module.exports = { './mountCreateOfferForm': './src/components/wallet/earn/mountCreateOfferForm.ts', './caminoClient': './src/AVA.ts', './mountVerifyWalletSetting': './src/views/mountVerifyWalletSetting.ts', + './mountLegal': './src/views/mountLegal.ts', }, }), new HtmlWebPackPlugin({