@ozdao/martyrs 0.2.428 → 0.2.430
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/community.server.js +1 -1
- package/dist/community.server.mjs +1 -1
- package/dist/events.server.js +1 -1
- package/dist/events.server.mjs +1 -1
- package/dist/gallery.server.js +1 -1
- package/dist/gallery.server.mjs +1 -1
- package/dist/{globals.logger-Deb_8o7C.mjs → globals.cache-BT6q3vOf.mjs} +0 -33
- package/dist/{globals.logger-BuG0pN80.js → globals.cache-CwWvNGFQ.js} +0 -33
- package/dist/globals.logger-BdjooLaD.js +34 -0
- package/dist/globals.logger-DusiFsxN.mjs +35 -0
- package/dist/martyrs/src/modules/chats/components/pages/ChatPage.vue.cjs +13 -3
- package/dist/martyrs/src/modules/chats/components/pages/ChatPage.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/chats/components/pages/ChatPage.vue.js +14 -4
- package/dist/martyrs/src/modules/chats/components/pages/ChatPage.vue.js.map +1 -1
- package/dist/martyrs/src/modules/chats/components/sections/ChatWindow.vue.cjs +24 -6
- package/dist/martyrs/src/modules/chats/components/sections/ChatWindow.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/chats/components/sections/ChatWindow.vue.js +25 -7
- package/dist/martyrs/src/modules/chats/components/sections/ChatWindow.vue.js.map +1 -1
- package/dist/martyrs/src/modules/chats/store/chat.store.cjs +7 -8
- package/dist/martyrs/src/modules/chats/store/chat.store.cjs.map +1 -1
- package/dist/martyrs/src/modules/chats/store/chat.store.js +7 -8
- package/dist/martyrs/src/modules/chats/store/chat.store.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/classes/globals.websocket.cjs +6 -8
- package/dist/martyrs/src/modules/globals/views/classes/globals.websocket.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/classes/globals.websocket.js +6 -8
- package/dist/martyrs/src/modules/globals/views/classes/globals.websocket.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs +11 -8
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js +11 -8
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.cjs +5 -5
- package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.js +5 -5
- package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.cjs +17 -9
- package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.js +17 -9
- package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Sidebar.vue.cjs +16 -4
- package/dist/martyrs/src/modules/globals/views/components/partials/Sidebar.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Sidebar.vue.js +16 -4
- package/dist/martyrs/src/modules/globals/views/components/partials/Sidebar.vue.js.map +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/sections/SectionMenu.vue.cjs +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/sections/SectionMenu.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/sections/SectionMenu.vue.js +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/sections/SectionMenu.vue.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.cjs +7 -1
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js +7 -1
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderBackoffice.vue.cjs +112 -0
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderBackoffice.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderBackoffice.vue.js +112 -0
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderBackoffice.vue.js.map +1 -0
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +2 -2
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.cjs +18 -12
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js +18 -12
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +200 -92
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +213 -105
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.cjs +9 -12
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +10 -13
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +14 -6
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +23 -15
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.cjs +16 -99
- package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js +16 -99
- package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/partials/ShopCart.vue.cjs +2 -2
- package/dist/martyrs/src/modules/orders/components/partials/ShopCart.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/components/partials/ShopCart.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/partials/ShopCart.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs +99 -99
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +102 -102
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormPayment.vue.cjs +14 -8
- package/dist/martyrs/src/modules/orders/components/sections/FormPayment.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormPayment.vue.js +15 -9
- package/dist/martyrs/src/modules/orders/components/sections/FormPayment.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/store/orders.cjs +51 -0
- package/dist/martyrs/src/modules/orders/store/orders.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/store/orders.js +51 -0
- package/dist/martyrs/src/modules/orders/store/orders.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs +59 -56
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +63 -60
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/store/organizations.cjs +0 -2
- package/dist/martyrs/src/modules/organizations/store/organizations.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/store/organizations.js +1 -3
- package/dist/martyrs/src/modules/organizations/store/organizations.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.cjs +4 -3
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +5 -4
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js.map +1 -1
- package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.cjs +15 -12
- package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.js +15 -12
- package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.js.map +1 -1
- package/dist/martyrs/src/modules/spots/store/spots.cjs +2 -2
- package/dist/martyrs/src/modules/spots/store/spots.cjs.map +1 -1
- package/dist/martyrs/src/modules/spots/store/spots.js +2 -2
- package/dist/martyrs/src/modules/spots/store/spots.js.map +1 -1
- package/dist/martyrs.css +1 -1
- package/dist/orders.server.js +11 -4
- package/dist/orders.server.mjs +10 -3
- package/dist/organizations.server.js +33 -30
- package/dist/organizations.server.mjs +33 -30
- package/dist/products.server.js +1 -1
- package/dist/products.server.mjs +1 -1
- package/dist/{queryProcessor-CCmHM0yi.mjs → queryProcessor-CWnMIe2U.mjs} +4 -1
- package/dist/{queryProcessor-CwQakZkT.js → queryProcessor-D6GuKfTV.js} +4 -1
- package/dist/rents.server.js +4 -3
- package/dist/rents.server.mjs +3 -2
- package/dist/spots.server.js +41 -12
- package/dist/spots.server.mjs +41 -12
- package/dist/style.css +57 -65
- package/dist/wallet.server.js +1 -1
- package/dist/wallet.server.mjs +1 -1
- package/package.json +1 -1
- package/src/modules/chats/components/pages/ChatPage.vue +18 -23
- package/src/modules/chats/components/sections/ChatWindow.vue +55 -38
- package/src/modules/chats/store/chat.store.js +20 -21
- package/src/modules/globals/controllers/utils/queryProcessor.js +2 -1
- package/src/modules/globals/views/classes/globals.websocket.js +10 -11
- package/src/modules/globals/views/components/layouts/Client.vue +21 -15
- package/src/modules/globals/views/components/partials/Header.vue +3 -4
- package/src/modules/globals/views/components/partials/Navigation.vue +17 -19
- package/src/modules/globals/views/components/partials/Sidebar.vue +20 -9
- package/src/modules/marketplace/views/components/sections/SectionMenu.vue +1 -1
- package/src/modules/notifications/components/elements/NotificationBadge.vue +7 -0
- package/src/modules/orders/components/blocks/CardOrderBackoffice.vue +106 -0
- package/src/modules/orders/components/blocks/CardOrderItem.vue +2 -2
- package/src/modules/orders/components/blocks/CardOrderUser.vue +16 -9
- package/src/modules/orders/components/pages/OrderBackoffice.vue +146 -77
- package/src/modules/orders/components/pages/OrderCreate.vue +7 -12
- package/src/modules/orders/components/pages/OrderCreateBackoffice.vue +15 -3
- package/src/modules/orders/components/pages/Orders.vue +10 -93
- package/src/modules/orders/components/partials/ShopCart.vue +2 -2
- package/src/modules/orders/components/sections/FormDelivery.vue +35 -43
- package/src/modules/orders/components/sections/FormPayment.vue +17 -7
- package/src/modules/orders/controllers/orders.controller.js +12 -1
- package/src/modules/orders/store/orders.js +65 -0
- package/src/modules/organizations/components/pages/Organization.vue +48 -47
- package/src/modules/organizations/controllers/organizations.controller.js +57 -47
- package/src/modules/organizations/store/organizations.js +6 -6
- package/src/modules/products/components/pages/Products.vue +4 -3
- package/src/modules/spots/components/blocks/CardSpot.vue +8 -7
- package/src/modules/spots/controllers/spots.controller.js +47 -14
- package/src/modules/spots/routes/spots.routes.js +2 -3
- package/src/modules/spots/store/spots.js +4 -4
- package/src/styles/base/shadow_transitions_hover_refactor.scss +1 -0
- package/src/modules/landing/components/sections/HowToBuyWDR.vue +0 -130
- package/src/modules/landing/components/sections/WhatIsWDRSection.vue +0 -116
|
@@ -1,6 +1,52 @@
|
|
|
1
|
+
const queryProcessorGlobals = require('@martyrs/src/modules/globals/controllers/utils/queryProcessor');
|
|
2
|
+
|
|
3
|
+
|
|
1
4
|
const controllerFactory = (db) => {
|
|
2
5
|
const Spot = db.spot;
|
|
3
6
|
|
|
7
|
+
const read = async (req, res) => {
|
|
8
|
+
|
|
9
|
+
let stages = [
|
|
10
|
+
...queryProcessorGlobals.getBasicOptions(
|
|
11
|
+
req.query
|
|
12
|
+
),
|
|
13
|
+
// Tags
|
|
14
|
+
...queryProcessorGlobals.getTagsOptions(req.query.tags),
|
|
15
|
+
// For creator
|
|
16
|
+
queryProcessorGlobals.getCreatorUserLookupStage(),
|
|
17
|
+
queryProcessorGlobals.getCreatorOrganizationLookupStage(),
|
|
18
|
+
queryProcessorGlobals.getCreatorCustomerLookupStage(),
|
|
19
|
+
// For owner
|
|
20
|
+
queryProcessorGlobals.getOwnerUserLookupStage(),
|
|
21
|
+
queryProcessorGlobals.getOwnerOrganizationLookupStage(),
|
|
22
|
+
queryProcessorGlobals.getAddFieldsCreatorOwnerStage(),
|
|
23
|
+
queryProcessorGlobals.removeTempPropeties(),
|
|
24
|
+
// Pagination
|
|
25
|
+
...queryProcessorGlobals.getSortingOptions(
|
|
26
|
+
req.query.sortParam,
|
|
27
|
+
req.query.sortOrder,
|
|
28
|
+
),
|
|
29
|
+
...queryProcessorGlobals.getPaginationOptions(
|
|
30
|
+
req.query.skip,
|
|
31
|
+
req.query.limit
|
|
32
|
+
)
|
|
33
|
+
];
|
|
34
|
+
|
|
35
|
+
try {
|
|
36
|
+
const spots = await Spot.aggregate(stages);
|
|
37
|
+
|
|
38
|
+
if (!spots) {
|
|
39
|
+
return res.status(404).send({ errorCode: "SPOTS_NOT_FOUND", message: "Spots not found." });
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
res.status(200).send(spots);
|
|
43
|
+
|
|
44
|
+
} catch (err) {
|
|
45
|
+
console.log(err);
|
|
46
|
+
res.status(500).send({ errorCode: "GET_SPOTS_FAILED", message: "Error occurred while fetching spots.", error: err });
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
|
|
4
50
|
const readOne = (req, res) => {
|
|
5
51
|
Spot.findOne({_id: req.params._id})
|
|
6
52
|
.then(spot => {
|
|
@@ -14,19 +60,6 @@ const controllerFactory = (db) => {
|
|
|
14
60
|
});
|
|
15
61
|
};
|
|
16
62
|
|
|
17
|
-
const read = (req, res) => {
|
|
18
|
-
Spot.find({ organization: req.params._id })
|
|
19
|
-
.then(spots => {
|
|
20
|
-
if (!spots) {
|
|
21
|
-
return res.status(404).send({ message: "Spots not found" });
|
|
22
|
-
}
|
|
23
|
-
res.send(spots);
|
|
24
|
-
})
|
|
25
|
-
.catch(err => {
|
|
26
|
-
res.status(500).send({ message: err.message });
|
|
27
|
-
});
|
|
28
|
-
};
|
|
29
|
-
|
|
30
63
|
const create = async (req, res) => {
|
|
31
64
|
try {
|
|
32
65
|
const newSpot = new Spot({
|
|
@@ -69,8 +102,8 @@ const controllerFactory = (db) => {
|
|
|
69
102
|
};
|
|
70
103
|
|
|
71
104
|
return {
|
|
72
|
-
readOne,
|
|
73
105
|
read,
|
|
106
|
+
readOne,
|
|
74
107
|
create,
|
|
75
108
|
update,
|
|
76
109
|
delete: deleteSpot
|
|
@@ -4,9 +4,8 @@ const controllerFactory = require("../controllers/spots.controller");
|
|
|
4
4
|
module.exports = function(app, db) {
|
|
5
5
|
const controller = controllerFactory(db);
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
app.get("/api/spots", controller.read);
|
|
8
|
+
|
|
10
9
|
// Get spot by _id
|
|
11
10
|
app.get("/api/spots/get/:_id", controller.readOne);
|
|
12
11
|
|
|
@@ -46,16 +46,16 @@ const actions = {
|
|
|
46
46
|
setError(error);
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
|
-
async read(
|
|
49
|
+
async read(options) {
|
|
50
50
|
try {
|
|
51
|
-
const response = await $axios.get(`/api/spots
|
|
52
|
-
|
|
51
|
+
const response = await $axios.get(`/api/spots`, { params: options });
|
|
53
52
|
state.spots = response.data;
|
|
54
|
-
return response.data
|
|
53
|
+
return response.data;
|
|
55
54
|
} catch (error) {
|
|
56
55
|
setError(error);
|
|
57
56
|
}
|
|
58
57
|
},
|
|
58
|
+
|
|
59
59
|
async create(organizationId, spot) {
|
|
60
60
|
try {
|
|
61
61
|
const response = await $axios.post(`/api/spots/${organizationId}/create`, spot);
|
|
@@ -13,6 +13,7 @@ body {
|
|
|
13
13
|
.hover-bg-white {&:hover {background: rgb(var(--white), 1);; } }
|
|
14
14
|
.hover-bg-black {&:hover {background: rgb(var(--black), 1);; } }
|
|
15
15
|
.hover-bg-light {&:hover {background: rgb(var(--light), 1);; } }
|
|
16
|
+
.hover-bg-dark {&:hover {background: rgb(var(--dark), 1);; } }
|
|
16
17
|
|
|
17
18
|
|
|
18
19
|
.hover-fill-main {&:hover {fill: rgb(var(--main)); } }
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<section id="howtoget" class="cols-2 gap-thin">
|
|
3
|
-
<div class="pd-big bg-main radius-medium">
|
|
4
|
-
<h2 class="mn-b-small">{{ t('buyTokenTitle') }}</h2>
|
|
5
|
-
<p class="mn-b-semi p-big t-transp">{{ t('description') }}</p>
|
|
6
|
-
<h3 class="mn-b-small">{{ t('purchaseDetailsTitle') }}</h3>
|
|
7
|
-
<ol class="mn-b-big">
|
|
8
|
-
<li class="mn-b-small radius-small bg-black-transp-5 pd-small">{{ t('step1') }}</li>
|
|
9
|
-
<li class="mn-b-small radius-small bg-black-transp-5 pd-small">{{ t('step2') }}</li>
|
|
10
|
-
<li class="mn-b-small radius-small bg-black-transp-5 pd-small">{{ t('step3') }}</li>
|
|
11
|
-
<li class="mn-b-small radius-small bg-black-transp-5 pd-small">{{ t('step4') }}</li>
|
|
12
|
-
</ol>
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
<h4 class="mn-b-small">{{ t('privateRoundTitle') }}</h4>
|
|
16
|
-
|
|
17
|
-
{{ t('privateRoundText1') }}
|
|
18
|
-
<a>hello@weeder.delivery</a>
|
|
19
|
-
{{ t('privateRoundText2') }}
|
|
20
|
-
</div>
|
|
21
|
-
|
|
22
|
-
<div class="flex-column pd-big flex-nowrap flex h-100 bg-light radius-medium o-hidden coming-soon">
|
|
23
|
-
<div class="
|
|
24
|
-
w-100 h-100
|
|
25
|
-
rainbow
|
|
26
|
-
flex-v-center flex-h-center
|
|
27
|
-
flex-column flex
|
|
28
|
-
pd-big mn-b-medium
|
|
29
|
-
radius-medium o-hidden"
|
|
30
|
-
>
|
|
31
|
-
<img loading="lazy" class="mn-b-small" src="/logo/logo-disabled.png">
|
|
32
|
-
<p class="t-semi uppercase">{{ t('comingSoon') }}</p>
|
|
33
|
-
</div>
|
|
34
|
-
<p class="mn-b-small">
|
|
35
|
-
To add WDT, you need to install MetaMask. Please install it if you haven't already.
|
|
36
|
-
</p>
|
|
37
|
-
<ConnectMetamask class="w-100" />
|
|
38
|
-
</div>
|
|
39
|
-
</section>
|
|
40
|
-
</template>
|
|
41
|
-
|
|
42
|
-
<script setup>
|
|
43
|
-
import { useI18n } from 'vue-i18n';
|
|
44
|
-
|
|
45
|
-
import ConnectMetamask from '@martyrs/src/modules/wallet/views/components/elements/ConnectMetamask.vue'
|
|
46
|
-
|
|
47
|
-
const text = {
|
|
48
|
-
messages: {
|
|
49
|
-
en: {
|
|
50
|
-
howToBuyTitle: 'How To Buy WDT?',
|
|
51
|
-
description:
|
|
52
|
-
'Weeder Token is a revolutionary cryptocurrency designed for the cannabis industry. With Weeder Token, you can easily buy, sell and trade cannabis products around the world.',
|
|
53
|
-
purchaseDetailsTitle: 'Purchasing details:',
|
|
54
|
-
step1: 'Create a cryptocurrency wallet that supports ERC20 tokens.',
|
|
55
|
-
step2: 'Buy Ethereum (ETH) or any other supported cryptocurrency.',
|
|
56
|
-
step3: 'Transfer your ETH or other cryptocurrency to your wallet.',
|
|
57
|
-
step4: 'Visit our token sale platform (coming soon) and follow the instructions to purchase WDT tokens.',
|
|
58
|
-
privateRoundTitle: 'Interested in a private round?',
|
|
59
|
-
privateRoundText1: 'If you want to participate in a private round, please email us at',
|
|
60
|
-
privateRoundText2: 'and we will get back to you with more information.',
|
|
61
|
-
buyTokenTitle: 'Buy Weeder Token',
|
|
62
|
-
comingSoon: 'Here will be UI for exchange WDT',
|
|
63
|
-
},
|
|
64
|
-
ru: {
|
|
65
|
-
howToBuyTitle: 'Как купить WDT?',
|
|
66
|
-
description:
|
|
67
|
-
'Weeder Token - это революционная криптовалюта, разработанная для индустрии каннабиса. С Weeder Token вы можете легко покупать, продавать и обменивать продукты каннабиса по всему миру.',
|
|
68
|
-
purchaseDetailsTitle: 'Процесс покупки:',
|
|
69
|
-
step1: '1. Создайте криптовалютный кошелек, поддерживающий токены ERC20.',
|
|
70
|
-
step2: '2. Купите Ethereum (ETH) или другую поддерживаемую криптовалюту.',
|
|
71
|
-
step3: '3. Переведите свои ETH или другую криптовалюту на свой кошелек.',
|
|
72
|
-
step4: '4. Посетите нашу платформу продажи токенов (скоро будет доступна) и следуйте инструкциям для покупки токенов WDT.',
|
|
73
|
-
privateRoundTitle: 'Хотите участвовать в приватном раунде?',
|
|
74
|
-
privateRoundText1: 'Если вы хотите участвовать в приватном раунде, пожалуйста, напишите нам на почту',
|
|
75
|
-
privateRoundText2: 'и мы свяжемся с вами с дополнительной информацией.',
|
|
76
|
-
buyTokenTitle: 'Купить Weeder Token',
|
|
77
|
-
comingSoon: 'Здесь будет интерфейс для обмена WDT',
|
|
78
|
-
},
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
const { t } = useI18n(text);
|
|
83
|
-
</script>
|
|
84
|
-
|
|
85
|
-
<style lang="scss" scoped>
|
|
86
|
-
.weeder-token {
|
|
87
|
-
display: flex;
|
|
88
|
-
justify-content: space-between;
|
|
89
|
-
align-items: flex-start;
|
|
90
|
-
padding: 20px;
|
|
91
|
-
max-width: 800px;
|
|
92
|
-
margin: auto;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.content {
|
|
96
|
-
flex: 1;
|
|
97
|
-
margin-right: 20px;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.purchase-form {
|
|
101
|
-
flex: 1;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.rainbow {
|
|
105
|
-
position: relative;
|
|
106
|
-
z-index: 0;
|
|
107
|
-
padding: 2rem;
|
|
108
|
-
|
|
109
|
-
&::before {
|
|
110
|
-
content: '';
|
|
111
|
-
position: absolute;
|
|
112
|
-
z-index: -2;
|
|
113
|
-
left: -50%;
|
|
114
|
-
top: -50%;
|
|
115
|
-
width: 200%;
|
|
116
|
-
height: 200%;
|
|
117
|
-
background-color: #399953;
|
|
118
|
-
background-repeat: no-repeat;
|
|
119
|
-
background-size: 50% 50%, 50% 50%;
|
|
120
|
-
background-position: 0 0, 100% 0, 100% 100%, 0 100%;
|
|
121
|
-
background-image:
|
|
122
|
-
linear-gradient(#00ff88, #fff),
|
|
123
|
-
linear-gradient(#00ff88, #fff),
|
|
124
|
-
linear-gradient(white, white),
|
|
125
|
-
linear-gradient(white, #fff);
|
|
126
|
-
animation: rotate 4s linear infinite;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
</style>
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<section id="howtobuy" class="section">
|
|
3
|
-
|
|
4
|
-
<div class="mn-b-big t-center title">
|
|
5
|
-
<h2 class="mn-b-small">{{t('title')}}</h2>
|
|
6
|
-
<p class="w-m-60r mn-b-big mn-auto t-transp p-big">
|
|
7
|
-
{{t('subtitle')}}
|
|
8
|
-
</p>
|
|
9
|
-
</div>
|
|
10
|
-
|
|
11
|
-
<div class="cols-3 gap-thin">
|
|
12
|
-
|
|
13
|
-
<div class="w-100 pd-medium bg-light radius-medium">
|
|
14
|
-
<img loading="lazy" class="radius-medium bg-light h-max-20r object-fit-cover w-100 mn-b-medium" src="@/assets/images/howitworks/step1.png">
|
|
15
|
-
<h3 class="mn-b-medium">{{t('steps.step1.headline')}}</h3>
|
|
16
|
-
<p class="t-transp">{{t('steps.step1.text')}}</p>
|
|
17
|
-
</div>
|
|
18
|
-
|
|
19
|
-
<div class="w-100 pd-medium bg-light radius-medium">
|
|
20
|
-
<img loading="lazy" class="radius-medium bg-light h-max-20r object-fit-cover w-100 mn-b-medium" src="@/assets/images/howitworks/step2.png">
|
|
21
|
-
<h3 class="mn-b-medium">{{t('steps.step2.headline')}}</h3>
|
|
22
|
-
<p class="t-transp">{{t('steps.step2.text')}}</p>
|
|
23
|
-
</div>
|
|
24
|
-
|
|
25
|
-
<div class="w-100 pd-medium bg-light radius-medium">
|
|
26
|
-
<img loading="lazy" class="radius-medium bg-light h-max-20r object-fit-cover w-100 mn-b-medium" src="@/assets/images/howitworks/step3.png">
|
|
27
|
-
<h3 class="mn-b-medium">{{t('steps.step3.headline')}}</h3>
|
|
28
|
-
<p class="t-transp">{{t('steps.step3.text')}}</p>
|
|
29
|
-
</div>
|
|
30
|
-
|
|
31
|
-
</div>
|
|
32
|
-
|
|
33
|
-
</section>
|
|
34
|
-
</template>
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
<script setup>
|
|
38
|
-
import { useI18n } from 'vue-i18n'
|
|
39
|
-
|
|
40
|
-
const text = {
|
|
41
|
-
messages: {
|
|
42
|
-
en: {
|
|
43
|
-
title: 'What is Weeder Token?',
|
|
44
|
-
subtitle: 'WDT – the foundation of the Weeder community. It serves as a currency, a DAO instrument, and for many other purposes:',
|
|
45
|
-
steps: {
|
|
46
|
-
step1: {
|
|
47
|
-
headline: 'Currency',
|
|
48
|
-
text: 'WDT can be used as a digital currency within the Weeder ecosystem, allowing users to purchase products such as cannabis, advertising spaces, and other premium features on the platform.',
|
|
49
|
-
},
|
|
50
|
-
step2: {
|
|
51
|
-
headline: 'Instument',
|
|
52
|
-
text: 'As a DAO (Decentralized Autonomous Organization) instrument, WDT enables community governance and decision-making, allowing token holders to propose, discuss, and vote on various initiatives and developments within the Weeder ecosystem.',
|
|
53
|
-
},
|
|
54
|
-
step3: {
|
|
55
|
-
headline: 'Invesment',
|
|
56
|
-
text: 'Holding WDT tokens can provide potential investment returns as the Weeder ecosystem grows and gains value. Additionally, WDT serves for dividend distribution – those who stake their tokens earn income from the platform.',
|
|
57
|
-
},
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
ru: {
|
|
61
|
-
title: 'Что такое Weeder Token?',
|
|
62
|
-
subtitle: 'WDT – основа сообщества Weeder. Он выступает в качестве валюты, инструмента DAO и многих других целей:',
|
|
63
|
-
steps: {
|
|
64
|
-
step1: {
|
|
65
|
-
headline: 'Валюта',
|
|
66
|
-
text: 'WDT можно использовать как цифровую валюту в экосистеме Weeder, позволяя пользователям покупать товары, такие как марихуана, рекламные места и другие премиальные возможности на платформе.',
|
|
67
|
-
},
|
|
68
|
-
step2: {
|
|
69
|
-
headline: 'Инструмент',
|
|
70
|
-
text: 'В качестве инструмента DAO (Децентрализованной Автономной Организации), WDT позволяет управлять сообществом и принимать решения, давая держателям токенов возможность предлагать, обсуждать и голосовать за различные инициативы и развитие в рамках экосистемы Weeder.',
|
|
71
|
-
},
|
|
72
|
-
step3: {
|
|
73
|
-
headline: 'Инвестиции',
|
|
74
|
-
text: 'Хранение токенов WDT может обеспечить потенциальный инвестиционный доход по мере роста и увеличения стоимости экосистемы Weeder. Кроме того, WDT служит для распределения дивидендов – те, кто стейкают свои токены, получают доход с платформы.',
|
|
75
|
-
},
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
const { t } = useI18n(text)
|
|
82
|
-
</script>
|
|
83
|
-
|
|
84
|
-
<style lang="scss">
|
|
85
|
-
|
|
86
|
-
#grid2 {
|
|
87
|
-
transition: 500ms;
|
|
88
|
-
display: grid;
|
|
89
|
-
grid-template-columns: 1fr 1fr 1fr;
|
|
90
|
-
gap: 3px;
|
|
91
|
-
background: crimson;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
:where(.left, .center, .right) {
|
|
95
|
-
background: navajowhite;
|
|
96
|
-
transition: 300ms;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
:where(.left, .center, .right):hover {
|
|
100
|
-
background: crimson;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
#grid2:has(.left:hover) {
|
|
104
|
-
grid-template-columns: 2fr 0.5fr 0.5fr;
|
|
105
|
-
padding: 3rem;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
#grid2:has(.center:hover) {
|
|
109
|
-
grid-template-columns: 0.5fr 2fr 0.5fr;
|
|
110
|
-
padding: 3rem;
|
|
111
|
-
}
|
|
112
|
-
#grid2:has(.right:hover) {
|
|
113
|
-
grid-template-columns: 0.5fr 0.5fr 2fr;
|
|
114
|
-
padding: 3rem;
|
|
115
|
-
}
|
|
116
|
-
</style>
|