@ozdao/prometheus-framework 0.2.38 → 0.2.40
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/auth.server.js +1 -2
- package/dist/auth.server.mjs +1 -2
- package/dist/files.server.js +1 -2
- package/dist/files.server.mjs +1 -2
- package/dist/globals.server.js +1 -1
- package/dist/globals.server.mjs +1 -1
- package/dist/mailing-10560277.mjs +78 -0
- package/dist/mailing-902d13d5.js +77 -0
- package/dist/main.css +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.js +225 -2
- package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue2.js +2 -225
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +61 -2
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.js +2 -61
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +13 -9
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +4 -0
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +26 -22
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +29 -30
- package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue.js +76 -2
- package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue2.js +2 -76
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +70 -2
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +2 -70
- package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.js +95 -2
- package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.js +2 -95
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.js +69 -0
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +44 -2
- package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +2 -44
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +10 -7
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +18 -15
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +16 -13
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +23 -20
- package/dist/prometheus-framework/src/modules/auth/localization/SignUp.json.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/localization/SignUp.json.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/auth.js +8 -8
- package/dist/prometheus-framework/src/modules/community/community.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/community.client.js +18 -20
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +88 -62
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +97 -68
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +35 -34
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +18 -18
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +65 -19
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +8 -7
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +5 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +65 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -5
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +2 -65
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +64 -70
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +6 -5
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +43 -42
- package/dist/prometheus-framework/src/modules/icons/entities/IconFeatured.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconFeatured.vue.js +30 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconFollowing.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconFollowing.vue.js +47 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconPopular.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconPopular.vue.js +28 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconRecent.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconRecent.vue.js +45 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconArrow.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconArrow.vue.js +32 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/icons/navigation/IconEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconEdit.vue.js +25 -14
- package/dist/prometheus-framework/src/modules/icons/navigation/IconEllipsis.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconEllipsis.vue.js +44 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +90 -67
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +45 -42
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +60 -55
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +18 -17
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.js +20 -21
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +7 -7
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +37 -34
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +23 -23
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +31 -30
- package/dist/prometheus-framework.cjs.js +20 -20
- package/dist/prometheus-framework.es.js +1003 -999
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/Button/Button.vue +2 -3
- package/src/components/Chips/Chips.vue +9 -3
- package/src/components/Dropdown/Dropdown.vue +9 -3
- package/src/components/Feed/Feed.vue +7 -11
- package/src/components/Feed/Masonry.vue +177 -0
- package/src/components/FieldBig/FieldBig.vue +3 -3
- package/src/components/LocationSelection/LocationSelection.vue +1 -1
- package/src/components/Navigation/Navigation.vue +2 -0
- package/src/components/Shader/Shader.vue +161 -116
- package/src/components/Slider/Slider.vue +92 -0
- package/src/modules/applications/applications.client.js +2 -0
- package/src/modules/applications/components/sections/SubscribeNewsletter.vue +114 -0
- package/src/modules/applications/controllers/applications.controller.js +125 -136
- package/src/modules/applications/models/application.model.js +22 -7
- package/src/modules/applications/routes/applications.routes.js +29 -13
- package/src/modules/auth/components/pages/EnterCode.vue +4 -1
- package/src/modules/auth/components/pages/EnterPassword.vue +4 -1
- package/src/modules/auth/components/pages/ResetPassword.vue +4 -1
- package/src/modules/auth/components/pages/SignUp.vue +4 -1
- package/src/modules/auth/controllers/auth.controller.js +2 -3
- package/src/modules/auth/localization/SignUp.json +1 -1
- package/src/modules/auth/store/auth.js +3 -5
- package/src/modules/chats/components/blocks/ChatMessage.vue +3 -2
- package/src/modules/chats/components/pages/ChatPage.vue +6 -6
- package/src/modules/chats/components/sections/ChatWindow.vue +57 -12
- package/src/modules/chats/store/chat.store.js +6 -1
- package/src/modules/community/community.client.js +0 -2
- package/src/modules/community/components/blocks/CardBlogpost.vue +71 -33
- package/src/modules/community/components/layouts/Community.vue +63 -24
- package/src/modules/community/components/pages/Blog.vue +37 -0
- package/src/modules/community/components/pages/BlogPost.vue +5 -6
- package/src/modules/community/components/pages/Community.vue +1 -0
- package/src/modules/community/components/sections/Feed.vue +1 -1
- package/src/modules/community/components/sections/HotPosts.vue +64 -24
- package/src/modules/community/components/sections/JoinUs.vue +4 -5
- package/src/modules/community/store/blogposts.js +1 -0
- package/src/modules/constructor/components/elements/Embed.vue +7 -6
- package/src/modules/constructor/components/elements/Image.vue +2 -2
- package/src/modules/constructor/components/elements/Textarea.vue +1 -1
- package/src/modules/constructor/components/sections/Constructor.vue +2 -18
- package/src/modules/files/middlewares/server/middlewareBusboy.js +1 -1
- package/src/modules/files/routes/files.routes.js +9 -1
- package/src/modules/globals/components/blocks/CardHeader.vue +6 -3
- package/src/modules/globals/utils/mailing.js +12 -0
- package/src/modules/icons/entities/IconEarn.vue +20 -0
- package/src/modules/icons/entities/IconFeatured.vue +14 -0
- package/src/modules/icons/entities/IconFollowing.vue +17 -0
- package/src/modules/icons/entities/IconPopular.vue +14 -0
- package/src/modules/icons/entities/IconRecent.vue +17 -0
- package/src/modules/icons/navigation/IconAdd.vue +1 -3
- package/src/modules/icons/navigation/IconArrow.vue +21 -0
- package/src/modules/icons/navigation/IconCheckmark.vue +16 -0
- package/src/modules/icons/navigation/IconChevronRight.vue +2 -2
- package/src/modules/icons/navigation/IconEdit.vue +16 -2
- package/src/modules/icons/navigation/IconEllipsis.vue +16 -0
- package/src/modules/icons/placeholders/PlaceholderChat.vue +9 -0
- package/src/modules/landing/components/sections/MobileApp.vue +38 -21
- package/src/modules/landing/components/sections/SectionEarn.vue +104 -0
- package/src/modules/landing/components/sections/SectionFeatures.vue +80 -0
- package/src/modules/landing/components/sections/{Guide.vue → SectionGuide.vue} +1 -1
- package/src/modules/landing/components/sections/SectionHeroToken.vue +138 -0
- package/src/modules/landing/components/sections/SectionRoadmap.vue +108 -0
- package/src/modules/marketplace/components/layouts/Marketplace.vue +2 -2
- package/src/modules/orders/components/blocks/StatusHistory.vue +7 -1
- package/src/modules/orders/components/pages/Order.vue +3 -4
- package/src/modules/organizations/components/blocks/CardOrganization.vue +6 -6
- package/src/modules/organizations/components/pages/Organization.vue +1 -1
- package/src/modules/organizations/components/sections/DetailsTab.vue +42 -43
- package/src/modules/organizations/components/sections/Publics.vue +3 -4
- package/src/modules/products/components/sections/HeroRecommendation.vue +9 -170
- package/src/modules/products/components/sections/MenuSection.vue +4 -4
- package/src/modules/products/components/sections/PopularProducts.vue +3 -3
- package/src/modules/spots/components/layouts/Spots.vue +2 -2
- package/src/modules/wallet/components/pages/Wallet.vue +1 -1
- package/src/styles/base/all.scss +4 -0
- package/src/styles/base/backgrounds.scss +2 -2
- package/src/styles/base/shadow_transitions_hover_refactor.scss +11 -1
- package/src/styles/typography.scss +19 -12
- package/src/modules/community/components/sections/SubscribeNewsletter.vue +0 -67
- package/src/modules/constructor/components/elements/Youtube.vue +0 -52
- package/src/modules/landing/components/sections/HeroGovernance.vue +0 -156
@@ -13,8 +13,8 @@
|
|
13
13
|
const text = {
|
14
14
|
messages: {
|
15
15
|
"en": {
|
16
|
-
"title": "
|
17
|
-
"description": "
|
16
|
+
"title": "Increase Your High <br><b class='t-main'>Boosted by AI Budtender</b>",
|
17
|
+
"description": "Just tell us what you're want, and Weeder will find your ideal match.",
|
18
18
|
"placeholderTexts": [
|
19
19
|
'Lowest THC, please!',
|
20
20
|
'Something with banana flavors?',
|
@@ -66,164 +66,7 @@
|
|
66
66
|
await products.actions.submitMood(moodToSend);
|
67
67
|
}
|
68
68
|
|
69
|
-
|
70
|
-
// const canvas = document.getElementById('glcanvas');
|
71
|
-
// const gl = canvas.getContext('webgl') || canvas.getContext('experimental-webgl');
|
72
|
-
|
73
|
-
// const vsSource = `
|
74
|
-
// attribute vec4 aVertexPosition;
|
75
|
-
// void main() {
|
76
|
-
// gl_Position = aVertexPosition;
|
77
|
-
// }
|
78
|
-
// `;
|
79
|
-
|
80
|
-
// // Fragment shader (your GLSL code goes here)
|
81
|
-
// const fsSource = `
|
82
|
-
// precision mediump float;
|
83
|
-
|
84
|
-
// const float PI = 3.14159265358979323846264;
|
85
|
-
// const float TWOPI = PI * 2.0;
|
86
|
-
// const vec4 WHITE = vec4(0.05, 0.05, 0.05, 1); // Для цвета F6F9F7
|
87
|
-
// const vec4 BLACK = vec4(0.0, 0.0, 0.0, 1); // Для цвета EBF2ED
|
88
|
-
|
89
|
-
// const int MAX_RINGS = 30;
|
90
|
-
// const float RING_DISTANCE = 0.03;
|
91
|
-
// const float WAVE_COUNT = 60.0;
|
92
|
-
// const float WAVE_DEPTH = 0.08;
|
93
|
-
|
94
|
-
// uniform float iTime;
|
95
|
-
// uniform vec2 iResolution;
|
96
|
-
|
97
|
-
// void main() {
|
98
|
-
// float rot = mod(iTime * 0.6, TWOPI);
|
99
|
-
// vec2 fragCoord = gl_FragCoord.xy;
|
100
|
-
// vec2 pos = vec2(fragCoord.x / iResolution.x, fragCoord.y / iResolution.y);
|
101
|
-
// pos = vec2(3.0 * (pos.x - 0.5), 3.0 * (pos.y - 0.4));
|
102
|
-
// float x = pos.x;
|
103
|
-
// float y = pos.y;
|
104
|
-
|
105
|
-
// bool black = false;
|
106
|
-
// float prevRingDist = RING_DISTANCE;
|
107
|
-
// for (int i = 0; i < MAX_RINGS; i++) {
|
108
|
-
// vec2 center = vec2(0.0, 0.7 - RING_DISTANCE * float(i) * 1.2);
|
109
|
-
// float radius = 0.5 + RING_DISTANCE / (pow(float(i + 5), 1.1) * 0.006);
|
110
|
-
// float dist = distance(center, pos);
|
111
|
-
// dist = pow(dist, 0.3);
|
112
|
-
// float ringDist = abs(dist - radius);
|
113
|
-
// if (ringDist < RING_DISTANCE * prevRingDist * 7.0) {
|
114
|
-
// float angle = atan(y - center.y, x - center.x);
|
115
|
-
// float thickness = 1.1 * abs(dist - radius) / prevRingDist;
|
116
|
-
// float depthFactor = WAVE_DEPTH * sin((angle + rot * radius) * WAVE_COUNT);
|
117
|
-
// if (dist > radius) {
|
118
|
-
// black = (thickness < RING_DISTANCE * 5.0 - depthFactor * 2.0);
|
119
|
-
// } else {
|
120
|
-
// black = (thickness < RING_DISTANCE * 5.0 + depthFactor);
|
121
|
-
// }
|
122
|
-
// break;
|
123
|
-
// }
|
124
|
-
// if (dist > radius) break;
|
125
|
-
// prevRingDist = ringDist;
|
126
|
-
// }
|
127
|
-
|
128
|
-
// gl_FragColor = black ? BLACK : WHITE;
|
129
|
-
// }
|
130
|
-
|
131
|
-
// `;
|
132
|
-
|
133
|
-
// function compileShader(gl, type, source) {
|
134
|
-
// const shader = gl.createShader(type);
|
135
|
-
// gl.shaderSource(shader, source);
|
136
|
-
// gl.compileShader(shader);
|
137
|
-
|
138
|
-
// // Check for compilation errors
|
139
|
-
// if (!gl.getShaderParameter(shader, gl.COMPILE_STATUS)) {
|
140
|
-
// alert('An error occurred compiling the shaders: ' + gl.getShaderInfoLog(shader));
|
141
|
-
// gl.deleteShader(shader);
|
142
|
-
// return null;
|
143
|
-
// }
|
144
|
-
|
145
|
-
// return shader;
|
146
|
-
// }
|
147
|
-
|
148
|
-
// const vertexShader = compileShader(gl, gl.VERTEX_SHADER, vsSource);
|
149
|
-
// const fragmentShader = compileShader(gl, gl.FRAGMENT_SHADER, fsSource);
|
150
|
-
|
151
|
-
// // Create the shader program
|
152
|
-
// const shaderProgram = gl.createProgram();
|
153
|
-
|
154
|
-
// gl.attachShader(shaderProgram, vertexShader);
|
155
|
-
// gl.attachShader(shaderProgram, fragmentShader);
|
156
|
-
// gl.linkProgram(shaderProgram);
|
157
|
-
|
158
|
-
// // Check for linking errors
|
159
|
-
// if (!gl.getProgramParameter(shaderProgram, gl.LINK_STATUS)) {
|
160
|
-
// alert('Unable to initialize the shader program: ' + gl.getProgramInfoLog(shaderProgram));
|
161
|
-
// }
|
162
|
-
|
163
|
-
// function resizeCanvasToDisplaySize(canvas) {
|
164
|
-
// const width = canvas.clientWidth * window.devicePixelRatio;
|
165
|
-
// const height = canvas.clientHeight * window.devicePixelRatio;
|
166
|
-
// if (canvas.width !== width || canvas.height !== height) {
|
167
|
-
// canvas.width = width;
|
168
|
-
// canvas.height = height;
|
169
|
-
// return true; // размер изменился
|
170
|
-
// }
|
171
|
-
// return false; // размер не изменился
|
172
|
-
// }
|
173
|
-
|
174
|
-
|
175
|
-
// function render() {
|
176
|
-
// if (resizeCanvasToDisplaySize(gl.canvas)) {
|
177
|
-
// gl.viewport(0, 0, gl.canvas.width, gl.canvas.height);
|
178
|
-
// }
|
179
|
-
// gl.clearColor(0.0, 0.0, 0.0, 1.0); // Clear to black, fully opaque
|
180
|
-
// gl.clearDepth(1.0); // Clear everything
|
181
|
-
// gl.enable(gl.DEPTH_TEST); // Enable depth testing
|
182
|
-
// gl.depthFunc(gl.LEQUAL); // Near things obscure far things
|
183
|
-
|
184
|
-
// // Clear the canvas before we start drawing on it
|
185
|
-
// gl.clear(gl.COLOR_BUFFER_BIT | gl.DEPTH_BUFFER_BIT);
|
186
|
-
|
187
|
-
// // Set the shader program
|
188
|
-
// gl.useProgram(shaderProgram);
|
189
|
-
|
190
|
-
// // Set up geometry, attributes, uniforms here
|
191
|
-
// // Create a buffer for the square's positions
|
192
|
-
// const positionBuffer = gl.createBuffer();
|
193
|
-
// gl.bindBuffer(gl.ARRAY_BUFFER, positionBuffer);
|
194
|
-
|
195
|
-
// // Now create an array of positions for the square
|
196
|
-
// const positions = [
|
197
|
-
// -1.0, 1.0,
|
198
|
-
// 1.0, 1.0,
|
199
|
-
// -1.0, -1.0,
|
200
|
-
// 1.0, -1.0,
|
201
|
-
// ];
|
202
|
-
|
203
|
-
// // Pass the positions to WebGL
|
204
|
-
// gl.bufferData(gl.ARRAY_BUFFER, new Float32Array(positions), gl.STATIC_DRAW);
|
205
|
-
|
206
|
-
// // Tell WebGL how to pull out the positions from the position buffer
|
207
|
-
// const vertexPosition = gl.getAttribLocation(shaderProgram, 'aVertexPosition');
|
208
|
-
// gl.vertexAttribPointer(vertexPosition, 2, gl.FLOAT, false, 0, 0);
|
209
|
-
// gl.enableVertexAttribArray(vertexPosition);
|
210
|
-
|
211
|
-
// // Set the shader uniforms
|
212
|
-
// var timeUniformLocation = gl.getUniformLocation(shaderProgram, 'iTime');
|
213
|
-
// var resolutionUniformLocation = gl.getUniformLocation(shaderProgram, 'iResolution');
|
214
|
-
|
215
|
-
// gl.uniform1f(timeUniformLocation, performance.now() / 3000.0);
|
216
|
-
// gl.uniform2f(resolutionUniformLocation, gl.canvas.width, gl.canvas.height);
|
217
|
-
|
218
|
-
// // Draw the scene
|
219
|
-
// gl.drawArrays(gl.TRIANGLE_STRIP, 0, 4);
|
220
|
-
|
221
|
-
// // Call render again on the next frame
|
222
|
-
// requestAnimationFrame(render);
|
223
|
-
// }
|
224
|
-
// requestAnimationFrame(render);
|
225
|
-
|
226
|
-
});
|
69
|
+
|
227
70
|
</script>
|
228
71
|
|
229
72
|
<template>
|
@@ -233,7 +76,7 @@
|
|
233
76
|
>
|
234
77
|
|
235
78
|
<div
|
236
|
-
class="pd-big bg-black t-white pos-relative radius-
|
79
|
+
class="pd-big bg-black t-white pos-relative radius-extra o-hidden "
|
237
80
|
>
|
238
81
|
<div class="flex-column flex-center flex t-center pos-relative z-index-1">
|
239
82
|
|
@@ -243,13 +86,11 @@
|
|
243
86
|
/>
|
244
87
|
|
245
88
|
<p
|
246
|
-
|
247
|
-
class="mn-b-big p-big t-medium t-transp"
|
89
|
+
class="mn-b-big p-big t-transp"
|
248
90
|
v-html="t('description')"
|
249
91
|
/>
|
250
92
|
|
251
93
|
<FieldBig
|
252
|
-
style="max-width: 60rem;"
|
253
94
|
:input="mood"
|
254
95
|
:typingSpeed="100"
|
255
96
|
:loopTyping="true"
|
@@ -258,11 +99,11 @@
|
|
258
99
|
:action="t('action')"
|
259
100
|
@update:input="mood = $event"
|
260
101
|
@action="router.push({name: 'Product Recommmendation', query: {mood: mood}})"
|
261
|
-
class="mn-b-big pd-big bg-black-transp-50 bg-blur-thin w-100"
|
102
|
+
class="mn-b-big pd-big bg-black-transp-50 bg-blur-thin w-100 w-max-40r"
|
262
103
|
/>
|
263
104
|
|
264
105
|
<p
|
265
|
-
class="w-m-60r t-
|
106
|
+
class="w-m-60r t-transp mn-b-semi p-medium"
|
266
107
|
v-html="t('subdescription')"
|
267
108
|
/>
|
268
109
|
|
@@ -275,7 +116,7 @@
|
|
275
116
|
class="
|
276
117
|
uppercase
|
277
118
|
pd-thin
|
278
|
-
t-
|
119
|
+
t-medium
|
279
120
|
flex-center
|
280
121
|
flex-column
|
281
122
|
flex-nowrap
|
@@ -303,9 +144,7 @@
|
|
303
144
|
</div>
|
304
145
|
|
305
146
|
<div class="w-100 h-100 flex flex-center pos-absolute pos-t-0 pos-r-0 z-index-0">
|
306
|
-
|
307
|
-
<div style="background-image: url(/spiral.jpg)" class="spiral"></div>
|
308
|
-
<!-- <canvas id="glcanvas" class="w-100 h-100"></canvas> -->
|
147
|
+
<div style="background-image: url(/spiral.jpg)" class="spiral"></div>
|
309
148
|
</div>
|
310
149
|
|
311
150
|
</div>
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<template>
|
2
2
|
<section id="main-menu" class="pd-thin pos-relative">
|
3
3
|
<h2 class="w-m-60r mn-auto pd-t-big pd-b-big t-center">
|
4
|
-
|
4
|
+
Weed and Accessories to <br><b>Enhance Your Smoking Experience</b>
|
5
5
|
</h2>
|
6
6
|
|
7
7
|
<transition name="fade" mode="out-in" appear>
|
@@ -38,7 +38,7 @@
|
|
38
38
|
<img
|
39
39
|
v-if="category.url !== 'buds'"
|
40
40
|
:src="'/icons/categories/' + category.url + '.svg'"
|
41
|
-
class="i-extra mn-l-auto"
|
41
|
+
class="i-extra t-transp mn-l-auto"
|
42
42
|
>
|
43
43
|
|
44
44
|
</div>
|
@@ -49,9 +49,9 @@
|
|
49
49
|
|
50
50
|
<button
|
51
51
|
v-if="category.url === 'buds'"
|
52
|
-
class="mn-t-small
|
52
|
+
class="mn-t-small radius-extra hover-bg-black t-medium t-black bg-main hover-t-white button-small button"
|
53
53
|
>
|
54
|
-
<span
|
54
|
+
<span>Check {{countProduct.count}} products →</span>
|
55
55
|
</button>
|
56
56
|
|
57
57
|
</div>
|
@@ -2,12 +2,12 @@
|
|
2
2
|
<div id="popularProducts" class="pd-thin">
|
3
3
|
<div class="bg-grey radius-big pd-t-big pd-b-big">
|
4
4
|
|
5
|
-
<h2 class="mn-b-semi t-center "
|
5
|
+
<h2 class="mn-b-semi t-center " v-html="t('title')"/>
|
6
6
|
|
7
7
|
<div class="embla" ref="emblaNode">
|
8
8
|
<div class="embla__container">
|
9
9
|
|
10
|
-
<div class="embla__slide pd-
|
10
|
+
<div class="embla__slide pd-nano" v-for="(value, key, index) in productsState" :key="key">
|
11
11
|
<transition name="fade" mode="out-in" appear>
|
12
12
|
<div
|
13
13
|
v-if="!value.name"
|
@@ -57,7 +57,7 @@
|
|
57
57
|
const text = {
|
58
58
|
messages: {
|
59
59
|
en: {
|
60
|
-
title: '
|
60
|
+
title: '<b>Best Sellers 🔥</b>',
|
61
61
|
subtitle: 'We attach great importance to high quality and customer satisfaction'
|
62
62
|
},
|
63
63
|
ru: {
|
@@ -4,13 +4,13 @@
|
|
4
4
|
<div class="h-100 w-100 flex-nowrap flex-column flex gap-thin pd-thin">
|
5
5
|
|
6
6
|
<!-- Sorting section -->
|
7
|
-
<div class="pd-medium bg-
|
7
|
+
<div class="pd-medium bg-main radius-big">
|
8
8
|
<div class="flex-nowrap flex flex-v-center">
|
9
9
|
<header class="mn-r-auto flex-v-center t-left flex-nowrap flex">
|
10
10
|
<h2 class="t-left">
|
11
11
|
<span class="">Weed in </span>
|
12
12
|
|
13
|
-
<span @click="a => { globals.state.isOpenLocationPopup = true }" v-if="localPosition.city || localPosition.state || localPosition.country" class="t-semi t-
|
13
|
+
<span @click="a => { globals.state.isOpenLocationPopup = true }" v-if="localPosition.city || localPosition.state || localPosition.country" class="t-semi t-black">
|
14
14
|
<span v-if="localPosition.city">{{localPosition.city}}, </span>
|
15
15
|
<span v-if="localPosition.state">{{localPosition.state}}, </span>
|
16
16
|
<span v-if="localPosition.country">{{localPosition.country}}</span>
|
@@ -102,7 +102,7 @@
|
|
102
102
|
class="radius-medium bg-grey"
|
103
103
|
v-for="income in state.rewards"
|
104
104
|
>
|
105
|
-
<div class="flex-nowrap flex pd-medium">
|
105
|
+
<div class="flex-nowrap bg-white flex pd-medium">
|
106
106
|
<!-- <img src="/logo/wdt-plus.svg" class="mn-r-thin i-semi"> -->
|
107
107
|
<p class="t-semi mn-r-auto">{{income.amount}} WDT</p>
|
108
108
|
|
package/src/styles/base/all.scss
CHANGED
@@ -42,13 +42,13 @@ body {
|
|
42
42
|
// Fills
|
43
43
|
.fill-l-main { fill: var(--light-main); }
|
44
44
|
.fill-main { fill: rgb(var(--main)); }
|
45
|
-
.fill-black { fill: var(--black); }
|
45
|
+
.fill-black { fill: rgb(var(--black)); }
|
46
46
|
.fill-dark { fill: var(--dark); }
|
47
47
|
.fill-grey { fill: var(--grey); }
|
48
48
|
.fill-light { fill: var(--light); }
|
49
49
|
.fill-card { fill: #F7F7F7; }
|
50
50
|
.fill-card-blue { fill: #eef2f6; }
|
51
|
-
.fill-white {
|
51
|
+
.fill-white { fill: rgb(var(--white));; }
|
52
52
|
.fill-t-white { fill: rgba(var(--white),0.1); }
|
53
53
|
.fill-t-grey { fill: rgba(var(--grey),0.1); }
|
54
54
|
.fill-t-darkgrey{ fill: rgba(var(--darkgrey),0.1); }
|
@@ -5,15 +5,25 @@ body {
|
|
5
5
|
.hover-scale-3 {&:hover {transform: scale(1.2); } }
|
6
6
|
|
7
7
|
|
8
|
-
|
9
8
|
.hover-bg-main {&:hover {background: rgb(var(--main), 1);; } }
|
9
|
+
.hover-bg-second {&:hover {background: rgb(var(--second), 1);; } }
|
10
|
+
.hover-bg-third {&:hover {background: rgb(var(--second), 1);; } }
|
11
|
+
.hover-bg-fourth {&:hover {background: rgb(var(--third), 1);; } }
|
12
|
+
.hover-bg-fifth {&:hover {background: rgb(var(--fifth), 1);; } }
|
10
13
|
.hover-bg-white {&:hover {background: rgb(var(--white), 1);; } }
|
11
14
|
.hover-bg-black {&:hover {background: rgb(var(--black), 1);; } }
|
15
|
+
|
16
|
+
.hover-fill-main {&:hover {fill: rgb(var(--main)); } }
|
17
|
+
.hover-fill-white {&:hover {fill: rgb(var(--white)); } }
|
18
|
+
.hover-fill-black {&:hover {fill: rgb(var(--black)); } }
|
19
|
+
|
12
20
|
.hover-t-white {&:hover {color: rgba(var(--white), 1);; } }
|
13
21
|
.hover-t-black {&:hover {color: rgba(var(--black), 1);; } }
|
14
22
|
.hover-br-transp {&:hover {background: rgba(var(--white),0); } }
|
15
23
|
.hover-br-l-dark {&:hover {border: 1px solid rgba(var(--dark), 0.2) } }
|
16
24
|
|
25
|
+
.hover-t-underline {&:hover {text-decoration: underline;}}
|
26
|
+
|
17
27
|
|
18
28
|
.hover-translate-1 {&:hover {transform: translateY(-10px); } }
|
19
29
|
.hover-rotate-1 {&:hover {transform: rotate(-10deg); } }
|
@@ -9,20 +9,27 @@
|
|
9
9
|
.tx-zero { padding: 0; }
|
10
10
|
// Font Styles
|
11
11
|
.h0 { font-weight: 500; font-size: 8.000rem; line-height: 1.000; letter-spacing: -0.1rem; text-transform: none; }
|
12
|
-
h1,.h1 { font-weight: 500; font-size: 3.
|
13
|
-
h2,.h2 { font-weight: 500; font-size:
|
14
|
-
h3,.h3 { font-weight: 500; font-size: 1.
|
15
|
-
h4,.h4 { font-weight: 500; font-size: 1.250rem; line-height: 1.
|
16
|
-
h5,.h5 { font-weight: 500; font-size: 1.000rem; line-height: 1.
|
12
|
+
h1,.h1 { font-weight: 500; font-size: 3.500rem; line-height: 1.000; letter-spacing: -0.1rem; text-transform: none; }
|
13
|
+
h2,.h2 { font-weight: 500; font-size: 3.000rem; line-height: 1.000; letter-spacing: -0.0rem; text-transform: none; }
|
14
|
+
h3,.h3 { font-weight: 500; font-size: 1.750rem; line-height: 1.250; letter-spacing: -0.0rem; text-transform: none; }
|
15
|
+
h4,.h4 { font-weight: 500; font-size: 1.250rem; line-height: 1.250; letter-spacing: +0.0rem; text-transform: none; }
|
16
|
+
h5,.h5 { font-weight: 500; font-size: 1.000rem; line-height: 1.250; letter-spacing: -0.0rem; text-transform: none; }
|
17
|
+
|
18
|
+
// h1,.h1 { font-weight: 500; font-size: 3.000rem; line-height: 1.000; letter-spacing: -0.1rem; text-transform: none; }
|
19
|
+
// h2,.h2 { font-weight: 500; font-size: 2.500rem; line-height: 1.000; letter-spacing: -0.0rem; text-transform: none; }
|
20
|
+
// h3,.h3 { font-weight: 500; font-size: 1.750rem; line-height: 1.250; letter-spacing: -0.0rem; text-transform: none; }
|
21
|
+
// h4,.h4 { font-weight: 500; font-size: 1.250rem; line-height: 1.250; letter-spacing: +0.0rem; text-transform: none; }
|
22
|
+
// h5,.h5 { font-weight: 500; font-size: 1.000rem; line-height: 1.250; letter-spacing: -0.0rem; text-transform: none; }
|
23
|
+
|
17
24
|
// Typogragy Styles
|
18
|
-
.p-small { font-weight: 400; font-size: 0.75rem; line-height: 1.
|
19
|
-
p, .p-medium { font-weight: 400; font-size: 1.00rem; line-height: 1.
|
20
|
-
.p-big { font-weight: 400; font-size: 1.50rem; line-height: 1.
|
25
|
+
.p-small { font-weight: 400; font-size: 0.75rem; line-height: 1.250; }
|
26
|
+
p, .p-medium { font-weight: 400; font-size: 1.00rem; line-height: 1.250 }
|
27
|
+
.p-big { font-weight: 400; font-size: 1.50rem; line-height: 1.250; letter-spacing: +0.0rem; }
|
21
28
|
|
22
|
-
b { font-weight:
|
29
|
+
b { font-weight: 600}
|
23
30
|
|
24
31
|
a { transition: all 0.233s ease; }
|
25
|
-
a:hover { cursor: pointer;
|
32
|
+
a:hover { cursor: pointer;}
|
26
33
|
a:active { opacity: 0.75 }
|
27
34
|
// Text align
|
28
35
|
.t-left { text-align: left; }
|
@@ -33,8 +40,8 @@ a:active { opacity: 0.75 }
|
|
33
40
|
.t-demi { font-weight: 700;}
|
34
41
|
.t-semi { font-weight: 600;}
|
35
42
|
.t-medium { font-weight: 500;}
|
36
|
-
.t-regular { font-weight:
|
37
|
-
.t-light { font-weight:
|
43
|
+
.t-regular { font-weight: 400;}
|
44
|
+
.t-light { font-weight: 300;}
|
38
45
|
// Linehegiht
|
39
46
|
.t-lh-05 { line-height: 0.5 }
|
40
47
|
.t-lh-075 { line-height: 0.75 }
|
@@ -1,67 +0,0 @@
|
|
1
|
-
<template>
|
2
|
-
<section class="pd-thin">
|
3
|
-
<div class="o-hidden t-black bg-main pd-big radius-big">
|
4
|
-
<header class="t-center z-index-1 mn-b-big">
|
5
|
-
<h2 class="mn-l-auto mn-r-auto w-m-40r mn-b-medium">Stay Updated with The Latest in Cannabis.</h2>
|
6
|
-
<p class="t-transp p-big">Subscribe to our newsletter for news, insights, and more from the Weeder universe.</p>
|
7
|
-
</header>
|
8
|
-
|
9
|
-
<div class="z-index-1 mn-b-big w-100 flex-nowrap flex">
|
10
|
-
|
11
|
-
<!-- v-model:field="store.applications.state.form.data.email" -->
|
12
|
-
<FieldBig
|
13
|
-
:input="email"
|
14
|
-
:typingSpeed="75"
|
15
|
-
:loopTyping="false"
|
16
|
-
:enableTyping="false"
|
17
|
-
placeholder="Please enter your email"
|
18
|
-
action="Subscribe"
|
19
|
-
@update:input="email = $event"
|
20
|
-
@action="router.push({name: 'Product Recommmendation', query: {mood: mood}})"
|
21
|
-
class="mn-l-auto mn-r-auto bg-white t-black w-50"
|
22
|
-
/>
|
23
|
-
</div>
|
24
|
-
|
25
|
-
<div class="w-100 h-100 pos-absolute pos-t-50-negative pos-r-0 z-index-0 grid">
|
26
|
-
<div class="spiral"></div>
|
27
|
-
</div>
|
28
|
-
</div>
|
29
|
-
</section>
|
30
|
-
</template>
|
31
|
-
|
32
|
-
<script setup>
|
33
|
-
import { ref } from 'vue'
|
34
|
-
import FieldBig from "@pf/src/components/FieldBig/FieldBig.vue";
|
35
|
-
|
36
|
-
let email = ref('')
|
37
|
-
|
38
|
-
function subscribeNewsletter() {
|
39
|
-
// Здесь ваша логика для отправки данных на сервер или другой функционал.
|
40
|
-
// console.log('User subscribed with email:', store.applications.state.form.data.email);
|
41
|
-
}
|
42
|
-
</script>
|
43
|
-
|
44
|
-
<style lang="scss">
|
45
|
-
.spiral {
|
46
|
-
background-image: url('https://weeder.delivery/spiral.jpg');
|
47
|
-
background-size: cover;
|
48
|
-
width: 100rem;
|
49
|
-
height: 100rem;
|
50
|
-
position: absolute;
|
51
|
-
top: 50%;
|
52
|
-
left: 50%;
|
53
|
-
opacity: 0.03;
|
54
|
-
transform: translate(-50%, -50%) rotate(0deg);
|
55
|
-
transform-origin: center center;
|
56
|
-
animation: spin 5s linear infinite;
|
57
|
-
}
|
58
|
-
|
59
|
-
@keyframes spin {
|
60
|
-
0% {
|
61
|
-
transform: translate(-50%, -50%) rotate(0deg);
|
62
|
-
}
|
63
|
-
100% {
|
64
|
-
transform: translate(-50%, -50%) rotate(360deg);
|
65
|
-
}
|
66
|
-
}
|
67
|
-
</style>
|
@@ -1,52 +0,0 @@
|
|
1
|
-
<template>
|
2
|
-
<div class="mn-b-thin w-100 pd-medium bg-white radius-medium">
|
3
|
-
<!-- <VueYoutube v-if="prop.content" :video-id="prop.content" />
|
4
|
-
|
5
|
-
|
6
|
-
<div v-else class="flex-v-center flex-nowrap flex gap-small">
|
7
|
-
<Field
|
8
|
-
v-model:field="embedCode"
|
9
|
-
type="textarea"
|
10
|
-
:placeholder="'Paste your embed code here'"
|
11
|
-
class="
|
12
|
-
w-100
|
13
|
-
br-solid
|
14
|
-
br-1px
|
15
|
-
br-black-transp-10
|
16
|
-
pd-medium
|
17
|
-
radius-small
|
18
|
-
mn-b-thin
|
19
|
-
"
|
20
|
-
/>
|
21
|
-
|
22
|
-
<p class="t-center">Embeds from youtube.com, vimeo.com, soundcloud.com are allowed</p>
|
23
|
-
<button @click="onComponentClick" class="button-small button">Save</button>
|
24
|
-
</div> -->
|
25
|
-
</div>
|
26
|
-
</template>
|
27
|
-
|
28
|
-
<script setup>
|
29
|
-
import { ref } from 'vue';
|
30
|
-
// import VueYoutube from 'vue-youtube-vue-3'
|
31
|
-
import Field from '@pf/src/components/Field/Field.vue'
|
32
|
-
|
33
|
-
const embedCode = ref(null);
|
34
|
-
|
35
|
-
const props = defineProps(['label', 'value', 'prop']);
|
36
|
-
|
37
|
-
const emit = defineEmits(['input', 'updateBlock']);
|
38
|
-
|
39
|
-
function isValidEmbedCode(code) {
|
40
|
-
const allowedSources = [/youtube\.com/,/youtu\.be/,/soundcloud\.com/, /vimeo\.com/];
|
41
|
-
return allowedSources.some(pattern => pattern.test(code));
|
42
|
-
}
|
43
|
-
|
44
|
-
function onComponentClick() {
|
45
|
-
if (embedCode.value) {
|
46
|
-
emit('input', embedCode.value);
|
47
|
-
emit('updateBlock', props.prop, { content: embedCode.value });
|
48
|
-
} else {
|
49
|
-
alert('Invalid embed code or source not allowed.');
|
50
|
-
}
|
51
|
-
}
|
52
|
-
</script>
|