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

feat: added two news articles #191

Merged
merged 3 commits into from
Apr 2, 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 updated the figma library to support UI Kit 6 features, refactored some components and added some new. Check the newest version <a href=\"https://www.figma.com/community/file/1271150067798118027/gravity-ui-design-system\">here</a>.",
"news_items_item2": "<a href=\"https://github.com/gravity-ui/uikit\">UIKit 6</a> is here! This version has RTL support, improved a11y, and CSS API. Check out this <a href=\"/rtl\">little demo</a> to see how you can use RTL and new rtl switches in <a href=\"/components/uikit/list\">components sandbox</a>.",
"news_items_item3": "If you want to find out our future plans, please check out the recently updated <a href=\"/#roadmap\">roadmap section</a>.",
"news_items_item1": "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_item2": "We've introduced a new basic component <a href=\"https://preview.gravity-ui.com/date-components/?path=/docs/components-rangedatepicker--docs\">RangeDatePicker</a> that helps users easily select a range of dates using a calendar, unlike <a href=\"https://preview.gravity-ui.com/date-components/?path=/docs/components-relativerangedatepicker--docs\">RelativeRangeDatePicker</a> which is intended for complex cases.",
"news_items_item3": "We’ve updated the figma library to support UI Kit 6 features, refactored some components and added some new. Check the newest version <a href=\"https://www.figma.com/community/file/1271150067798118027/gravity-ui-design-system\">here</a>.",
"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": "Вышло обновление figma библиотеки. В нём мы поддержали изменения UI Kit 6, добавили новые компоненты и сделали несколько исправлений в старых. Посмотреть можно <a href=\"https://www.figma.com/community/file/1271150067798118027/gravity-ui-design-system\">тут</a>.",
"news_items_item2": "<a href=\"https://github.com/gravity-ui/uikit\">UIKit 6</a> уже здесь! В этой версии есть поддержка RTL, улучшенный функционал a11y и CSS API. Посмотрите <a href=\"/rtl\">демо</a> и узнайте, как пользоваться RTL и новыми переключателями RTL в <a href=\"/ru/components/uikit/list\">песочнице компонентов</a>.",
"news_items_item3": "Обновили план развития Gravity UI, его можно посмотреть в <a href=\"/ru#roadmap\">разделе Roadmap</a>.",
"news_items_item1": "Вышла<a href=\"https://github.com/gravity-ui/illustrations/tree/main\">библиотека иллюстраций</a>, в ней мы собрали 21 базовую иллюстрацию для сетлой и тёмной темы. Они заработают автоматически, если вы используете placeholder компонент.",
"news_items_item2": "Разработали новый компонент <a href=\"https://preview.gravity-ui.com/date-components/?path=/docs/components-rangedatepicker--docs\">RangeDatePicker</a>, он поможет реализовать простые сценарии выбора временного интервала, для других сценариев можно использовать <a href=\"https://preview.gravity-ui.com/date-components/?path=/docs/components-relativerangedatepicker--docs\">RelativeRangeDatePicker</a>.",
"news_items_item3": "Вышло обновление figma библиотеки. В нём мы поддержали изменения UI Kit 6, добавили новые компоненты и сделали несколько исправлений в старых. Посмотреть можно <a href=\"https://www.figma.com/community/file/1271150067798118027/gravity-ui-design-system\">тут</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-03-20T13:30:00.000Z',
date: '2024-04-02T09:00:00.000Z',
content: t('home:news_items_item1'),
},
{
date: '2024-03-14T12:00:00.000Z',
date: '2024-04-01T15:00:00.000Z',
content: t('home:news_items_item2'),
},
{
date: '2024-02-01T10:00:00.000Z',
date: '2024-03-20T13:30:00.000Z',
content: t('home:news_items_item3'),
},
],
Expand Down
Loading