Skip to content

Commit

Permalink
feat: added news article about duration module (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
vvtimofeev authored May 3, 2024
1 parent b32ba3a commit d96c7d1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions public/locales/en/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"header_title": "Build modern interfaces with the Gravity design system and libraries",
"header_actions_howToStart": "How to Start",
"news_title": "Recent updates",
"news_items_item1": "We've published our <a href=\"https://www.figma.com/community/file/1363128208054017326/gravity-ui-illustrations\">illustration library</a> in Figma community.",
"news_items_item2": "We've added two new components: <a href=\"https://gravity-ui.com/components/uikit/palette\">Palette</a>, which allows you to display a grid of icons and emojis, and <a href=\"https://preview.gravity-ui.com/uikit/?path=/docs/components-utils-divider--docs\">Divider</a>, which simply divides things.",
"news_items_item3": "The <a href=\"https://github.com/gravity-ui/illustrations/tree/main\">illustrations library</a> has been released, providing 21 default images in two themes for the placeholder component.",
"news_items_item1": "We added a duration module to our <a href=\"/libraries/date-utils\">date-utils library</a>. It implements the ISO 8601 standard for durations. <a href=\"https://github.com/gravity-ui/date-utils/blob/main/src/typings/duration.ts#L9\">Here</a> you can find more information about it.",
"news_items_item2": "We've published our <a href=\"https://www.figma.com/community/file/1363128208054017326/gravity-ui-illustrations\">illustration library</a> in Figma community.",
"news_items_item3": "We've added two new components: <a href=\"https://gravity-ui.com/components/uikit/palette\">Palette</a>, which allows you to display a grid of icons and emojis, and <a href=\"https://preview.gravity-ui.com/uikit/?path=/docs/components-utils-divider--docs\">Divider</a>, which simply divides things.",
"features_feature1_title": "Built on real-life experience",
"features_feature1_description": "Conceived as an in-house solution in response to real developers' needs, we released Gravity to the open-source community.",
"features_feature2_title": "First class design",
Expand Down
6 changes: 3 additions & 3 deletions public/locales/ru/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"header_title": "Создавайте современные интерфейсы с дизайн‑системой Gravity",
"header_actions_howToStart": "С чего начать",
"news_title": "Новости",
"news_items_item1": "Мы опубликовали <a href=\"https://www.figma.com/community/file/1363128208054017326/gravity-ui-illustrations\">библиотеку иллюстраций</a> в Figma community.",
"news_items_item2": "Мы добавили два новых компонента: <a href=\"https://gravity-ui.com/components/uikit/palette\">Palette</a>, который помогает отображать эмодзи или иконки и <a href=\"https://preview.gravity-ui.com/uikit/?path=/docs/components-utils-divider--docs\">Divider</a>, он поможет везде, где нужен разделитель.",
"news_items_item3": "Вышла<a href=\"https://github.com/gravity-ui/illustrations/tree/main\">библиотека иллюстраций</a>, в ней мы собрали 21 базовую иллюстрацию для светлой и тёмной темы. Они заработают автоматически, если вы используете placeholder компонент.",
"news_items_item1": "Мы добавили модуль duration в <a href=\"/libraries/date-utils\">библиотеку date-utils</a>. Он реализует стандарт ISO 8601 для временных интервалов. <a href=\"https://github.com/gravity-ui/date-utils/blob/main/src/typings/duration.ts#L9\">Тут</a> об этом можно почитать подробнее.",
"news_items_item2": "Мы опубликовали <a href=\"https://www.figma.com/community/file/1363128208054017326/gravity-ui-illustrations\">библиотеку иллюстраций</a> в Figma community.",
"news_items_item3": "Мы добавили два новых компонента: <a href=\"https://gravity-ui.com/components/uikit/palette\">Palette</a>, который помогает отображать эмодзи или иконки и <a href=\"https://preview.gravity-ui.com/uikit/?path=/docs/components-utils-divider--docs\">Divider</a>, он поможет везде, где нужен разделитель.",
"features_feature1_title": "Основано на реальном опыте использования",
"features_feature1_description": "Внутреннее решение в ответ на реальные потребности разработчиков: мы выпустили Gravity для open-source сообщества.",
"features_feature2_title": "Отличный дизайн",
Expand Down
6 changes: 3 additions & 3 deletions src/content/landing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,15 @@ export const getLanding = (t: TFunction): CustomPageContent => ({
title: t('home:news_title'),
items: [
{
date: '2024-04-22T12:00:00.000Z',
date: '2024-05-03T14:00:00.000Z',
content: t('home:news_items_item1'),
},
{
date: '2024-04-16T14:30:00.000Z',
date: '2024-04-22T12:00:00.000Z',
content: t('home:news_items_item2'),
},
{
date: '2024-04-02T09:00:00.000Z',
date: '2024-04-16T14:30:00.000Z',
content: t('home:news_items_item3'),
},
],
Expand Down

0 comments on commit d96c7d1

Please sign in to comment.