Skip to content

Commit

Permalink
fix(index-page): rename QuickStart to Tutorial
Browse files Browse the repository at this point in the history
DISCOVERY-335
  • Loading branch information
azinit committed Sep 19, 2022
1 parent 522b19d commit a3f6618
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,4 @@ Otherwise , there is a risk of complicating the project's code base

> *"Today, the feature can only be used on one page. Next week - on three. And in a month - it may be removed at all. We cannot predict the future, and we need to refrain from premature optimizations every time"*
*See also the example from [quick-start](/docs/get-started/quick-start#normal-approach)*
*See also the example from [tutorial](/docs/get-started/tutorial#normal-approach)*
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@ Welcome! This section helps you to get acquainted with the application of Featur
## Main

import NavCard from "@site/src/shared/ui/nav-card/tmpl.mdx"
import { RocketOutlined, BuildOutlined, SettingOutlined } from "@ant-design/icons";
import { RocketOutlined, BuildOutlined, PlaySquareOutlined } from "@ant-design/icons";

<NavCard
title="Overview"
description="Brief overview of methodology concepts and usage"
to="/docs/get-started/overview"
Icon={SettingOutlined}
Icon={RocketOutlined}
/>
<NavCard
title="Quick Start"
title="Tutorial"
description="Introductory tutorial on the usage of the methodology"
to="/docs/get-started/quick-start"
Icon={RocketOutlined}
to="/docs/get-started/tutorial"
Icon={PlaySquareOutlined}
/>
<NavCard
title="Decomposition cheatsheet"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
sidebar_position: 2
---

# Quick start
# Tutorial

Let's consider the application of **Feature-Sliced Design** on the example of TodoApp

Expand Down Expand Up @@ -493,7 +493,7 @@ export const $tasksList = combine($tasks, (tasks) => Object.values(tasks));
```tsx title=pages/tasks-list/index.tsx
import { useEffect } from "react";
// If you feel confident with @effector/reflect - can use it
// Within the quick-start non-critical
// Within the tutorial non-critical
import { useStore } from "effector";
import { Layout, Row, Col, Typography, Spin, Empty } from "antd"; // ~ "shared/ui/{...}"

Expand Down Expand Up @@ -638,7 +638,7 @@ export const $tasksFiltered = combine(

```tsx title=features/tasks-filters/ui.tsx
// If you feel confident with @effector/reflect, you can immediately use it
// As part of quick-start uncritically
// As part of tutorial uncritically
import { useStore } from "effector";
import { Radio } from "antd"; // ~ "shared/ui/radio"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,4 @@ pagination_next: guides/index

> *"Сегодня фича может использоваться только на одной странице. На следующей неделе - на трех. А через месяц - ее может не быть совсем. Мы не можем предсказывать будущее, и нужно каждый раз воздерживаться от преждевременных оптимизаций"*
*См. также пример из [quick-start](/docs/get-started/quick-start#usual-approach)*
*См. также пример из [tutorial](/docs/get-started/tutorial#usual-approach)*
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@ pagination_prev: intro
## Главное {#main}

import NavCard from "@site/src/shared/ui/nav-card/tmpl.mdx"
import { RocketOutlined, BuildOutlined, SettingOutlined } from "@ant-design/icons";
import { RocketOutlined, BuildOutlined, PlaySquareOutlined } from "@ant-design/icons";

<NavCard
title="Обзор"
description="Краткий обзор методологии, ее концепций и применения"
to="/docs/get-started/basics"
Icon={SettingOutlined}
Icon={RocketOutlined}
/>
<NavCard
title="Быстрый старт"
title="Туториал"
description="Вводный туториал по применению методологии"
to="/docs/get-started/quick-start"
Icon={RocketOutlined}
to="/docs/get-started/tutorial"
Icon={PlaySquareOutlined}
/>
<NavCard
title="Памятка по декомпозиции"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ export const $tasksList = combine($tasks, (tasks) => Object.values(tasks));
```tsx title=pages/tasks-list/index.tsx
import { useEffect } from "react";
// Если чувствуете себя уверенно с @effector/reflect - можете сразу использовать его
// В рамках quick-start некритично
// В рамках туториала некритично
import { useStore } from "effector";
import { Layout, Row, Col, Typography, Spin, Empty } from "antd"; // ~ "shared/ui/{...}"

Expand Down Expand Up @@ -636,7 +636,7 @@ export const $tasksFiltered = combine(

```tsx title=features/tasks-filters/ui.tsx
// Если чувствуете себя уверенно с @effector/reflect - можете сразу использовать его
// В рамках quick-start некритично
// В рамках туториала некритично
import { useStore } from "effector";
import { Radio } from "antd"; // ~ "shared/ui/radio"

Expand Down
10 changes: 5 additions & 5 deletions routes.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const SECTIONS = {
fullPath: "/docs/branding",
},
MIGRATION: {
shortPath: "//docs/guides/migration",
shortPath: "/docs/guides/migration",
fullPath: "/docs/guides/migration/from-legacy",
},
};
Expand All @@ -23,9 +23,9 @@ const LEGACY_ROUTES = [
details: "Simplified and merged",
children: [
{
title: "QuickStart",
from: "/docs/get-started/tutorial/quick-start",
to: "/docs/get-started/quick-start",
title: "Tutorial",
from: "/docs/get-started/quick-start",
to: "/docs/get-started/tutorial",
},
{
title: "Decompose Cheatsheet",
Expand Down Expand Up @@ -258,7 +258,7 @@ const _TOTAL_ROUTES = [
"/docs/get-started/overview",
"/docs/get-started/cheatsheet",
"/docs/get-started/faq",
"/docs/get-started/quick-start",
"/docs/get-started/tutorial",
"/docs/guides",
"/docs/guides/examples",
"/docs/guides/examples/auth",
Expand Down

0 comments on commit a3f6618

Please sign in to comment.