Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added new topic to the news section #221

Merged
merged 2 commits into from
Jun 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 released the <a href=\"/components/uikit/pin-input\">PinInput component</a>. You may need it to enter OTP or confirmation codes.",
"news_items_item2": "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_item3": "We've published our <a href=\"https://www.figma.com/community/file/1363128208054017326/gravity-ui-illustrations\">illustration library</a> in Figma community.",
"news_items_item1": "500⭐️ for our <a href=\"/libraries/uikit\">UIKit</a>! We just wanted to say thanks for all the support and <a href=\"https://github.com/gravity-ui/uikit/issues\">feedback</a> we've been getting. There's more to come, so stay tuned!",
"news_items_item2": "We've released the <a href=\"/components/uikit/pin-input\">PinInput component</a>. You may need it to enter OTP or confirmation codes.",
"news_items_item3": "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.",
"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=\"/components/uikit/pin-input\">компонент PinInput</a>. Он может пригодиться для ввода OTP кодов или подтверждений.",
"news_items_item2": "Мы добавили модуль 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_item3": "Мы опубликовали <a href=\"https://www.figma.com/community/file/1363128208054017326/gravity-ui-illustrations\">библиотеку иллюстраций</a> в Figma community.",
"news_items_item1": "500⭐️ у <a href=\"/libraries/uikit\">UIKit</a>! Просто хотим поблагодарить вас за поддержку и <a href=\"https://github.com/gravity-ui/uikit/issues\">идеи</a>. Впереди много нового, продолжайте следить за проектом!",
"news_items_item2": "Мы выложили <a href=\"/components/uikit/pin-input\">компонент PinInput</a>. Он может пригодиться для ввода OTP кодов или подтверждений.",
"news_items_item3": "Мы добавили модуль 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> об этом можно почитать подробнее.",
"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 @@ -68,15 +68,15 @@ export const getLanding = (t: TFunction): CustomPageContent => ({
title: t('home:news_title'),
items: [
{
date: '2024-06-13T14:30:00.000Z',
date: '2024-06-27T07:00:00.000Z',
content: t('home:news_items_item1'),
},
{
date: '2024-05-03T14:00:00.000Z',
date: '2024-06-13T14:30:00.000Z',
content: t('home:news_items_item2'),
},
{
date: '2024-04-22T12:00:00.000Z',
date: '2024-05-03T14:00:00.000Z',
content: t('home:news_items_item3'),
},
],
Expand Down
Loading