adata-ui 0.1.43 → 0.1.44

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.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adata-ui",
3
- "version": "0.1.43",
3
+ "version": "0.1.44",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
Binary file
@@ -72,6 +72,7 @@ export default {
72
72
  border: none;
73
73
  border-radius: 2px;
74
74
  font-size: 14px;
75
+ font-weight: 500;
75
76
 
76
77
  @media screen and (max-width: 560px) {
77
78
  width: 100%;
@@ -183,6 +184,7 @@ export default {
183
184
  background: #0055BB;
184
185
  color: #fff;
185
186
  }
187
+
186
188
  }
187
189
 
188
190
  &_blue {
@@ -0,0 +1,14 @@
1
+ import MailTo from "./MailTo.vue";
2
+
3
+ export default {
4
+ title: "MailTo",
5
+ component: MailTo,
6
+ template: "<mail-to></mail-to>",
7
+ };
8
+
9
+ const Template = () => ({
10
+ components: { MailTo },
11
+ template: "<mail-to></mail-to>",
12
+ });
13
+
14
+ export const AMailTo = Template.bind({});
@@ -0,0 +1,66 @@
1
+ <template>
2
+ <div class="mail">
3
+ <h2 class="mail__title">Интересует больше данных?</h2>
4
+ <p class="mail__subtitle">
5
+ Отправьте ваш запрос на
6
+ <a class="mail__link" href="mailto:info@adata.kz">info@adata.kz</a>
7
+ </p>
8
+ <div class="mail__img-wrapper">
9
+ <img
10
+ class="mail__img"
11
+ :src="require('/src/assets/images/mail.png')"
12
+ alt="mail"
13
+ />
14
+ </div>
15
+ <p class="mail__text">
16
+ Мы обязательно ответим вам <br />
17
+ в кратчайшие сроки.
18
+ </p>
19
+ </div>
20
+ </template>
21
+
22
+ <script>
23
+ export default {
24
+ name: "MailTo",
25
+ };
26
+ </script>
27
+
28
+ <style lang="scss" scoped>
29
+ .mail {
30
+ padding: 25px 0px 50px;
31
+ &__title {
32
+ font-size: 20px;
33
+ line-height: 27px;
34
+ color: #2c3e50;
35
+ font-weight: 700;
36
+ text-align: center;
37
+ margin-bottom: 16px;
38
+ }
39
+ &__subtitle {
40
+ font-size: 14px;
41
+ line-height: 22px;
42
+ text-align: center;
43
+ color: #2c3e50;
44
+ }
45
+ &__link {
46
+ color: #007aff;
47
+ text-decoration: underline;
48
+ }
49
+ &__img-wrapper {
50
+ padding: 24px;
51
+ display: flex;
52
+ justify-content: center;
53
+ }
54
+ &__img {
55
+ width: 120px;
56
+ height: 120px;
57
+ object-fit: contain;
58
+ }
59
+ &__text {
60
+ font-size: 14px;
61
+ line-height: 22px;
62
+ text-align: center;
63
+ color: #2c3e50;
64
+ }
65
+ }
66
+ </style>
@@ -81,7 +81,6 @@ export default {
81
81
  },
82
82
  value: {
83
83
  type: String,
84
- required: true,
85
84
  default: "",
86
85
  },
87
86
  placeholder: {
@@ -1,24 +1,26 @@
1
- import Vue from 'vue'
2
- import AButton from './Button/AButton'
3
- import ATextField from './TextField/TextField'
4
- import APasswordField from './PasswordField/PasswordField'
5
- import AAlert from './Alert/Alert'
6
- import AHeader from './Header/Header'
7
- import AFooter from './Footer/Footer'
8
- import ASearchTextField from './SearchTextField/SearchTextField'
1
+ import Vue from "vue";
2
+ import AButton from "./Button/AButton";
3
+ import ATextField from "./TextField/TextField";
4
+ import APasswordField from "./PasswordField/PasswordField";
5
+ import AAlert from "./Alert/Alert";
6
+ import AHeader from "./Header/Header";
7
+ import AFooter from "./Footer/Footer";
8
+ import ASearchTextField from "./SearchTextField/SearchTextField";
9
+ import AMailTo from "./MailTo/MailTo";
9
10
 
10
11
  const Components = {
11
- AButton,
12
- ATextField,
13
- APasswordField,
14
- AAlert,
15
- AHeader,
16
- AFooter,
17
- ASearchTextField
12
+ AButton,
13
+ ATextField,
14
+ APasswordField,
15
+ AAlert,
16
+ AHeader,
17
+ AFooter,
18
+ ASearchTextField,
19
+ AMailTo,
18
20
  };
19
21
 
20
- Object.keys(Components).forEach(name => {
21
- Vue.component(name, Components[name]);
22
+ Object.keys(Components).forEach((name) => {
23
+ Vue.component(name, Components[name]);
22
24
  });
23
25
 
24
26
  export default Components;