@ozdao/prometheus-framework 0.2.92 → 0.2.94

Sign up to get free protection for your applications and to get access to all the features.
Files changed (165) hide show
  1. package/dist/events.server.js +14 -6
  2. package/dist/events.server.mjs +14 -6
  3. package/dist/main-CX2ISR43.mjs +13629 -0
  4. package/dist/main-cffh4bbv.js +92 -0
  5. package/dist/main.css +1 -1
  6. package/dist/orders.server.js +37 -23
  7. package/dist/orders.server.mjs +37 -23
  8. package/dist/organizations.server.js +2 -1
  9. package/dist/organizations.server.mjs +2 -1
  10. package/dist/prometheus-framework/src/components/Address/Address.vue2.cjs +1 -1
  11. package/dist/prometheus-framework/src/components/Address/Address.vue2.js +46 -48
  12. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
  13. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +25 -20
  14. package/dist/prometheus-framework/src/components/Map/Map.vue.cjs +1 -1
  15. package/dist/prometheus-framework/src/components/Map/Map.vue.js +36 -26
  16. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  17. package/dist/prometheus-framework/src/components/Select/Select.vue.js +103 -1
  18. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  19. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +1 -103
  20. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs +1 -1
  21. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +36 -1
  22. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.cjs +1 -1
  23. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.js +1 -36
  24. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  25. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  26. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  27. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +1 -1
  28. package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.cjs +1 -1
  29. package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.js +11 -11
  30. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  31. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
  32. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  33. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +1 -1
  34. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  35. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +45 -45
  36. package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.cjs +2 -2
  37. package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.js +39 -65
  38. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +1 -1
  39. package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +31 -31
  40. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -0
  41. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +242 -0
  42. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue2.cjs +1 -0
  43. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue2.js +1 -0
  44. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
  45. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +62 -62
  46. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  47. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +28 -28
  48. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  49. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +99 -70
  50. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  51. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
  52. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
  53. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
  54. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  55. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +10 -10
  56. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
  57. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  58. package/dist/prometheus-framework/src/modules/orders/router/orders.backoffice.router.cjs +1 -1
  59. package/dist/prometheus-framework/src/modules/orders/router/orders.backoffice.router.js +1 -1
  60. package/dist/prometheus-framework/src/modules/orders/router/orders.router.cjs +1 -1
  61. package/dist/prometheus-framework/src/modules/orders/router/orders.router.js +2 -2
  62. package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
  63. package/dist/prometheus-framework/src/modules/orders/store/orders.js +33 -34
  64. package/dist/prometheus-framework/src/modules/orders/store/shopcart.cjs +1 -1
  65. package/dist/prometheus-framework/src/modules/orders/store/shopcart.js +42 -42
  66. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
  67. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +28 -26
  68. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  69. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +11 -11
  70. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
  71. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +47 -44
  72. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  73. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +162 -168
  74. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  75. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +27 -26
  76. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  77. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +7 -7
  78. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  79. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +1 -1
  80. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  81. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  82. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  83. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
  84. package/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -1
  85. package/dist/prometheus-framework/src/modules/organizations/store/memberships.js +1 -1
  86. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  87. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  88. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
  89. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +13 -13
  90. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  91. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
  92. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  93. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +1 -1
  94. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  95. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +14 -15
  96. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
  97. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +22 -20
  98. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  99. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
  100. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  101. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
  102. package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
  103. package/dist/prometheus-framework/src/modules/products/store/products.js +59 -38
  104. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  105. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +1 -1
  106. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  107. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +23 -22
  108. package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.cjs +1 -1
  109. package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.js +17 -14
  110. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  111. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +1 -1
  112. package/dist/prometheus-framework.cjs.js +1 -1
  113. package/dist/prometheus-framework.es.js +1 -1
  114. package/dist/style.css +1 -1
  115. package/dist/web-CQQEUA9l.js +1 -0
  116. package/dist/web-D2Em-p-C.mjs +54 -0
  117. package/package.json +1 -1
  118. package/src/components/Address/Address.vue +23 -34
  119. package/src/components/LocationMarker/LocationMarker.vue +6 -1
  120. package/src/components/LocationSelection/LocationSelection.vue +4 -0
  121. package/src/components/Map/Map.vue +29 -15
  122. package/src/modules/constructor/components/elements/VideoPlayer.vue +2 -2
  123. package/src/modules/events/controllers/events.controller.js +4 -4
  124. package/src/modules/globals/components/blocks/CardHeader.vue +2 -2
  125. package/src/modules/integrations/stripe/controllers/services/stripe.service.js +17 -6
  126. package/src/modules/landing/components/pages/Farming.vue +226 -0
  127. package/src/modules/landing/components/pages/Governance.vue +3 -5
  128. package/src/modules/landing/components/pages/Home.vue +0 -3
  129. package/src/modules/landing/components/pages/Hotel.vue +1 -3
  130. package/src/modules/landing/components/pages/Page.vue +0 -3
  131. package/src/modules/landing/components/sections/Examples.vue +4 -56
  132. package/src/modules/landing/components/sections/SectionFeature.vue +41 -0
  133. package/src/modules/landing/components/sections/SectionFeaturesImages.vue +122 -0
  134. package/src/modules/landing/components/sections/SectionFocus.vue +59 -0
  135. package/src/modules/landing/components/sections/SectionHeroVideo.vue +164 -0
  136. package/src/modules/landing/router/landing.js +11 -0
  137. package/src/modules/marketplace/components/sections/Filters.vue +26 -23
  138. package/src/modules/orders/components/blocks/CardOrderItem.vue +8 -0
  139. package/src/modules/orders/components/blocks/StatusHistory.vue +25 -53
  140. package/src/modules/orders/components/pages/Order.vue +2 -6
  141. package/src/modules/orders/components/pages/OrderBackoffice.vue +393 -0
  142. package/src/modules/orders/components/pages/OrderCreate.vue +5 -4
  143. package/src/modules/orders/components/pages/OrderCreateBackoffice.vue +2 -3
  144. package/src/modules/orders/components/pages/Orders.vue +60 -11
  145. package/src/modules/orders/components/sections/FormDelivery.vue +2 -2
  146. package/src/modules/orders/controllers/orders.controller.js +30 -19
  147. package/src/modules/orders/models/order.model.js +8 -2
  148. package/src/modules/orders/router/orders.backoffice.router.js +1 -1
  149. package/src/modules/orders/router/orders.router.js +2 -2
  150. package/src/modules/orders/store/orders.js +3 -7
  151. package/src/modules/orders/store/shopcart.js +1 -1
  152. package/src/modules/organizations/components/blocks/CardDepartment.vue +2 -0
  153. package/src/modules/organizations/components/pages/Department.vue +5 -1
  154. package/src/modules/organizations/components/pages/DepartmentEdit.vue +65 -27
  155. package/src/modules/organizations/components/pages/Members.vue +2 -1
  156. package/src/modules/organizations/components/pages/Organization.vue +1 -1
  157. package/src/modules/organizations/controllers/memberships.controller.js +3 -1
  158. package/src/modules/organizations/store/memberships.js +1 -1
  159. package/src/modules/products/components/blocks/CardProduct.vue +2 -3
  160. package/src/modules/products/components/pages/ProductEdit.vue +10 -13
  161. package/src/modules/products/components/pages/Products.vue +2 -0
  162. package/src/modules/products/store/products.js +25 -2
  163. package/src/modules/spots/components/blocks/CardSpot.vue +2 -2
  164. package/src/modules/users/components/blocks/CardUser.vue +1 -0
  165. package/src/modules/landing/components/sections/AboutSection.vue +0 -69
@@ -1,10 +1,10 @@
1
1
  <template>
2
- <section class="pd-big">
2
+ <section class="">
3
3
  <header class="mn-b-big t-center">
4
- <h2 class="mn-center text-fade-in"><span class="text-splitted">Example of the Signals</span></h2>
4
+ <h2 class="mn-center text-fade-in"><span class="text-splitted">Example of the Strains</span></h2>
5
5
  </header>
6
- <div class="cols-4 gap-medium">
7
- <img v-for="(signal,index) in signals" class="signal" :src="/images/examples/' + signal">
6
+ <div class="cols-4 w-100 o-scroll pos-relative gap-medium">
7
+ <img v-for="(signal,index) in signals" class="radius-big h-max-30r signal" :src="'/images/examples/' + signal">
8
8
  </div>
9
9
  </section>
10
10
  </template>
@@ -15,13 +15,9 @@
15
15
  /////////////////////////////
16
16
  // VUE DEPENDENCIES
17
17
  import { onMounted } from 'vue';
18
- // GSAP DEPENDENCIES
19
- import { gsap } from "gsap/dist/gsap";
20
- import { ScrollTrigger } from "gsap/dist/ScrollTrigger";
21
18
  /////////////////////////////
22
19
  // CREATED
23
20
  /////////////////////////////
24
- gsap.registerPlugin(ScrollTrigger);
25
21
 
26
22
  let signals = [
27
23
  '01.png',
@@ -34,54 +30,6 @@ let signals = [
34
30
  // MOUNTED
35
31
  /////////////////////////////
36
32
  onMounted(() => {
37
- gsap.set('.signal', {
38
- // maxHeight: 0,
39
- force3D:false,
40
- opacity: 0,
41
- // y: 50,
42
- });
43
-
44
- gsap.set('.signal-child ', {
45
- opacity: 0,
46
- force3D:false,
47
- y: 50,
48
- });
49
-
50
- ScrollTrigger.batch('.signal', {
51
- onEnter: batch => {
52
- batch.forEach((card, index) => {
53
- gsap.to(card, {
54
- opacity: 1,
55
- // maxHeight: 1000,
56
- duration: 1.5,
57
- ease: "power2.inOut",
58
- y: 0,
59
- stagger: 0.1,
60
- delay: index * 0.3
61
- })
62
-
63
- gsap.to(card.children, {
64
- opacity: 1,
65
- duration: 1.5,
66
- ease: "power2.inOut",
67
- y: 0,
68
- stagger: 0.1,
69
- delay: index * 0.3
70
- })
71
- })
72
- },
73
- // onLeaveBack: batch => {
74
- // batch.forEach((card, index) => gsap.to(card.children, {
75
- // opacity: 0,
76
- // duration: 1.5,
77
- // ease: "power2.inOut",
78
- // y: 50,
79
- // stagger: 0.1,
80
- // delay: index * 0.3
81
- // }))
82
- // },
83
- start: "top 70%",
84
- });
85
33
  })
86
34
 
87
35
  </script>
@@ -0,0 +1,41 @@
1
+ <template>
2
+ <div class="o-hidden bg-grey pos-relative radius-big cols-2">
3
+ <div style="min-height: 20rem;" :class="{'order-2':order}" class="pos-relative w-100 h-100 bg-grey">
4
+ <img class="w-100 h-100 object-fit-cover pos-absolute" :src="image">
5
+ </div>
6
+ <div class="pd-big flex-column flex w-100 h-100 gap-zero">
7
+ <h2 class="mn-b-medium">
8
+ {{title}}
9
+ </h2>
10
+
11
+ <p class="p-big t-transp">
12
+ {{description}}
13
+ </p>
14
+ </div>
15
+ </div>
16
+ </template>
17
+
18
+
19
+ <script setup>
20
+ import { useI18n } from 'vue-i18n'
21
+
22
+ const props = defineProps(['image','title','description','order'])
23
+
24
+ const { t } = useI18n({
25
+ messages: {
26
+ en:{
27
+ "nye2024":{
28
+ "title":"Delisious pizza from stone oven",
29
+ "description":"Join the hottest Christmas party event at NMS.IO and make your time with family and friends extra special. Enjoy festive on the celebrations with unique surprises and fun activities in NMS.IO!",
30
+ "checkinblog":"CHECK IN BLOG"
31
+ }
32
+ }
33
+ }
34
+ })
35
+ </script>
36
+
37
+ <style lang="scss">
38
+ .order-2 {
39
+ order: 2
40
+ }
41
+ </style>
@@ -0,0 +1,122 @@
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
14
+ v-for="feature in tm('features')"
15
+ :key="feature.title"
16
+ class="w-100 pd-medium bg-grey radius-big"
17
+ >
18
+ <img
19
+ class="radius-medium bg-grey h-max-20r object-fit-cover w-100 mn-b-medium"
20
+ :src="feature.image"
21
+ >
22
+ <h3 class="mn-b-medium">{{feature.title}}</h3>
23
+ <p class="t-transp">{{feature.text}}</p>
24
+ </div>
25
+
26
+ </div>
27
+
28
+ </section>
29
+ </template>
30
+
31
+
32
+ <script setup>
33
+ import { useI18n } from 'vue-i18n'
34
+
35
+ const props = defineProps({
36
+ title: String,
37
+ textData: {
38
+ type: Object,
39
+ default: () => ({
40
+ messages: {
41
+ en: {
42
+ title: 'What is Weeder Token?',
43
+ subtitle: 'WDT – the foundation of the Weeder community. It serves as a currency, a DAO instrument, and for many other purposes:',
44
+ features: [
45
+ {
46
+ image: '/images/howitworks/step1.png',
47
+ title: '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
+ {
51
+ image: '/images/howitworks/step2.png',
52
+ title: 'Instument',
53
+ 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.',
54
+ },
55
+ {
56
+ image: '/images/howitworks/step3.png',
57
+ title: 'Invesment',
58
+ 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.'
59
+ },
60
+ ]
61
+ },
62
+ ru: {
63
+ title: 'Что такое Weeder Token?',
64
+ subtitle: 'WDT – основа сообщества Weeder. Он выступает в качестве валюты, инструмента DAO и многих других целей:',
65
+ features: [
66
+ {
67
+ image: '/images/howitworks/step1.png',
68
+ title: 'Валюта',
69
+ text: 'WDT можно использовать как цифровую валюту в экосистеме Weeder, позволяя пользователям покупать товары, такие как марихуана, рекламные места и другие премиальные возможности на платформе.',
70
+ },
71
+ {
72
+ image: '/images/howitworks/step2.png',
73
+ title: 'Инструмент',
74
+ text: 'В качестве инструмента DAO (Децентрализованной Автономной Организации), WDT позволяет управлять сообществом и принимать решения, давая держателям токенов возможность предлагать, обсуждать и голосовать за различные инициативы и развитие в рамках экосистемы Weeder.',
75
+ },
76
+ {
77
+ image: '/images/howitworks/step3.png',
78
+ title: 'Инвестиции',
79
+ text: 'Хранение токенов WDT может обеспечить потенциальный инвестиционный доход по мере роста и увеличения стоимости экосистемы Weeder. Кроме того, WDT служит для распределения дивидендов – те, кто стейкают свои токены, получают доход с платформы.',
80
+ },
81
+ ]
82
+ }
83
+ }
84
+ })
85
+ }
86
+ })
87
+ const { t, tm } = useI18n(props.textData)
88
+ </script>
89
+
90
+ <style lang="scss">
91
+
92
+ #grid2 {
93
+ transition: 500ms;
94
+ display: grid;
95
+ grid-template-columns: 1fr 1fr 1fr;
96
+ gap: 3px;
97
+ background: crimson;
98
+ }
99
+
100
+ :where(.left, .center, .right) {
101
+ background: navajowhite;
102
+ transition: 300ms;
103
+ }
104
+
105
+ :where(.left, .center, .right):hover {
106
+ background: crimson;
107
+ }
108
+
109
+ #grid2:has(.left:hover) {
110
+ grid-template-columns: 2fr 0.5fr 0.5fr;
111
+ padding: 3rem;
112
+ }
113
+
114
+ #grid2:has(.center:hover) {
115
+ grid-template-columns: 0.5fr 2fr 0.5fr;
116
+ padding: 3rem;
117
+ }
118
+ #grid2:has(.right:hover) {
119
+ grid-template-columns: 0.5fr 0.5fr 2fr;
120
+ padding: 3rem;
121
+ }
122
+ </style>
@@ -0,0 +1,59 @@
1
+ <template>
2
+ <section id="our-focus" class="bg-light radius-big pd-big cols-2 flex">
3
+
4
+ <div class="col">
5
+
6
+ <p class="text-fade-in mn-b-medium t-main h4">
7
+ <span class="text-splitted">Culture of cannabis</span>
8
+ </p>
9
+
10
+ <h2 class="text-fade-in mn-b-medium">
11
+ <span class="text-splitted">Welcome to Weeder Farms, your trusted partner in cannabis cultivation. </span>
12
+ </h2>
13
+
14
+ <p class="element-intro display-block p-big">We are a team of professional growers, engineers, programmers, and geneticists. We are dedicated to the growth and development of the cannabis industry, offering our extensive experience and knowledge to help cultivators like you succeed.</p>
15
+ </div>
16
+
17
+ <div class="cols-2 gap-thin col">
18
+ <div :ref="setItemRef" class="industry card">
19
+ <h3 class="h1 t-main card-child">10+</h3>
20
+ <p class="h4 card-child">Farms</p>
21
+ </div>
22
+ <div :ref="setItemRef" class="industry card">
23
+ <h3 class="h1 t-main card-child">40</h3>
24
+ <p class="h4 card-child">Strains</p>
25
+ </div>
26
+ <div :ref="setItemRef" class="industry card">
27
+ <h3 class="h1 t-main card-child">10KG</h3>
28
+ <p class="h4 card-child">Monthly</p>
29
+ </div>
30
+ <div :ref="setItemRef" class="industry card">
31
+ <h3 class="h1 t-main card-child">5+</h3>
32
+ <p class="h4 card-child">Dispansaries</p>
33
+ </div>
34
+ <div :ref="setItemRef" class="industry card">
35
+ <h3 class="h1 t-main card-child">136</h3>
36
+ <p class="h4 card-child">Tokens</p>
37
+ </div>
38
+ </div>
39
+ </section>
40
+ </template>
41
+
42
+
43
+ <script setup>
44
+ import { reactive, computed, toRefs, ref, onMounted,onUpdated,inject } from 'vue';
45
+
46
+ onMounted(() => {
47
+
48
+ })
49
+
50
+ </script>
51
+
52
+ <style scoped lang="scss">
53
+ #our-focus {
54
+ .industry {
55
+ display: flex;
56
+ justify-content: flex-end;
57
+ }
58
+ }
59
+ </style>
@@ -0,0 +1,164 @@
1
+ <template>
2
+ <section id="viewpoint" class="br-b-white hero" itemscope itemtype="http://schema.org/BarOrPub">
3
+
4
+ <div class="cols-2 gap-thin">
5
+ <!-- Left col -->
6
+ <div class="col-1 flex-justify flex-column flex o-hidden" itemprop="description">
7
+
8
+
9
+ <div class="pd-big bg-main mn-b-thin radius-big">
10
+ <h1 class="mn-b-small">
11
+ <span class="text-fade-in">
12
+ <span class="text-splitted" v-html="t('viewpoint.title')"/>
13
+ </span>
14
+ </h1>
15
+
16
+ <p class="p-big t-transp">{{ t('viewpoint.description') }}</p>
17
+ </div>
18
+
19
+ <div class="pd-big bg-black t-white radius-big">
20
+ <p class="p-big mn-b-small" itemprop="name">{{ t('contacts.name') }}</p>
21
+
22
+ <address class="d-block mn-b-small" itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
23
+ <a :href="t('contacts.addressLink')" target="_blank" rel="noopener">
24
+ <span itemprop="streetAddress">{{ t('contacts.streetAddress') }}</span>,
25
+ <span itemprop="addressLocality">{{ t('contacts.addressLocality') }}</span>,
26
+ <span itemprop="addressRegion">{{ t('contacts.addressRegion') }}</span>,
27
+ <span itemprop="postalCode">{{ t('contacts.postalCode') }}</span>
28
+ </a>
29
+ </address>
30
+
31
+ <span class="d-block mn-b-small" itemprop="telephone">
32
+ <a :href="'tel:' + t('contacts.telephone')" class="t-black">{{ t('contacts.telephone') }}</a>
33
+ </span>
34
+
35
+ <span class="d-block mn-b-medium" itemprop="email">
36
+ <a :href="'mailto:' + t('contacts.email')" class="t-black">{{ t('contacts.email') }}</a>
37
+ </span>
38
+
39
+ <a :href="t('contacts.addressLink')" target="_blank" rel="noopener" class="button hover-scale-1 t-black bg-main">
40
+ {{ t('contacts.seeongoogle') }}
41
+ </a>
42
+ </div>
43
+
44
+ </div>
45
+ <!-- Right col -->
46
+ <div class="col-2 w-100 flex">
47
+ <div class="pos-relative radius-big video-wrapper w-100 h-100 o-hidden">
48
+ <div class="video-gradient"></div>
49
+ <video ref="videoElement" style="object-fit: cover; position: absolute;" class="video-height" preload autoplay muted loop playsinlineclass playsinline src="/videos/farming.mp4" itemprop="video" type="video/mp4" ></video>
50
+ </div>
51
+ </div>
52
+
53
+ </div>
54
+ </section>
55
+ </template>
56
+
57
+
58
+ <script setup>
59
+ /////////////////////////////
60
+ // COMPONENT DEPENDENCIES
61
+ /////////////////////////////
62
+ import { ref, onMounted } from 'vue';
63
+ import { useI18n } from 'vue-i18n'
64
+
65
+ let text = {
66
+ messages: {
67
+ "en":{
68
+ "viewpoint":{
69
+ "title":"Increase Your Earnings from Canna-Business with Weeder Farms",
70
+ "description":"Using Top-Tier Technology to Streamline Your Cannabis Farming Operations"
71
+ },
72
+ "contacts": {
73
+ "name": "Запишитесь на бесплатную консультацию и узнайте как увеличить ваш доход на 30%",
74
+ "seeongoogle": "Book a free consultation"
75
+ }
76
+ },
77
+ "ru":{
78
+ "viewpoint":{
79
+ "title":"Живописная Терраса и Бар с Видом на Море",
80
+ "description":"Откройте для себя всё лучшее, что может предложить Пхукет, в The Commune, стильном баре и террасе на пляже Карон. Насладитесь впечатляющим видом на море, попивая изысканные коктейли и пробуя превосходные блюда из нашего меню."
81
+ }
82
+ }
83
+ }
84
+ }
85
+
86
+ const { t } = useI18n(text)
87
+ /////////////////////////////
88
+ // CREATED
89
+ /////////////////////////////
90
+ const videoElement = ref(null)
91
+
92
+ var isPlaying = false;
93
+
94
+ function checkAndPlayVideo() {
95
+ // Initializing values
96
+
97
+ // On video playing toggle values
98
+ videoElement.value.onplaying = function() {
99
+ isPlaying = true;
100
+ };
101
+
102
+ // On video pause toggle values
103
+ videoElement.value.onpause = function() {
104
+ isPlaying = false;
105
+ };
106
+ }
107
+
108
+ // Play video function
109
+ async function playVid() {
110
+ if (videoElement.value.paused && !isPlaying) {
111
+ return videoElement.value.play();
112
+ }
113
+ }
114
+
115
+ onMounted(() => {
116
+ checkAndPlayVideo()
117
+ playVid()
118
+ })
119
+ </script>
120
+
121
+ <style lang="scss">
122
+ .video-height {
123
+ width: 100%;
124
+ min-height: 100%;
125
+ max-height: 45vh;
126
+ object-fit: cover;
127
+ }
128
+
129
+ @media screen and (max-width: 1024px) {
130
+ .video-wrapper {
131
+ position: absolute;
132
+ left: 0;
133
+ top: 0;
134
+ border-radius: 0 !important;
135
+
136
+ .video-gradient {
137
+ position: absolute;
138
+ pointer-events: none;
139
+ top: 7px;
140
+ left: 0;
141
+ width: 100%;
142
+ height: 100%;
143
+
144
+ background: linear-gradient(to bottom, transparent, rgba(var(--white),1));
145
+ z-index: 1;
146
+ }
147
+ }
148
+
149
+ #viewpoint {
150
+ .cols-2 {
151
+ .col-1 {
152
+ order: 2;
153
+ border: 0;
154
+ }
155
+
156
+ .col-2 {
157
+ order: 1;
158
+ min-height: 33vh
159
+ }
160
+ }
161
+ }
162
+ }
163
+ </style>
164
+
@@ -18,6 +18,17 @@ const landing = [
18
18
  },
19
19
  component: () => import(/* webpackChunkName: 'Governance' */ '@pf/src/modules/landing/components/pages/Governance.vue'),
20
20
  },
21
+ {
22
+ path: 'farming',
23
+ name: 'Farming',
24
+ meta: {
25
+ title: {
26
+ en: 'Governance',
27
+ ru: 'Управления'
28
+ }
29
+ },
30
+ component: () => import(/* webpackChunkName: 'Governance' */ '@pf/src/modules/landing/components/pages/Farming.vue'),
31
+ },
21
32
  {
22
33
  path: 'pages/:url',
23
34
  name: 'Page',
@@ -1,10 +1,14 @@
1
1
  <template>
2
- <div class="z-index-1 pos-relative radius-big bg-black t-white pd-medium flex-v-center flex-nowrap flex o-scroll">
2
+ <div class="z-index-1 pos-relative radius-big bg-black t-white pd-medium flex-v-center flex-nowrap flex">
3
3
  <!-- <p class="t-semi radius-extra uppercase p-medium mn-r-thin">Filter by</p> -->
4
+ <div class="
5
+ mn-r-auto pd-micro gap-micro br-solid br-2px br-white radius-extra flex-nowrap flex
6
+ "
7
+ >
4
8
  <Dropdown
5
9
  id="fitlerCategory"
6
10
  :label="t('categoriesTitle')"
7
- class="cursor-pointer mn-r-small br-solid br-2px br-white pd-thin t-semi radius-extra uppercase p-medium"
11
+ class="cursor-pointer pd-thin t-semi radius-extra uppercase p-medium"
8
12
  :class="[
9
13
  store.marketplace.state.filter.categories.length > 0 ? 'bg-white t-black' : ''
10
14
  ]"
@@ -22,10 +26,10 @@
22
26
  </div>
23
27
  </Dropdown>
24
28
 
25
- <Dropdown
26
- id="fitlerPrice"
29
+ <Dropdown
30
+ id="fitlerPrice"
27
31
  :label="t('filters.price.title')"
28
- class="cursor-pointer mn-r-small br-solid br-2px br-white pd-thin t-semi radius-extra uppercase p-medium"
32
+ class="cursor-pointer pd-thin t-semi radius-extra uppercase p-medium"
29
33
  :class="[
30
34
  store.marketplace.state.filter.prices.length > 0 ? 'bg-white t-black' : ''
31
35
  ]"
@@ -43,29 +47,28 @@
43
47
  </div>
44
48
  </Dropdown>
45
49
 
46
- <Dropdown
47
- label="Delivery"
50
+ <Dropdown
51
+ label="Delivery"
48
52
  id="fitlerDelivery"
49
- class="cursor-pointer mn-r-small br-solid br-2px br-white pd-thin t-semi radius-extra uppercase p-medium"
53
+ class="cursor-pointer pd-thin t-semi radius-extra uppercase p-medium"
50
54
  :class="[
51
55
  store.marketplace.state.filter.delivery.length > 0 ? 'bg-white t-black' : ''
52
56
  ]"
53
- >
54
- <div class="w-100 h-100 radius-semi o-hidden bg-black">
55
- <Checkbox
56
- v-for="(delivery, index) in delivery"
57
- :label="delivery.label"
58
- name="prices"
59
- :value="delivery.value"
60
- class="cursor-pointer w-100 mn-t-small bg-black t-white radius-small pd-small"
61
- :radio="store.marketplace.state.filter.delivery"
62
- @update:radio="event => store.marketplace.state.filter.delivery = event"
63
- />
64
- </div>
65
- </Dropdown>
66
- <!-- Reset filter -->
67
- <p class="t-semi radius-extra uppercase p-medium mn-r-thin t-nowrap">Sort by</p>
57
+ >
58
+ <div class="w-100 h-100 radius-semi o-hidden bg-black">
59
+ <Checkbox
60
+ v-for="(delivery, index) in delivery"
61
+ :label="delivery.label"
62
+ name="prices"
63
+ :value="delivery.value"
64
+ class="cursor-pointer w-100 mn-t-small bg-black t-white radius-small pd-small"
65
+ :radio="store.marketplace.state.filter.delivery"
66
+ @update:radio="event => store.marketplace.state.filter.delivery = event"
67
+ />
68
+ </div>
68
69
 
70
+ </Dropdown>
71
+ </div>
69
72
  <div class="flex-stretch flex-nowrap gap-thin flex">
70
73
  <Select
71
74
  :options="['products','distance','popularity']"
@@ -52,6 +52,14 @@
52
52
  </div>
53
53
 
54
54
  </div>
55
+
56
+ <!-- <div class="flex-nowrap flex">
57
+ <button @click="openStatusPopup" class="w-100 bg-black t-white button button-small">
58
+ Confirm
59
+ </button>
60
+
61
+ </div> -->
62
+
55
63
  </div>
56
64
  </div>
57
65