feat(frontend): add cabinet shells, brand tokens, and state primitives

This commit is contained in:
shira committed 2026-10-06 01:09:08 +03:00
1 parent dda3825786
commit 0e2a3b02ab
85 files changed
+3313 -113

No files matched your search

@@ -0,0 +1,38 @@
import { Mono, Page, Section } from "../../../shared/ui";
import { areaLabels, screens, type ScreenId } from "../model/screens";
import styles from "./placeholder-page.module.css";
type PlaceholderPageProps = {
screen: ScreenId;
};
/**
* Honest stand-in for a screen that a later task implements. It names the
* screen and lists what is planned, without imitating working features.
*/
export function PlaceholderPage({ screen }: PlaceholderPageProps) {
const plan = screens[screen];
return (
<Page
title={plan.title}
eyebrow={areaLabels[plan.area]}
width={plan.area === "employer" ? "wide" : "narrow"}
>
<p className={styles.notice}>
<span className={styles.tag}>Заготовка</span>
Экран будет реализован в одной из следующих задач. Сейчас здесь нет данных и действий.
</p>
<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>
</Section>
</Page>
);
}