@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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.2.20",
2
+ "version": "0.2.21",
3
3
  "license": "MIT",
4
4
  "description": "UIKit for Meduza",
5
5
  "repository": "https://github.com/meduza-corp/ui-kit-2.git",
@@ -50,6 +50,10 @@
50
50
  }
51
51
  }
52
52
 
53
+ .body p + p {
54
+ margin-top: 12px;
55
+ }
56
+
53
57
  .title {
54
58
  max-width: 315px;
55
59
  margin: 0 0 10px;
@@ -21,17 +21,18 @@ export const AnnouncementInText: React.FC<AnnouncementInTextProps> = ({
21
21
  const data = {
22
22
  ru: {
23
23
  title:
24
- 'Поддержите &laquo;Медузу&raquo;. Сейчас. Это&nbsp;критически важно',
24
+ '&laquo;Медуза&raquo; заблокирована в&nbsp;России. Мы&nbsp;были к&nbsp;этому готовы&nbsp;&mdash; и&nbsp;продолжаем работать. Несмотря&nbsp;ни&nbsp;на&nbsp;что',
25
25
  text:
26
- 'Мы&nbsp;готовимся к&nbsp;худшему. Из-за войны с&nbsp;Украиной власти могут начать блокировать независимые СМИ в&nbsp;любой момент. В&nbsp;то&nbsp;же время международные санкции в&nbsp;отношении Центробанка и&nbsp;других российских кредитных организаций создают серьезные риски для нашего краудфандинга. Поэтому мы&nbsp;просим вас помочь нашей редакции. Прямо сейчас. Что важно знать: мы&nbsp;независимое издание, мы&nbsp;работаем только в&nbsp;интересах наших читателей, мы&nbsp;не&nbsp;планируем закрываться. Несмотря ни&nbsp;на&nbsp;что. Спасибо вам!',
26
+ '<p>Нам нужна ваша помощь как никогда. Прямо сейчас. Дальше всем нам будет еще труднее. Мы&nbsp;независимое издание и&nbsp;работаем только в&nbsp;интересах читателей.</p>',
27
27
  button: 'Хочу помочь',
28
28
  href: 'https://mdza.io/yiNxPZ7Bs-k'
29
29
  },
30
30
 
31
31
  en: {
32
- title: 'Meduza needs your support. We need it now, like never before.',
32
+ title:
33
+ 'Meduza has been blocked in Russia. We&nbsp;were ready for this and our work continues, no matter what, but we need your support like never before. ',
33
34
  text:
34
- 'We are preparing for the worst. Due to the war with Ukraine, the Russian authorities could begin blocking the country’s independent media at any moment. International sanctions against the Central Bank and other Russian credit organizations are creating serious risks for own crowdfunding. That’s why we’re asking you to support our newsroom. Right now. What you should know: We are an independent publication. We work only in the interests of our readers. We have no plans to close, come hell or high water. Thank you, everyone!',
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&nbsp;of&nbsp;our&nbsp;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
- <p dangerouslySetInnerHTML={{ __html: localeData.text }} />
53
+
54
+ <div dangerouslySetInnerHTML={{ __html: localeData.text }} />
53
55
  </div>
54
56
 
55
57
  <div className={styles.footer}>