feat(frontend): redesign the employer cabinet with step-by-step need and invitation forms
This commit is contained in:
1 parent
a0869d81a1
commit
15590d127c
45 files changed
+3600
-1983
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import { Mono, Page, Section } from "../../../shared/ui";
|
||||
import { Card, Notice, Page, Section, Tag } from "../../../shared/ui";
|
||||
import { areaLabels, screens, type ScreenId } from "../model/screens";
|
||||
import styles from "./placeholder-page.module.css";
|
||||
|
||||
@@ -8,7 +8,8 @@ type PlaceholderPageProps = {
|
||||
|
||||
/**
|
||||
* Honest stand-in for a screen that a later task implements. It names the
|
||||
* screen and lists what is planned, without imitating working features.
|
||||
* screen and lists what is planned, without imitating working features. The
|
||||
* planned items are not a sequence, so they are a plain list.
|
||||
*/
|
||||
export function PlaceholderPage({ screen }: PlaceholderPageProps) {
|
||||
const plan = screens[screen];
|
||||
@@ -19,19 +20,17 @@ export function PlaceholderPage({ screen }: PlaceholderPageProps) {
|
||||
eyebrow={areaLabels[plan.area]}
|
||||
width={plan.area === "employer" ? "wide" : "narrow"}
|
||||
>
|
||||
<p className={styles.notice}>
|
||||
<span className={styles.tag}>Заготовка</span>
|
||||
<Notice tone="neutral" title={<Tag>Заготовка</Tag>}>
|
||||
Экран будет реализован в одной из следующих задач. Сейчас здесь нет данных и действий.
|
||||
</p>
|
||||
</Notice>
|
||||
<Section title="Что здесь появится" headingLevel={2}>
|
||||
<ol className={styles.plan}>
|
||||
{plan.planned.map((item, index) => (
|
||||
<li key={item}>
|
||||
<Mono>{String(index + 1).padStart(2, "0")}</Mono>
|
||||
<span>{item}</span>
|
||||
</li>
|
||||
))}
|
||||
</ol>
|
||||
<Card as="div">
|
||||
<ul className={styles.plan}>
|
||||
{plan.planned.map((item) => (
|
||||
<li key={item}>{item}</li>
|
||||
))}
|
||||
</ul>
|
||||
</Card>
|
||||
</Section>
|
||||
</Page>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user