@ozdao/prometheus-framework 0.2.109 → 0.2.110
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/main.css +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/elements/FloatingImages.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/landing/components/elements/FloatingImages.vue.js +14 -14
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +13 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +1 -13
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/modules/landing/components/elements/FloatingImages.vue +4 -3
- package/src/modules/landing/components/pages/Home.vue +12 -9
- package/src/modules/users/components/sections/FeaturedUsers.vue +42 -0
- package/src/styles/base/all.scss +2 -0
- package/src/styles/config.scss +57 -26
- package/src/styles/responsive.scss +6 -0
@@ -10,6 +10,7 @@
|
|
10
10
|
<MobileApp/>
|
11
11
|
<JoinUs/>
|
12
12
|
<SubscribeNewsletter/>
|
13
|
+
<FeaturedUsers/>
|
13
14
|
<div class="pd-thin">
|
14
15
|
<SectionGuide/>
|
15
16
|
</div>
|
@@ -21,18 +22,20 @@
|
|
21
22
|
|
22
23
|
<script setup="props">
|
23
24
|
// Need to refactor
|
24
|
-
import SectionsSection
|
25
|
+
import SectionsSection from '@pf/src/modules/landing/components/sections/SectionsSection.vue'
|
25
26
|
// Module landing
|
26
|
-
import SectionFeatures
|
27
|
-
import MobileApp
|
28
|
-
import SectionGuide
|
29
|
-
import SectionEarn
|
27
|
+
import SectionFeatures from '@pf/src/modules/landing/components/sections/SectionFeatures.vue'
|
28
|
+
import MobileApp from '@pf/src/modules/landing/components/sections/MobileApp.vue'
|
29
|
+
import SectionGuide from '@pf/src/modules/landing/components/sections/SectionGuide.vue'
|
30
|
+
import SectionEarn from '@pf/src/modules/landing/components/sections/SectionEarn.vue'
|
30
31
|
// Module community
|
31
|
-
import HotPosts
|
32
|
+
import HotPosts from '@pf/src/modules/community/components/sections/HotPosts.vue'
|
32
33
|
// Module Products
|
33
|
-
import MenuSection
|
34
|
-
import PopularProducts
|
35
|
-
import HeroRecommendation
|
34
|
+
import MenuSection from '@pf/src/modules/products/components/sections/MenuSection.vue'
|
35
|
+
import PopularProducts from '@pf/src/modules/products/components/sections/PopularProducts.vue'
|
36
|
+
import HeroRecommendation from '@pf/src/modules/products/components/sections/HeroRecommendation.vue'
|
37
|
+
// Module users
|
38
|
+
import FeaturedUsers from '@pf/src/modules/users/components/sections/FeaturedUsers.vue'
|
36
39
|
// Not working
|
37
40
|
import JoinUs from '@pf/src/modules/community/components/sections/JoinUs.vue'
|
38
41
|
import SubscribeNewsletter from '@pf/src/modules/orders/components/sections/SubscribeNewsletter.vue'
|
@@ -0,0 +1,42 @@
|
|
1
|
+
<template>
|
2
|
+
<div class="pd-extra o-hidden w-100">
|
3
|
+
<div class="content">
|
4
|
+
<span class="h2 mn-b-big">
|
5
|
+
Ask over 5 million people who have trusted us for decades
|
6
|
+
</span>
|
7
|
+
</div>
|
8
|
+
<div class="gap-thin flex flex-nowrap">
|
9
|
+
<CardUser
|
10
|
+
v-for="user in usersList"
|
11
|
+
class="selector flex-child bg-grey pd-small radius-small"
|
12
|
+
:user="user"
|
13
|
+
:photo="user.profile.photo"
|
14
|
+
:name="user.profile.name || user.phone || user.username"
|
15
|
+
:phone="'DJ'"
|
16
|
+
/>
|
17
|
+
</div>
|
18
|
+
</div>
|
19
|
+
</template>
|
20
|
+
|
21
|
+
<script setup>
|
22
|
+
import { ref, onMounted } from 'vue';
|
23
|
+
|
24
|
+
import * as users from '@pf/src/modules/users/store/users'
|
25
|
+
|
26
|
+
import CardUser from '@pf/src/modules/users/components/blocks/CardUser.vue'
|
27
|
+
|
28
|
+
const usersList = ref([])
|
29
|
+
|
30
|
+
onMounted(async() => {
|
31
|
+
usersList.value = await users.actions.read({
|
32
|
+
})
|
33
|
+
});
|
34
|
+
</script>
|
35
|
+
|
36
|
+
<style lang="scss">
|
37
|
+
.selector {
|
38
|
+
flex-grow: 1;
|
39
|
+
flex-basis: 0;
|
40
|
+
min-width: 0;
|
41
|
+
}
|
42
|
+
</style>
|
package/src/styles/base/all.scss
CHANGED
package/src/styles/config.scss
CHANGED
@@ -32,34 +32,58 @@
|
|
32
32
|
}
|
33
33
|
}
|
34
34
|
|
35
|
-
|
36
|
-
|
35
|
+
@mixin generate-utility-classes($class-name, $css-property, $modifiers, $values, $breakpoints: null) {
|
36
|
+
// Генерация базовых классов без модификаторов и медиа-запросов
|
37
37
|
@each $value-key, $value in $values {
|
38
|
-
// Генерация классов без модификаторов
|
39
38
|
.#{$class-name}-#{$value-key} {
|
40
39
|
#{$css-property}: $value;
|
41
40
|
}
|
42
|
-
// Генерация отрицательных классов без модификаторов
|
43
41
|
.#{$class-name}-#{$value-key}-negative {
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
// Генерация классов с модификаторами
|
42
|
+
#{$css-property}: -$value;
|
43
|
+
}
|
44
|
+
|
48
45
|
@if $modifiers {
|
49
46
|
@each $modifier, $css-modifier in $modifiers {
|
50
47
|
.#{$class-name}-#{$modifier}-#{$value-key} {
|
51
48
|
#{$css-property}-#{$css-modifier}: $value;
|
52
49
|
}
|
53
|
-
// Генерация отрицательных классов с модификаторами
|
54
50
|
.#{$class-name}-#{$modifier}-#{$value-key}-negative {
|
55
51
|
#{$css-property}-#{$css-modifier}: calc(#{$value} * -1);
|
56
52
|
}
|
57
53
|
}
|
58
54
|
}
|
59
55
|
}
|
56
|
+
|
57
|
+
// Генерация классов с медиа-запросами
|
58
|
+
@if $breakpoints {
|
59
|
+
@each $breakpoint-key, $breakpoint-query in $breakpoints {
|
60
|
+
@media #{$breakpoint-query} {
|
61
|
+
@each $value-key, $value in $values {
|
62
|
+
.#{$breakpoint-key}\:#{$class-name}-#{$value-key} {
|
63
|
+
#{$css-property}: $value;
|
64
|
+
}
|
65
|
+
.#{$breakpoint-key}\:#{$class-name}-#{$value-key}-negative {
|
66
|
+
#{$css-property}: calc(#{$value} * -1);
|
67
|
+
}
|
68
|
+
|
69
|
+
@if $modifiers {
|
70
|
+
@each $modifier, $css-modifier in $modifiers {
|
71
|
+
.#{$breakpoint-key}\:#{$class-name}-#{$modifier}-#{$value-key} {
|
72
|
+
#{$css-property}-#{$css-modifier}: $value;
|
73
|
+
}
|
74
|
+
.#{$breakpoint-key}\:#{$class-name}-#{$modifier}-#{$value-key}-negative {
|
75
|
+
#{$css-property}-#{$css-modifier}: calc(#{$value} * -1);
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
60
83
|
}
|
61
84
|
|
62
85
|
|
86
|
+
|
63
87
|
:root {
|
64
88
|
// THEME
|
65
89
|
color-scheme: light dark;
|
@@ -202,6 +226,13 @@ $percent: (
|
|
202
226
|
'0': 0%,
|
203
227
|
);
|
204
228
|
|
229
|
+
$breakpoints: (
|
230
|
+
'mobile': "(max-width: 640px)",
|
231
|
+
'tablet': "(min-width: 641px) and (max-width: 1024px)",
|
232
|
+
'desktop': "(min-width: 1025px) and (max-width: 1440px)",
|
233
|
+
'widescreen': "(min-width: 1441px)"
|
234
|
+
);
|
235
|
+
|
205
236
|
$base: (
|
206
237
|
'auto': auto,
|
207
238
|
'zero': 0,
|
@@ -213,29 +244,29 @@ $combined: map-merge($combined, $variables);
|
|
213
244
|
$combined: map-merge($combined, $base);
|
214
245
|
|
215
246
|
body {
|
216
|
-
@include generate-utility-classes('pd', 'padding',
|
217
|
-
@include generate-utility-classes('mn', 'margin',
|
247
|
+
@include generate-utility-classes('pd', 'padding', $modifiers, $combined, $breakpoints);
|
248
|
+
@include generate-utility-classes('mn', 'margin', $modifiers, $combined, $breakpoints);
|
218
249
|
|
219
|
-
@include generate-utility-classes('w',
|
220
|
-
@include generate-utility-classes('h',
|
250
|
+
@include generate-utility-classes('w', 'width', null, $combined, $breakpoints);
|
251
|
+
@include generate-utility-classes('h', 'height', null, $combined, $breakpoints);
|
221
252
|
|
222
|
-
@include generate-utility-classes('pos-t', 'top',
|
223
|
-
@include generate-utility-classes('pos-r', 'right',
|
224
|
-
@include generate-utility-classes('pos-b', 'bottom',
|
225
|
-
@include generate-utility-classes('pos-l', 'left',
|
253
|
+
@include generate-utility-classes('pos-t', 'top', null, $combined, $breakpoints);
|
254
|
+
@include generate-utility-classes('pos-r', 'right', null, $combined, $breakpoints);
|
255
|
+
@include generate-utility-classes('pos-b', 'bottom', null, $combined, $breakpoints);
|
256
|
+
@include generate-utility-classes('pos-l', 'left', null, $combined, $breakpoints);
|
226
257
|
|
227
|
-
@include generate-utility-classes('h-max', 'max-height',
|
228
|
-
@include generate-utility-classes('h-min', 'min-height',
|
258
|
+
@include generate-utility-classes('h-max', 'max-height', null, $combined, $breakpoints);
|
259
|
+
@include generate-utility-classes('h-min', 'min-height', null, $combined, $breakpoints);
|
229
260
|
|
230
|
-
@include generate-utility-classes('w-max', 'max-width', null, $combined);
|
231
|
-
@include generate-utility-classes('w-min', 'min-width', null, $combined);
|
261
|
+
@include generate-utility-classes('w-max', 'max-width', null, $combined, $breakpoints);
|
262
|
+
@include generate-utility-classes('w-min', 'min-width', null, $combined, $breakpoints);
|
232
263
|
|
233
|
-
@include generate-utility-classes('radius', 'border-radius',
|
264
|
+
@include generate-utility-classes('radius', 'border-radius', null, $combined, $breakpoints);
|
234
265
|
|
235
|
-
@include generate-utility-classes('radius-tl', 'border-top-left-radius',
|
236
|
-
@include generate-utility-classes('radius-
|
237
|
-
@include generate-utility-classes('radius-
|
238
|
-
@include generate-utility-classes('radius-bl', 'border-bottom-left-radius',
|
266
|
+
@include generate-utility-classes('radius-tl', 'border-top-left-radius', null, $combined, $breakpoints);
|
267
|
+
@include generate-utility-classes('radius-tr', 'border-top-right-radius', null, $combined, $breakpoints);
|
268
|
+
@include generate-utility-classes('radius-br', 'border-bottom-right-radius', null, $combined, $breakpoints);
|
269
|
+
@include generate-utility-classes('radius-bl', 'border-bottom-left-radius', null, $combined, $breakpoints);
|
239
270
|
|
240
271
|
@include generate-bg-classes('bg-main', 'main');
|
241
272
|
@include generate-bg-classes('bg-second', 'second');
|
@@ -1,15 +1,21 @@
|
|
1
1
|
$super-ultra-tiny-flip-phone-max: 240px;
|
2
|
+
|
2
3
|
$flip-phone-max: 320px;
|
3
4
|
$phone-portrait-max: 321px;
|
4
5
|
$phone-landscape-max: 640px;
|
6
|
+
|
5
7
|
$tablet-portrait-min: 641px;
|
6
8
|
$tablet-portrait-max: 768px;
|
9
|
+
|
7
10
|
$tablet-landscape-min: 769px;
|
8
11
|
$tablet-landscape-max: 1024px;
|
12
|
+
|
9
13
|
$desktop-min: 1025px;
|
10
14
|
$desktop-max: 1440px;
|
15
|
+
|
11
16
|
$xl-desktop-min: 1441px;
|
12
17
|
$xl-desktop-max: 1920px;
|
18
|
+
|
13
19
|
$xxl-desktop-min: 1921px;
|
14
20
|
|
15
21
|
@media screen and (min-width: $xxl-desktop-min) {
|