Skip to content
Open
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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
]
},
"lint-staged": {
"*.{scss}": [
"*.scss": [
"stylelint --fix --quiet"
],
"*.{js,jsx,ts,tsx}": [
Expand Down
74 changes: 74 additions & 0 deletions src/api/.mocks/en/pages/graph.json

Large diffs are not rendered by default.

44 changes: 22 additions & 22 deletions src/api/.mocks/en/pages/gravity-ui-in-opensource.json

Large diffs are not rendered by default.

74 changes: 74 additions & 0 deletions src/api/.mocks/en/pages/md-editor-in-gravity-ui.json

Large diffs are not rendered by default.

74 changes: 74 additions & 0 deletions src/api/.mocks/en/pages/yc-site-in-gravity-ui.json

Large diffs are not rendered by default.

24 changes: 24 additions & 0 deletions src/api/.mocks/en/posts/graph.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"id": 36,
"name": "graph",
"isPinned": false,
"postId": 36,
"description": "",
"image": "https://storage.yandexcloud.net/gravity-landing-static/blog/blog-cover-bg.png",
"readingTime": 17,
"title": "Graph Visualization Library: How We Solved the Canvas vs. HTML Dilemma",
"date": "2025-08-07T00:00:00Z",
"likes": 0,
"hasUserLike": false,
"addLegacyPrefix": false,
"tags": [
{
"icon": null,
"slug": "articles",
"name": "Articles"
}
],
"authors": [],
"services": []
}

86 changes: 78 additions & 8 deletions src/api/.mocks/en/posts/index.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,85 @@
{
"posts": [
{
"id": 36,
"name": "graph",
"date": "2025-08-07T00:00:00Z",
"title": "Graph Visualization Library: How We Solved the Canvas vs. HTML Dilemma",
"postId": 36,
"description": "",
"image": "https://storage.yandexcloud.net/gravity-landing-static/blog/graph-cover-bg.png",
"readingTime": 17,
"likes": 0,
"hasUserLike": false,
"hasPublishedVersionInRegion": true,
"hasPublishedVersionInLocale": false,
"addLegacyPrefix": false,
"tags": [
{
"icon": null,
"slug": "articles",
"name": "Articles"
}
],
"services": [],
"url": "/blog/graph"
},
{
"id": 37,
"name": "yc-site-in-gravity-ui",
"date": "2024-10-28T00:00:00Z",
"title": "How We Made Yandex Cloud More Accessible with the Gravity UI Design System",
"postId": 37,
"description": "",
"image": "https://storage.yandexcloud.net/gravity-landing-static/blog/blog-cover-bg.png",
"readingTime": 20,
"likes": 0,
"hasUserLike": false,
"hasPublishedVersionInRegion": true,
"hasPublishedVersionInLocale": false,
"addLegacyPrefix": false,
"tags": [
{
"icon": null,
"slug": "articles",
"name": "Articles"
}
],
"services": [],
"url": "/blog/yc-site-in-gravity-ui"
},
{
"id": 38,
"name": "md-editor-in-gravity-ui",
"date": "2024-10-01T00:00:00Z",
"title": "Markdown Editor: A WYSIWYG and Markup Editor Built on Gravity UI",
"postId": 38,
"description": "",
"image": "https://storage.yandexcloud.net/gravity-landing-static/blog/mdeditor-cover-bg.png",
"readingTime": 7,
"likes": 0,
"hasUserLike": false,
"hasPublishedVersionInRegion": true,
"hasPublishedVersionInLocale": false,
"addLegacyPrefix": false,
"tags": [
{
"icon": null,
"slug": "articles",
"name": "Articles"
}
],
"services": [],
"url": "/blog/md-editor-in-gravity-ui"
},
{
"id": 35,
"name": "gravity-ui-in-opensource",
"date": "2025-12-25T00:00:00Z",
"title": "Gravity UI Design System: How to Easily Build Your Interface",
"date": "2023-12-12T00:00:00Z",
"title": "Gravity UI design system: how to build your own interface easily",
"postId": 35,
"description": "",
"image": "https://storage.yandexcloud.net/yandex-opensource/blog-cover-bg.png",
"image": "https://storage.yandexcloud.net/gravity-landing-static/blog/gravity-ui-cover.png",
"readingTime": 10,
"likes": 0,
"hasUserLike": false,
Expand All @@ -16,17 +88,15 @@
"addLegacyPrefix": false,
"tags": [
{
"icon": null,
"slug": "articles",
"icon": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M10 2.75C10 2.33579 9.66421 2 9.25 2H5.75C3.67893 2 2 3.67893 2 5.75V14.25C2 16.3211 3.67893 18 5.75 18H14.25C16.3211 18 18 16.3211 18 14.25V10.75C18 10.3358 17.6642 10 17.25 10C16.8358 10 16.5 10.3358 16.5 10.75V14.25C16.5 15.4926 15.4926 16.5 14.25 16.5H5.75C4.50736 16.5 3.5 15.4926 3.5 14.25V5.75C3.5 4.50736 4.50736 3.5 5.75 3.5H9.25C9.66421 3.5 10 3.16421 10 2.75ZM16.4833 4.89539C16.3807 4.18284 15.8172 3.61928 15.1046 3.51671L14.2844 4.33691C14.8777 4.63789 15.3621 5.12234 15.6631 5.71559L16.4833 4.89539ZM14.4833 6.89539C14.3807 6.18284 13.8172 5.61928 13.1046 5.51671L8.83282 9.7885C8.53024 10.0911 8.32022 10.4737 8.22739 10.8914L7.97562 12.0244L9.10861 11.7726C9.52633 11.6798 9.90892 11.4698 10.2115 11.1672L14.4833 6.89539ZM12.2398 4.26019L14.2381 2.2619C14.4058 2.09421 14.6332 2 14.8704 2C16.5988 2 18 3.40118 18 5.12962C18 5.36677 17.9058 5.59421 17.7381 5.7619L15.7381 7.7619L11.2722 12.2278C10.7679 12.7321 10.1302 13.0822 9.434 13.2369L7.91751 13.5739C7.80587 13.5987 7.69574 13.608 7.58886 13.6034C6.84075 13.5717 6.25245 12.864 6.42611 12.0825L6.76311 10.566C6.77278 10.5225 6.78321 10.4792 6.7944 10.4362C6.96218 9.79061 7.29938 9.20062 7.77216 8.72784L12.2381 4.2619C12.2387 4.26133 12.2392 4.26076 12.2398 4.26019Z\" fill=\"#262626\"/></svg>",
"name": "Articles"
}
],
"services": [],
"url": "/blog/gravity-ui-in-opensource"
}
],
"totalCount": 1,
"count": 1,
"pinnedPost": null
"totalCount": 4,
"count": 4
}

24 changes: 24 additions & 0 deletions src/api/.mocks/en/posts/md-editor-in-gravity-ui.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"id": 38,
"name": "md-editor-in-gravity-ui",
"isPinned": false,
"postId": 38,
"description": "",
"image": "https://storage.yandexcloud.net/gravity-landing-static/blog/blog-cover-bg.png",
"readingTime": 7,
"title": "Markdown Editor: A WYSIWYG and Markup Editor Built on Gravity UI",
"date": "2024-10-01T00:00:00Z",
"likes": 0,
"hasUserLike": false,
"addLegacyPrefix": false,
"tags": [
{
"icon": null,
"slug": "articles",
"name": "Articles"
}
],
"authors": [],
"services": []
}

24 changes: 24 additions & 0 deletions src/api/.mocks/en/posts/yc-site-in-gravity-ui.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"id": 37,
"name": "yc-site-in-gravity-ui",
"isPinned": false,
"postId": 37,
"description": "",
"image": "https://storage.yandexcloud.net/gravity-landing-static/blog/blog-cover-bg.png",
"readingTime": 20,
"title": "How We Made Yandex Cloud More Accessible with the Gravity UI Design System",
"date": "2024-10-28T00:00:00Z",
"likes": 0,
"hasUserLike": false,
"addLegacyPrefix": false,
"tags": [
{
"icon": null,
"slug": "articles",
"name": "Articles"
}
],
"authors": [],
"services": []
}

2 changes: 1 addition & 1 deletion src/api/.mocks/en/tags.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"slug": "articles",
"createdAt": "2020-03-13T11:00:57.360Z",
"updatedAt": "2022-07-22T08:50:25.432Z",
"icon": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M10 2.75C10 2.33579 9.66421 2 9.25 2H5.75C3.67893 2 2 3.67893 2 5.75V14.25C2 16.3211 3.67893 18 5.75 18H14.25C16.3211 18 18 16.3211 18 14.25V10.75C18 10.3358 17.6642 10 17.25 10C16.8358 10 16.5 10.3358 16.5 10.75V14.25C16.5 15.4926 15.4926 16.5 14.25 16.5H5.75C4.50736 16.5 3.5 15.4926 3.5 14.25V5.75C3.5 4.50736 4.50736 3.5 5.75 3.5H9.25C9.66421 3.5 10 3.16421 10 2.75ZM16.4833 4.89539C16.3807 4.18284 15.8172 3.61928 15.1046 3.51671L14.2844 4.33691C14.8777 4.63789 15.3621 5.12234 15.6631 5.71559L16.4833 4.89539ZM14.4833 6.89539C14.3807 6.18284 13.8172 5.61928 13.1046 5.51671L8.83282 9.7885C8.53024 10.0911 8.32022 10.4737 8.22739 10.8914L7.97562 12.0244L9.10861 11.7726C9.52633 11.6798 9.90892 11.4698 10.2115 11.1672L14.4833 6.89539ZM12.2398 4.26019L14.2381 2.2619C14.4058 2.09421 14.6332 2 14.8704 2C16.5988 2 18 3.40118 18 5.12962C18 5.36677 17.9058 5.59421 17.7381 5.7619L15.7381 7.7619L11.2722 12.2278C10.7679 12.7321 10.1302 13.0822 9.434 13.2369L7.91751 13.5739C7.80587 13.5987 7.69574 13.608 7.58886 13.6034C6.84075 13.5717 6.25245 12.864 6.42611 12.0825L6.76311 10.566C6.77278 10.5225 6.78321 10.4792 6.7944 10.4362C6.96218 9.79061 7.29938 9.20062 7.77216 8.72784L12.2381 4.2619C12.2387 4.26133 12.2392 4.26076 12.2398 4.26019Z\" fill=\"#262626\"/></svg>",
"icon": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M10 2.75C10 2.33579 9.66421 2 9.25 2H5.75C3.67893 2 2 3.67893 2 5.75V14.25C2 16.3211 3.67893 18 5.75 18H14.25C16.3211 18 18 16.3211 18 14.25V10.75C18 10.3358 17.6642 10 17.25 10C16.8358 10 16.5 10.3358 16.5 10.75V14.25C16.5 15.4926 15.4926 16.5 14.25 16.5H5.75C4.50736 16.5 3.5 15.4926 3.5 14.25V5.75C3.5 4.50736 4.50736 3.5 5.75 3.5H9.25C9.66421 3.5 10 3.16421 10 2.75ZM16.4833 4.89539C16.3807 4.18284 15.8172 3.61928 15.1046 3.51671L14.2844 4.33691C14.8777 4.63789 15.3621 5.12234 15.6631 5.71559L16.4833 4.89539ZM14.4833 6.89539C14.3807 6.18284 13.8172 5.61928 13.1046 5.51671L8.83282 9.7885C8.53024 10.0911 8.32022 10.4737 8.22739 10.8914L7.97562 12.0244L9.10861 11.7726C9.52633 11.6798 9.90892 11.4698 10.2115 11.1672L14.4833 6.89539ZM12.2398 4.26019L14.2381 2.2619C14.4058 2.09421 14.6332 2 14.8704 2C16.5988 2 18 3.40118 18 5.12962C18 5.36677 17.9058 5.59421 17.7381 5.7619L15.7381 7.7619L11.2722 12.2278C10.7679 12.7321 10.1302 13.0822 9.434 13.2369L7.91751 13.5739C7.80587 13.5987 7.69574 13.608 7.58886 13.6034C6.84075 13.5717 6.25245 12.864 6.42611 12.0825L6.76311 10.566C6.77278 10.5225 6.78321 10.4792 6.7944 10.4362C6.96218 9.79061 7.29938 9.20062 7.77216 8.72784L12.2381 4.2619C12.2387 4.26133 12.2392 4.26076 12.2398 4.26019Z\" fill=\"currentColor\"/></svg>",
"isDeleted": false,
"name": "Articles",
"locale": "en",
Expand Down
74 changes: 74 additions & 0 deletions src/api/.mocks/ru/pages/graph.json

Large diffs are not rendered by default.

74 changes: 74 additions & 0 deletions src/api/.mocks/ru/pages/md-editor-in-gravity-ui.json

Large diffs are not rendered by default.

74 changes: 74 additions & 0 deletions src/api/.mocks/ru/pages/yc-site-in-gravity-ui.json

Large diffs are not rendered by default.

35 changes: 35 additions & 0 deletions src/api/.mocks/ru/posts/graph.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"id": 36,
"name": "graph",
"isPinned": false,
"postId": 36,
"description": "",
"image": "https://storage.yandexcloud.net/gravity-landing-static/blog/blog-cover-bg.png",
"readingTime": 17,
"title": "Библиотека визуализации графов: как мы решили дилемму Canvas vs HTML в Gravity UI",
"date": "2025-08-07T00:00:00Z",
"likes": 0,
"hasUserLike": false,
"addLegacyPrefix": false,
"tags": [
{
"icon": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M10 2.75C10 2.33579 9.66421 2 9.25 2H5.75C3.67893 2 2 3.67893 2 5.75V14.25C2 16.3211 3.67893 18 5.75 18H14.25C16.3211 18 18 16.3211 18 14.25V10.75C18 10.3358 17.6642 10 17.25 10C16.8358 10 16.5 10.3358 16.5 10.75V14.25C16.5 15.4926 15.4926 16.5 14.25 16.5H5.75C4.50736 16.5 3.5 15.4926 3.5 14.25V5.75C3.5 4.50736 4.50736 3.5 5.75 3.5H9.25C9.66421 3.5 10 3.16421 10 2.75ZM16.4833 4.89539C16.3807 4.18284 15.8172 3.61928 15.1046 3.51671L14.2844 4.33691C14.8777 4.63789 15.3621 5.12234 15.6631 5.71559L16.4833 4.89539ZM14.4833 6.89539C14.3807 6.18284 13.8172 5.61928 13.1046 5.51671L8.83282 9.7885C8.53024 10.0911 8.32022 10.4737 8.22739 10.8914L7.97562 12.0244L9.10861 11.7726C9.52633 11.6798 9.90892 11.4698 10.2115 11.1672L14.4833 6.89539ZM12.2398 4.26019L14.2381 2.2619C14.4058 2.09421 14.6332 2 14.8704 2C16.5988 2 18 3.40118 18 5.12962C18 5.36677 17.9058 5.59421 17.7381 5.7619L15.7381 7.7619L11.2722 12.2278C10.7679 12.7321 10.1302 13.0822 9.434 13.2369L7.91751 13.5739C7.80587 13.5987 7.69574 13.608 7.58886 13.6034C6.84075 13.5717 6.25245 12.864 6.42611 12.0825L6.76311 10.566C6.77278 10.5225 6.78321 10.4792 6.7944 10.4362C6.96218 9.79061 7.29938 9.20062 7.77216 8.72784L12.2381 4.2619C12.2387 4.26133 12.2392 4.26076 12.2398 4.26019Z\" fill=\"#262626\"/></svg>",
"slug": "articles",
"name": "Статьи"
}
],
"authors": [
{
"id": 1069,
"avatar": "https://storage.yandexcloud.net/cloud-www-assets/blog-assets/ru/posts/2025/12/gravity-ui-in-opensource/sizikov.png",
"firstName": "Алексей",
"secondName": "Сизиков",
"description": "Yandex Cloud",
"fullDescription": "Руководитель отдела User Experience, Yandex Cloud",
"shortDescription": "Руководитель отдела User Experience, Yandex Cloud",
"fullName": "Алексей Сизиков"
}
],
"services": []
}

Loading
Loading