@lancom/shared 0.0.329 → 0.0.330

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.
@@ -57,6 +57,9 @@ body {
57
57
  max-width: 1440px;
58
58
  }
59
59
  }
60
+ &.full {
61
+ max-width: none;
62
+ }
60
63
  }
61
64
  .invalidate {
62
65
  pointer-events: none;
@@ -1,15 +1,29 @@
1
1
  <template>
2
- <span>
3
- <i
2
+ <span
3
+ class="wrapper"
4
+ :class="{
5
+ 'wrapper--label': !!label
6
+ }">
7
+ <span
4
8
  v-if="icon"
5
- class="icon-smartphone">
6
- </i>
7
- <a
8
- :href="`tel:${contacts.phone}`"
9
- :style="{ color }"
10
- @click="onClick">
11
- {{contacts.phone}}
12
- </a>
9
+ class="icon">
10
+ <i class="icon-smartphone"></i>
11
+ </span>
12
+ <span>
13
+ <span
14
+ v-if="label"
15
+ class="label">
16
+ {{ label }}
17
+ </span>
18
+ <span class="phone">
19
+ <a
20
+ :href="`tel:${contacts.phone}`"
21
+ :style="{ color }"
22
+ @click="onClick">
23
+ {{contacts.phone}}
24
+ </a>
25
+ </span>
26
+ </span>
13
27
  </span>
14
28
  </template>
15
29
 
@@ -27,6 +41,9 @@ export default {
27
41
  color: {
28
42
  type: String,
29
43
  default: '#303030'
44
+ },
45
+ label: {
46
+ type: String
30
47
  }
31
48
  },
32
49
  computed: {
@@ -42,5 +59,20 @@ export default {
42
59
  }
43
60
  };
44
61
  </script>
62
+
63
+
64
+ <style lang="scss" scoped>
65
+ @import "@/assets/scss/variables";
66
+ .wrapper {
67
+ &--label {
68
+ display: flex;
69
+ align-items: center;
70
+ .label, .phone {
71
+ display: block;
72
+ }
73
+ }
74
+ }
75
+ </style>
76
+
45
77
 
46
78
 
@@ -2,16 +2,18 @@
2
2
  <div
3
3
  data-aos="aosFadeUp"
4
4
  class="Subscribe__wrapper">
5
- <slot name="header">
6
- <div class="Subscribe__title lc_h2">
7
- Subscribe to our news letter
8
- </div>
9
- </slot>
10
- <slot name="description">
11
- <div class="Subscribe__description lc_regular16">
12
- Sign up for new product relesses, free design rescurrces, and a chance to win 36 free custom printed shirts.
13
- </div>
14
- </slot>
5
+ <div class="Subscribe__info">
6
+ <slot name="header">
7
+ <div class="Subscribe__title lc_h2">
8
+ Subscribe to our <span>news letter</span>
9
+ </div>
10
+ </slot>
11
+ <slot name="description">
12
+ <div class="Subscribe__description lc_regular16">
13
+ Sign up for new product relesses, free design rescurrces, and a chance to win 36 free custom printed shirts.
14
+ </div>
15
+ </slot>
16
+ </div>
15
17
  <div v-if="isSubscribed">
16
18
  <div class="Subscribe__success lc_h5 mt-5">
17
19
  Subscribed successfully
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lancom/shared",
3
- "version": "0.0.329",
3
+ "version": "0.0.330",
4
4
  "description": "lancom common scripts",
5
5
  "author": "e.tokovenko <e.tokovenko@gmail.com>",
6
6
  "repository": {