@meduza/ui-kit-2 0.1.91 → 0.1.93
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.
- package/dist/ui-kit-2.cjs.development.js +5 -9
- package/dist/ui-kit-2.cjs.development.js.map +1 -1
- package/dist/ui-kit-2.cjs.production.min.js +1 -1
- package/dist/ui-kit-2.cjs.production.min.js.map +1 -1
- package/dist/ui-kit-2.esm.js +5 -9
- package/dist/ui-kit-2.esm.js.map +1 -1
- package/dist/ui-kit.css +894 -895
- package/package.json +1 -1
- package/src/DonatesTeaser/DonatesTeaser.module.css +4 -5
- package/src/DonatesTeaser/index.tsx +7 -7
package/package.json
CHANGED
|
@@ -13,12 +13,10 @@
|
|
|
13
13
|
text-decoration: none;
|
|
14
14
|
|
|
15
15
|
outline-width: 0;
|
|
16
|
-
background-color: #
|
|
16
|
+
background-color: #f66861;
|
|
17
17
|
|
|
18
18
|
font-family: $secondaryFont;
|
|
19
19
|
|
|
20
|
-
transform: translateZ(0);
|
|
21
|
-
|
|
22
20
|
@media $mobile {
|
|
23
21
|
margin: 25px 0 20px;
|
|
24
22
|
padding: 48px 30px;
|
|
@@ -35,6 +33,7 @@
|
|
|
35
33
|
max-width: 852px;
|
|
36
34
|
margin: 0 auto;
|
|
37
35
|
|
|
36
|
+
transform: translateZ(0);
|
|
38
37
|
text-align: center;
|
|
39
38
|
|
|
40
39
|
color: #fff;
|
|
@@ -86,7 +85,7 @@
|
|
|
86
85
|
letter-spacing: 1px;
|
|
87
86
|
text-transform: uppercase;
|
|
88
87
|
|
|
89
|
-
color:
|
|
88
|
+
color: rgba(246, 104, 97, 1);
|
|
90
89
|
|
|
91
90
|
font-size: 11px;
|
|
92
91
|
font-weight: 600;
|
|
@@ -125,7 +124,7 @@
|
|
|
125
124
|
transition: opacity 250ms ease;
|
|
126
125
|
|
|
127
126
|
border-radius: 40px;
|
|
128
|
-
background-color: #
|
|
127
|
+
background-color: #eafe0b;
|
|
129
128
|
|
|
130
129
|
filter: blur(10px);
|
|
131
130
|
}
|
|
@@ -17,15 +17,15 @@ export const DonatesTeaser: React.FC<DonatesTeaserProps> = ({
|
|
|
17
17
|
|
|
18
18
|
const data = {
|
|
19
19
|
ru: {
|
|
20
|
-
title: '
|
|
21
|
-
subtitle:
|
|
22
|
-
|
|
20
|
+
title: 'Слушайте музыку, помогайте «Медузе»',
|
|
21
|
+
// subtitle:
|
|
22
|
+
// '«Медуза» продолжает работать, потому что есть вы',
|
|
23
23
|
button: 'Дать денег',
|
|
24
24
|
href: 'https://support.meduza.io'
|
|
25
25
|
},
|
|
26
26
|
en: {
|
|
27
|
-
title: '
|
|
28
|
-
subtitle: 'We’re only here thanks to you.',
|
|
27
|
+
title: 'Tune in and help Meduza!',
|
|
28
|
+
// subtitle: 'We’re only here thanks to you.',
|
|
29
29
|
button: 'Pledge today',
|
|
30
30
|
href: 'https://support.meduza.io/en'
|
|
31
31
|
}
|
|
@@ -36,11 +36,11 @@ export const DonatesTeaser: React.FC<DonatesTeaserProps> = ({
|
|
|
36
36
|
<div className={styles.main}>
|
|
37
37
|
<h3 className={styles.title}>
|
|
38
38
|
<span dangerouslySetInnerHTML={{ __html: data[lang].title }} />
|
|
39
|
-
{` `}
|
|
39
|
+
{/* {` `}
|
|
40
40
|
<span
|
|
41
41
|
className={styles.text}
|
|
42
42
|
dangerouslySetInnerHTML={{ __html: data[lang].subtitle }}
|
|
43
|
-
/>
|
|
43
|
+
/> */}
|
|
44
44
|
</h3>
|
|
45
45
|
</div>
|
|
46
46
|
|