bfg-common 1.2.37 → 1.2.38

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.
@@ -753,7 +753,6 @@
753
753
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 77.42 79.97">
754
754
  <defs>
755
755
  <linearGradient
756
- id="a"
757
756
  x1="70.79"
758
757
  x2="6.447"
759
758
  y1="12.39"
@@ -1,95 +1,114 @@
1
- <template>
2
- <div class="bad-browser">
3
- <div class="main-block">
4
- <h1 class="title-block">
5
- {{ localization.browserOutDate }}
6
- </h1>
7
- <p class="first description-text">
8
- {{ firstDescriptionText }}
9
- </p>
10
- <div class="browsers-block">
11
- <a href="https://www.google.com/chrome/" target="_blank">
12
- <div class="browser-item">
13
- <atoms-the-icon2 name="chrome" class="browser-icon" />
14
- <p class="browser-name">Chrome</p>
15
- </div>
16
- </a>
17
- <a href="https://www.mozilla.org/en-US/" target="_blank">
18
- <div class="browser-item">
19
- <atoms-the-icon2 name="firefox" class="browser-icon" />
20
- <p class="browser-name">Firefox</p>
21
- </div>
22
- </a>
23
- <a href="https://support.apple.com/downloads/safari" target="_blank">
24
- <div class="browser-item">
25
- <atoms-the-icon2 name="safari" class="browser-icon" />
26
- <p class="browser-name">Safari</p>
27
- </div>
28
- </a>
29
- <a href="https://www.microsoft.com/en-us/edge/download?form=MA13FJ" target="_blank">
30
- <div class="browser-item">
31
- <atoms-the-icon2 name="edge" class="browser-icon" />
32
- <p class="browser-name">Edge</p>
33
- </div>
34
- </a>
35
- </div>
36
- <p>
37
- {{ localization.browserOutDateDesc2 }}
38
- <a href="#">{{ localization.browserOutDateDesc3 }}</a>
39
- </p>
40
- </div>
41
- </div>
42
- </template>
43
-
44
- <script setup lang="ts">
45
- import { UI_I_Localization } from '~/models/interfaces'
46
-
47
- const props = defineProps<{
48
- projectName: string
49
- }>()
50
-
51
- const localization = computed<UI_I_Localization>(() => useLocal())
52
-
53
- const firstDescriptionText = computed<string>(() =>
54
- localization.value.browserOutDateDesc.replace('{0}', props.projectName)
55
- )
56
- </script>
57
-
58
- <style scoped lang="scss">
59
- .bad-browser {
60
- height: inherit;
61
- display: flex;
62
- justify-content: center;
63
- align-items: center;
64
-
65
- .main-block {
66
- width: max-content;
67
- padding: 20px 40px;
68
- text-align: center;
69
-
70
- .title-block {
71
- font-size: 32px;
72
- font-weight: 400;
73
- }
74
- .description-text {
75
- &.first {
76
- margin: 0 auto;
77
- max-width: 400px;
78
- }
79
- }
80
- .browsers-block {
81
- margin: 20px 0;
82
- display: flex;
83
- align-items: center;
84
- justify-content: center;
85
- gap: 40px;
86
-
87
- .browser-item {
88
- .browser-icon {
89
- width: 60px;
90
- }
91
- }
92
- }
93
- }
94
- }
95
- </style>
1
+ <template>
2
+ <div class="bad-browser">
3
+ <div class="main-block">
4
+ <h1 class="title-block">
5
+ {{ localization.browserOutDate }}
6
+ </h1>
7
+ <p class="first description-text">
8
+ {{ firstDescriptionText }}
9
+ </p>
10
+ <div class="browsers-block">
11
+ <a
12
+ href="https://www.google.com/chrome/"
13
+ target="_blank"
14
+ class="browser-link"
15
+ >
16
+ <div class="browser-item">
17
+ <atoms-the-icon2 name="chrome" class="browser-icon" />
18
+ <p class="browser-name">Chrome</p>
19
+ </div>
20
+ </a>
21
+ <a
22
+ href="https://www.mozilla.org/en-US/"
23
+ target="_blank"
24
+ class="browser-link"
25
+ >
26
+ <div class="browser-item">
27
+ <atoms-the-icon2 name="firefox" class="browser-icon" />
28
+ <p class="browser-name">Firefox</p>
29
+ </div>
30
+ </a>
31
+ <a
32
+ href="https://support.apple.com/downloads/safari"
33
+ target="_blank"
34
+ class="browser-link"
35
+ >
36
+ <div class="browser-item">
37
+ <atoms-the-icon2 name="safari" class="browser-icon" />
38
+ <p class="browser-name">Safari</p>
39
+ </div>
40
+ </a>
41
+ <a
42
+ href="https://www.microsoft.com/en-us/edge/download?form=MA13FJ"
43
+ target="_blank"
44
+ class="browser-link last"
45
+ >
46
+ <div class="browser-item">
47
+ <atoms-the-icon2 name="edge" class="browser-icon" />
48
+ <p class="browser-name">Edge</p>
49
+ </div>
50
+ </a>
51
+ </div>
52
+ <p>
53
+ {{ localization.browserOutDateDesc2 }}
54
+ <a href="#">{{ localization.browserOutDateDesc3 }}</a>
55
+ </p>
56
+ </div>
57
+ </div>
58
+ </template>
59
+
60
+ <script setup lang="ts">
61
+ import { UI_I_Localization } from '~/models/interfaces'
62
+
63
+ const props = defineProps<{
64
+ projectName: string
65
+ }>()
66
+
67
+ const localization = computed<UI_I_Localization>(() => useLocal())
68
+
69
+ const firstDescriptionText = computed<string>(() =>
70
+ localization.value.browserOutDateDesc.replace('{0}', props.projectName)
71
+ )
72
+ </script>
73
+
74
+ <style scoped lang="scss">
75
+ .bad-browser {
76
+ height: inherit;
77
+ display: flex;
78
+ justify-content: center;
79
+ align-items: center;
80
+
81
+ .main-block {
82
+ width: max-content;
83
+ padding: 20px 40px;
84
+ text-align: center;
85
+
86
+ .title-block {
87
+ font-size: 32px;
88
+ font-weight: 400;
89
+ }
90
+ .description-text {
91
+ &.first {
92
+ margin: 0 auto;
93
+ max-width: 400px;
94
+ }
95
+ }
96
+ .browsers-block {
97
+ margin: 20px 0;
98
+ display: flex;
99
+ align-items: center;
100
+ justify-content: center;
101
+
102
+ .browser-link:not(.last) {
103
+ margin-right: 40px;
104
+ }
105
+
106
+ .browser-item {
107
+ .browser-icon {
108
+ width: 60px;
109
+ }
110
+ }
111
+ }
112
+ }
113
+ }
114
+ </style>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.2.37",
4
+ "version": "1.2.38",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",