-
Notifications
You must be signed in to change notification settings - Fork 180
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
DISCOVERY-348: Add Community section (basely init) #354
Conversation
… disabled rows)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
self-reviewed
{ | ||
label: "💫 Community", | ||
to: SECTIONS.COMMUNITY.shortPath, | ||
activeBasePath: SECTIONS.COMMUNITY.shortPath, | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Добавляем в навбар
--- | ||
sidebar_position: 1 | ||
--- | ||
|
||
# Awesome Resources | ||
|
||
[![Awesome](https://awesome.re/badge.svg)](https://awesome.re) | ||
|
||
A curated list of awesome feature-sliced videos, articles, packages | ||
|
||
Found something cool? Please, **[contribute](https://github.com/feature-sliced/awesome/pulls)**! | ||
|
||
## Community | ||
|
||
- [FeatureSliced Telegram (RU)](https://t.me/feature_sliced) | ||
- [FeatureSliced Twitter](https://twitter.com/feature_sliced) | ||
- [FeatureSliced YouTube](https://www.youtube.com/channel/UCkng_PHLatpDKPOIKfI731A) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Копипаста с https://github.com/feature-sliced/awesome
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Позже сделаю так, чтобы автоматом обновлялось при апдейтах в репозитории
--- | ||
sidebar_position: 0 | ||
sidebar_class_name: sidebar-item--root | ||
hide_table_of_contents: true | ||
slug: /community | ||
pagination_prev: about/index | ||
--- | ||
|
||
# 💫 Community | ||
|
||
<span class="badge badge--info margin-bottom--md">COMMUNITY-ORIENTED</span> | ||
|
||
<p class="summary"> | ||
Community resources, additional materials | ||
</p> | ||
|
||
## Main | ||
|
||
import Row from "@site/src/shared/ui/row/tmpl.mdx" | ||
import { StarOutlined, SearchOutlined, TeamOutlined } from "@ant-design/icons"; | ||
|
||
<Row | ||
title="Awesome Resources" | ||
description="A curated list of awesome feature-sliced videos, articles, packages" | ||
to="/docs/community/awesome" | ||
Icon={StarOutlined} | ||
/> | ||
<Row | ||
title="Team" | ||
description="Core-team, Champions, Contributors, Companies" | ||
to="/docs/community/team" | ||
Icon={TeamOutlined} | ||
/> | ||
<Row | ||
title="Contributing" | ||
description="HowTo, Workflow, Support" | ||
to="#" | ||
Icon={SearchOutlined} | ||
disabled | ||
/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Обычная овервью страничка с указанием основных статей
|
||
### Champions | ||
|
||
## Contributors | ||
|
||
## Companies |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tags={['Mission','Promote & Integration']} | ||
/> | ||
<Row | ||
title="Community" | ||
description="Community resources, additional materials" | ||
to="/docs/community" | ||
Icon={"💫"} | ||
tags={['Awesome','Team', 'Contributing']} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Отсылаемся на раздел комьюнити из интро
title="Contributing" | ||
description="HowTo, Workflow, Support" | ||
to="#" | ||
Icon={SearchOutlined} | ||
disabled |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Дизейблед, т.к. пока еще не сделана страничка
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Awesome Resources | ||
|
||
[![Awesome](https://awesome.re/badge.svg)](https://awesome.re) | ||
|
||
Подборка интересных видео, статей и тулкита | ||
|
||
Нашли что-то классное? Пожалуйста, **[поделитесь](https://github.com/feature-sliced/awesome/pulls)**! | ||
|
||
## Комьюнити | ||
|
||
- [FeatureSliced Telegram (RU)](https://t.me/feature_sliced) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ну и тож самое для русской версии 1-1
"item.label.💫 Community": { | ||
"message": "💫 Сообщество", | ||
"description": "Navbar item with label Community" | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Локализация навбара
communitySidebar: [ | ||
{ type: "autogenerated", dirName: "community" }, | ||
{ type: "link", href: "/examples", label: "Examples" }, | ||
], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Это для сайдбара конфиг + чтобы examples были доступны отдельной ссылкой, как у докузауруса
https://docusaurus.io/community/team
<Link | ||
className={clsx(styles.root, className, disabled && styles.rootDisabled)} | ||
to={to} | ||
onClick={handleClick} | ||
> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Собсна yet-one-upgrade наших NavRow
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Выглядит очень круто! оставил пару незначительных комментов по локализации, но возможно их вообще исправлять не нужно:)
website/i18n/ru/docusaurus-plugin-content-docs/current/community/awesome.md
Outdated
Show resolved
Hide resolved
@@ -35,6 +35,10 @@ | |||
"message": "🍰 О методологии", | |||
"description": "Navbar item with label About" | |||
}, | |||
"item.label.💫 Community": { | |||
"message": "💫 Сообщество", | |||
"description": "Navbar item with label Community" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
А где эти дескрипшины отображаются, их точно не надо локализовывать?(я в доказаурусе не силен)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Они чисто для перевода нужны, да)
Чисто по спеке i18n, чтобы переводить словари было проще для разных локалей
https://docusaurus.io/docs/2.0.0-beta.8/i18n/introduction#json-files
@feature-sliced/core @feature-sliced/contributors review pls |
DISCLAIMER
Вы ведь уже догадались, да?)
CHANGELOG
fs.community.-.awesome.mp4
UPD
А, ну и да, для понимания "А зачем вообще отдельный комьюнити раздел? Что там будет?"
Чисто комьюнити ресурсы, в отрыве от методологии, как это сделано у:
А вот, то что планируется добавить в ближ время
Чеклист