@meduza/ui-kit-2 0.2.20 → 0.2.21
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 -5
- 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 -5
- package/dist/ui-kit-2.esm.js.map +1 -1
- package/dist/ui-kit.css +2872 -2869
- package/package.json +1 -1
- package/src/AnnouncementInText/AnnouncementInText.module.css +4 -0
- package/src/AnnouncementInText/index.tsx +7 -5
package/package.json
CHANGED
|
@@ -21,17 +21,18 @@ export const AnnouncementInText: React.FC<AnnouncementInTextProps> = ({
|
|
|
21
21
|
const data = {
|
|
22
22
|
ru: {
|
|
23
23
|
title:
|
|
24
|
-
'
|
|
24
|
+
'«Медуза» заблокирована в России. Мы были к этому готовы — и продолжаем работать. Несмотря ни на что',
|
|
25
25
|
text:
|
|
26
|
-
'
|
|
26
|
+
'<p>Нам нужна ваша помощь как никогда. Прямо сейчас. Дальше всем нам будет еще труднее. Мы независимое издание и работаем только в интересах читателей.</p>',
|
|
27
27
|
button: 'Хочу помочь',
|
|
28
28
|
href: 'https://mdza.io/yiNxPZ7Bs-k'
|
|
29
29
|
},
|
|
30
30
|
|
|
31
31
|
en: {
|
|
32
|
-
title:
|
|
32
|
+
title:
|
|
33
|
+
'Meduza has been blocked in Russia. We were ready for this and our work continues, no matter what, but we need your support like never before. ',
|
|
33
34
|
text:
|
|
34
|
-
'We
|
|
35
|
+
'<p>We need it now. Tomorrow could be too late. We are an independent publication, and we work only in the interests of our readers. Many of our readers in Russia can no longer contribute, so we turn to you, our audience around the world.</p>',
|
|
35
36
|
button: 'I want to help',
|
|
36
37
|
href: 'https://support.meduza.io/en'
|
|
37
38
|
}
|
|
@@ -49,7 +50,8 @@ export const AnnouncementInText: React.FC<AnnouncementInTextProps> = ({
|
|
|
49
50
|
className={styles.title}
|
|
50
51
|
dangerouslySetInnerHTML={{ __html: localeData.title }}
|
|
51
52
|
/>
|
|
52
|
-
|
|
53
|
+
|
|
54
|
+
<div dangerouslySetInnerHTML={{ __html: localeData.text }} />
|
|
53
55
|
</div>
|
|
54
56
|
|
|
55
57
|
<div className={styles.footer}>
|