feat(demo): add the jury guide and demonstration markers to the demo stand build

This commit is contained in:
shira committed 2026-10-10 01:27:17 +03:00
1 parent d365a05c96
commit 41206abbcf
32 files changed
+1096 -141

No files matched your search

+13 -2
View File
@@ -34,15 +34,26 @@ const cabinets = [
/**
* Public start page. It describes the cabinets that work now and names the
* screens that are still placeholders, so the page makes no promise the
* product does not keep.
* product does not keep. A demonstration stand adds the link to the jury guide.
*/
export function WelcomePage() {
export function WelcomePage({ demoStand = false }: { demoStand?: boolean }) {
return (
<Page
title="Протокол подтвержденных навыков"
eyebrow="Lincodex"
lead="Регистрация, вход и основные сценарии кабинетов уже работают. Заявленный уровень остается самооценкой: подтвержденную категорию присваивает только результат теста."
>
{demoStand ? (
<Section title="Для жюри">
<p>
Этот стенд показывает продукт на синтетических данных. Гид описывает маршрут на восемь
минут двумя ролями и отделяет имитации от работающего функционала.
</p>
<div className={styles.actions}>
<ButtonLink to={paths.demoGuide}>Открыть гид для жюри</ButtonLink>
</div>
</Section>
) : null}
<Section title="Кабинеты">
<ul className={styles.cabinets}>
{cabinets.map((cabinet) => (