feat(demo): add the jury guide and demonstration markers to the demo stand build
This commit is contained in:
1 parent
d365a05c96
commit
41206abbcf
32 files changed
+1096
-141
No files matched your search
@@ -0,0 +1 @@
|
||||
export { DemoStandBanner } from "./ui/demo-stand-banner";
|
||||
@@ -0,0 +1,18 @@
|
||||
.banner {
|
||||
padding: var(--space-2) var(--space-4);
|
||||
border-bottom: var(--line-strong) solid var(--color-border-strong);
|
||||
color: var(--color-text);
|
||||
background: var(--color-surface);
|
||||
font-size: var(--font-size-s);
|
||||
}
|
||||
|
||||
.banner p {
|
||||
margin: 0;
|
||||
max-width: 80rem;
|
||||
margin-inline: auto;
|
||||
}
|
||||
|
||||
.label {
|
||||
color: var(--color-accent);
|
||||
font-weight: var(--font-weight-bold);
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
import styles from "./demo-stand-banner.module.css";
|
||||
|
||||
/**
|
||||
* Marks every page of the demonstration stand: the data is synthetic and the
|
||||
* results are prepared for showing, not measured. It is rendered only by a
|
||||
* demo build (see app routes), and it has no link, so the first link of a
|
||||
* page stays the skip link.
|
||||
*/
|
||||
export function DemoStandBanner() {
|
||||
return (
|
||||
<aside className={styles.banner} aria-label="Статус стенда">
|
||||
<p>
|
||||
<strong className={styles.label}>Демонстрационный стенд.</strong> Все данные синтетические,
|
||||
подготовленные результаты не подтверждают квалификацию. Гид для жюри есть на главной
|
||||
странице.
|
||||
</p>
|
||||
</aside>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user