feat(frontend): switch to the dark graphite design system with a Lincodex wordmark
This commit is contained in:
1 parent
945ab6d6a9
commit
3c4acff803
81 files changed
+3187
-619
No files matched your search
@@ -1,52 +1,102 @@
|
||||
/* Mobile first: base rules target 360px; wider screens add layout. */
|
||||
.shell {
|
||||
--tab-bar-height: 4rem;
|
||||
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.header {
|
||||
position: sticky;
|
||||
z-index: 10;
|
||||
z-index: 20;
|
||||
top: 0;
|
||||
display: grid;
|
||||
gap: var(--space-1);
|
||||
padding: var(--space-2) var(--gutter) 0;
|
||||
border-bottom: var(--line-thin) solid var(--color-divider);
|
||||
background: var(--color-surface);
|
||||
}
|
||||
|
||||
/* The strip scrolls sideways; padding keeps focus rings inside the clip. */
|
||||
/* Phone: the tab strip is a bar fixed to the bottom edge. It scrolls
|
||||
* sideways; the current tab is scrolled into the middle by the shell. */
|
||||
.nav {
|
||||
margin-inline: calc(-1 * var(--gutter));
|
||||
overflow-x: auto;
|
||||
overscroll-behavior-x: contain;
|
||||
scrollbar-width: thin;
|
||||
position: fixed;
|
||||
z-index: 20;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
border-top: var(--line-thin) solid var(--color-divider);
|
||||
background: rgb(27 28 33 / 92%);
|
||||
backdrop-filter: blur(14px) saturate(140%);
|
||||
}
|
||||
|
||||
.list {
|
||||
display: flex;
|
||||
gap: var(--space-1);
|
||||
width: max-content;
|
||||
min-height: var(--tab-bar-height);
|
||||
margin: 0;
|
||||
padding: var(--space-1) var(--gutter) var(--space-2);
|
||||
padding: var(--space-2) var(--space-3) calc(var(--space-2) + env(safe-area-inset-bottom));
|
||||
overflow-x: auto;
|
||||
overscroll-behavior-x: contain;
|
||||
list-style: none;
|
||||
scroll-snap-type: x proximity;
|
||||
scrollbar-width: none;
|
||||
}
|
||||
|
||||
@media (width >= 64rem) {
|
||||
.header {
|
||||
grid-template-columns: auto 1fr;
|
||||
gap: var(--space-6);
|
||||
align-items: center;
|
||||
padding-block: var(--space-2);
|
||||
.list li {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
scroll-snap-align: center;
|
||||
}
|
||||
|
||||
/* Room for the bottom bar, so the end of a page is never under it. */
|
||||
.main {
|
||||
padding-bottom: calc(var(--tab-bar-height) + env(safe-area-inset-bottom));
|
||||
}
|
||||
|
||||
/* A blurred plate would become the containing block of the fixed bar, so
|
||||
* the phone plate is solid. */
|
||||
@media (width < 43.75rem) {
|
||||
.plate {
|
||||
background: var(--color-surface);
|
||||
backdrop-filter: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* Tablet: the tabs move into the plate, under the wordmark. */
|
||||
@media (width >= 43.75rem) {
|
||||
.plate {
|
||||
flex-wrap: wrap;
|
||||
row-gap: 0;
|
||||
}
|
||||
|
||||
.nav {
|
||||
margin-inline: 0;
|
||||
overflow-x: visible;
|
||||
position: static;
|
||||
flex: 1 1 100%;
|
||||
min-width: 0;
|
||||
margin-inline: calc(-1 * var(--space-2));
|
||||
border-top: var(--line-thin) solid var(--color-divider);
|
||||
background: none;
|
||||
backdrop-filter: none;
|
||||
}
|
||||
|
||||
.list {
|
||||
min-height: auto;
|
||||
padding: var(--space-2) var(--space-1);
|
||||
}
|
||||
|
||||
.main {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Desktop: one row, the tabs to the right of the wordmark. */
|
||||
@media (width >= 64rem) {
|
||||
.plate {
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
|
||||
.nav {
|
||||
flex: 0 1 auto;
|
||||
margin-inline: 0;
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
.list {
|
||||
justify-content: flex-end;
|
||||
width: auto;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
import { Outlet } from "react-router-dom";
|
||||
import { useEffect, useRef } from "react";
|
||||
import { Outlet, useLocation } from "react-router-dom";
|
||||
import { paths } from "../../../shared/config";
|
||||
import { BrandLogo, MainRegion, NavItem, SkipLink } from "../../../shared/ui";
|
||||
import { HeaderPlate, MainRegion, NavItem, SkipLink, Wordmark } from "../../../shared/ui";
|
||||
import styles from "./candidate-shell.module.css";
|
||||
|
||||
const navigation = [
|
||||
@@ -16,28 +17,53 @@ const navigation = [
|
||||
] as const;
|
||||
|
||||
/**
|
||||
* Candidate cabinet layout, designed for phones first: a compact header and
|
||||
* a horizontally scrollable section strip that becomes one row on desktop.
|
||||
* Keeps the current section visible in a horizontally scrolling tab strip.
|
||||
* Only the strip scrolls; the page does not move.
|
||||
*/
|
||||
function useCurrentTabInView() {
|
||||
const listRef = useRef<HTMLUListElement>(null);
|
||||
const { pathname } = useLocation();
|
||||
|
||||
useEffect(() => {
|
||||
const list = listRef.current;
|
||||
const current = list?.querySelector<HTMLElement>('[aria-current="page"]');
|
||||
if (!list || !current || list.scrollWidth <= list.clientWidth) return;
|
||||
const left = current.offsetLeft - (list.clientWidth - current.offsetWidth) / 2;
|
||||
list.scrollLeft = Math.max(0, left);
|
||||
}, [pathname]);
|
||||
|
||||
return listRef;
|
||||
}
|
||||
|
||||
/**
|
||||
* Candidate cabinet layout, designed for phones first. On a phone the
|
||||
* section tabs form a bar at the bottom of the screen, within thumb reach;
|
||||
* from 700px they sit in the header plate. The navigation comes before main
|
||||
* in the document, so the keyboard order is the same at every width.
|
||||
*/
|
||||
export function CandidateShell() {
|
||||
const listRef = useCurrentTabInView();
|
||||
|
||||
return (
|
||||
<div className={styles.shell}>
|
||||
<SkipLink />
|
||||
<header className={styles.header}>
|
||||
<BrandLogo to={paths.candidate.root} context="Кабинет кандидата" />
|
||||
<nav className={styles.nav} aria-label="Разделы кабинета кандидата">
|
||||
<ul className={styles.list}>
|
||||
{navigation.map((item) => (
|
||||
<li key={item.to}>
|
||||
<NavItem to={item.to} end={item.end}>
|
||||
{item.label}
|
||||
</NavItem>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</nav>
|
||||
<HeaderPlate className={styles.plate}>
|
||||
<Wordmark to={paths.candidate.root} context="Кабинет кандидата" />
|
||||
<nav className={styles.nav} aria-label="Разделы кабинета кандидата">
|
||||
<ul ref={listRef} className={styles.list}>
|
||||
{navigation.map((item) => (
|
||||
<li key={item.to}>
|
||||
<NavItem to={item.to} end={item.end}>
|
||||
{item.label}
|
||||
</NavItem>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</nav>
|
||||
</HeaderPlate>
|
||||
</header>
|
||||
<MainRegion>
|
||||
<MainRegion className={styles.main}>
|
||||
<Outlet />
|
||||
</MainRegion>
|
||||
</div>
|
||||
|
||||
@@ -1,18 +1,32 @@
|
||||
/* A slim strip above the header: the red dot is the design system's "live"
|
||||
* marker; the bold label states the meaning in words. */
|
||||
.banner {
|
||||
padding: var(--space-2) var(--space-4);
|
||||
border-bottom: var(--line-strong) solid var(--color-border-strong);
|
||||
color: var(--color-text);
|
||||
padding: var(--space-2) var(--gutter);
|
||||
border-bottom: var(--line-thin) solid var(--color-divider);
|
||||
color: var(--color-text-secondary);
|
||||
font-size: var(--font-size-xs);
|
||||
line-height: var(--line-height-snug);
|
||||
background: var(--color-surface);
|
||||
font-size: var(--font-size-s);
|
||||
}
|
||||
|
||||
.banner p {
|
||||
margin: 0;
|
||||
max-width: 80rem;
|
||||
margin-inline: auto;
|
||||
max-width: var(--content-width-wide);
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.label {
|
||||
color: var(--color-accent);
|
||||
font-weight: var(--font-weight-bold);
|
||||
color: var(--color-text-strong);
|
||||
font-family: var(--font-mono);
|
||||
font-weight: var(--font-weight-medium);
|
||||
}
|
||||
|
||||
.label::before {
|
||||
display: inline-block;
|
||||
width: 0.5rem;
|
||||
height: 0.5rem;
|
||||
margin-right: var(--space-2);
|
||||
border-radius: 50%;
|
||||
content: "";
|
||||
background: var(--color-attention);
|
||||
vertical-align: 0.05em;
|
||||
}
|
||||
@@ -1,35 +1,81 @@
|
||||
/* Desktop first: base rules target 1024px and wider; narrow screens adapt. */
|
||||
|
||||
/* The graphite rail is painted by the container, not by the sidebar alone:
|
||||
* the sidebar is sticky and only one viewport tall, while the container spans
|
||||
* the whole page, so the rail stays dark on long pages. */
|
||||
/* Narrow first: below 1024px the sidebar is a sticky header plate. */
|
||||
.shell {
|
||||
display: grid;
|
||||
grid-template-columns: 17rem minmax(0, 1fr);
|
||||
grid-template-rows: auto 1fr;
|
||||
min-height: 100vh;
|
||||
background: linear-gradient(var(--palette-graphite), var(--palette-graphite)) left top / 17rem
|
||||
100% no-repeat;
|
||||
}
|
||||
|
||||
/* Dark region: violet fails on graphite (2.49:1), so text, links, and the
|
||||
* focus ring switch to checked light values here. */
|
||||
.sidebar {
|
||||
--color-focus-ring: var(--palette-white);
|
||||
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 20;
|
||||
top: var(--chrome-inset);
|
||||
margin: var(--chrome-inset) var(--chrome-inset) 0;
|
||||
border: var(--line-thin) solid var(--color-divider);
|
||||
border-radius: var(--radius-m);
|
||||
background: var(--color-surface);
|
||||
}
|
||||
|
||||
.top {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-6);
|
||||
height: 100vh;
|
||||
padding: var(--space-4) var(--space-4) var(--space-6);
|
||||
color: var(--palette-light);
|
||||
background: var(--palette-graphite);
|
||||
gap: var(--space-3);
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
min-height: var(--header-height);
|
||||
padding: var(--space-1) var(--space-2) var(--space-1) var(--space-4);
|
||||
}
|
||||
|
||||
.brand {
|
||||
display: flex;
|
||||
gap: var(--space-3);
|
||||
align-items: center;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
/* Cabinet name: a mono label, steel on the surface 5.83:1. */
|
||||
.context {
|
||||
padding-left: var(--space-3);
|
||||
border-left: var(--line-thin) solid var(--color-divider);
|
||||
color: var(--color-text-secondary);
|
||||
font-family: var(--font-mono);
|
||||
font-size: var(--font-size-xs);
|
||||
font-weight: var(--font-weight-medium);
|
||||
line-height: var(--line-height-snug);
|
||||
}
|
||||
|
||||
/* On a phone the cabinet name stacks under the wordmark. */
|
||||
@media (width < 30rem) {
|
||||
.brand {
|
||||
flex-direction: column;
|
||||
gap: 0;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.brand .context {
|
||||
padding-left: 0;
|
||||
border-left: 0;
|
||||
}
|
||||
|
||||
.brand a {
|
||||
min-height: 2rem;
|
||||
}
|
||||
}
|
||||
|
||||
.nav {
|
||||
border-top: var(--line-thin) solid var(--palette-graphite-soft);
|
||||
padding-top: var(--space-4);
|
||||
position: absolute;
|
||||
top: calc(100% + var(--space-2));
|
||||
right: 0;
|
||||
left: 0;
|
||||
display: none;
|
||||
padding: var(--space-2);
|
||||
border: var(--line-thin) solid var(--color-border-hover);
|
||||
border-radius: var(--radius-m);
|
||||
background: var(--color-surface-elevated);
|
||||
box-shadow: var(--shadow-popover);
|
||||
}
|
||||
|
||||
.nav[data-open] {
|
||||
display: block;
|
||||
animation: drop var(--duration-base) var(--easing-emphasized);
|
||||
}
|
||||
|
||||
.list {
|
||||
@@ -40,44 +86,69 @@
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.list a {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.main {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
@media (width < 64rem) {
|
||||
/* Desktop: a floating 240px rail beside the work area. The cabinet name
|
||||
* stacks under the wordmark. */
|
||||
@media (width >= 64rem) {
|
||||
.shell {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
grid-template-rows: auto 1fr;
|
||||
background: none;
|
||||
grid-template-columns: 15rem minmax(0, 1fr);
|
||||
grid-template-rows: none;
|
||||
column-gap: var(--space-2);
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
z-index: 10;
|
||||
gap: var(--space-1);
|
||||
height: auto;
|
||||
padding: var(--space-2) var(--gutter) 0;
|
||||
}
|
||||
|
||||
.nav {
|
||||
margin-inline: calc(-1 * var(--gutter));
|
||||
padding-top: 0;
|
||||
border-top: 0;
|
||||
overflow-x: auto;
|
||||
overscroll-behavior-x: contain;
|
||||
scrollbar-width: thin;
|
||||
}
|
||||
|
||||
.list {
|
||||
display: flex;
|
||||
width: max-content;
|
||||
padding: var(--space-1) var(--gutter) var(--space-2);
|
||||
flex-direction: column;
|
||||
gap: var(--space-5);
|
||||
align-self: start;
|
||||
height: calc(100vh - 2 * var(--chrome-inset));
|
||||
margin: var(--chrome-inset) 0 var(--chrome-inset) var(--chrome-inset);
|
||||
padding: var(--space-4) var(--space-3);
|
||||
}
|
||||
|
||||
.list a {
|
||||
width: auto;
|
||||
.top {
|
||||
display: grid;
|
||||
gap: var(--space-2);
|
||||
justify-items: start;
|
||||
min-height: 0;
|
||||
padding: 0 var(--space-2);
|
||||
}
|
||||
|
||||
.brand {
|
||||
flex-direction: column;
|
||||
gap: 0;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.context {
|
||||
padding-left: 0;
|
||||
border-left: 0;
|
||||
}
|
||||
|
||||
.toggle {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.nav,
|
||||
.nav[data-open] {
|
||||
position: static;
|
||||
display: block;
|
||||
padding: var(--space-4) 0 0;
|
||||
border: 0;
|
||||
border-top: var(--line-thin) solid var(--color-divider);
|
||||
border-radius: 0;
|
||||
background: none;
|
||||
box-shadow: none;
|
||||
animation: none;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes drop {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(-4px);
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,13 @@
|
||||
import { Outlet } from "react-router-dom";
|
||||
import { paths } from "../../../shared/config";
|
||||
import { BrandLogo, MainRegion, NavItem, SkipLink } from "../../../shared/ui";
|
||||
import {
|
||||
MainRegion,
|
||||
MenuButton,
|
||||
NavItem,
|
||||
SkipLink,
|
||||
Wordmark,
|
||||
useMenuToggle,
|
||||
} from "../../../shared/ui";
|
||||
import styles from "./employer-shell.module.css";
|
||||
|
||||
const navigation = [
|
||||
@@ -13,21 +20,41 @@ const navigation = [
|
||||
] as const;
|
||||
|
||||
/**
|
||||
* Employer cabinet layout, designed for desktop first: a graphite sidebar
|
||||
* with vertical navigation next to a wide work area. Below 1024px the
|
||||
* sidebar turns into a top bar with a scrollable section strip.
|
||||
* Employer cabinet layout, designed for desktop first: a floating 240px
|
||||
* sidebar with vertical navigation next to a wide work area. Below 1024px
|
||||
* the sidebar turns into a sticky header plate whose sections open from a
|
||||
* menu button.
|
||||
*/
|
||||
export function EmployerShell() {
|
||||
const menu = useMenuToggle();
|
||||
|
||||
return (
|
||||
<div className={styles.shell}>
|
||||
<SkipLink />
|
||||
<header className={styles.sidebar}>
|
||||
<BrandLogo tone="dark" to={paths.employer.root} context="Кабинет работодателя" />
|
||||
<nav className={styles.nav} aria-label="Разделы кабинета работодателя">
|
||||
<div className={styles.top}>
|
||||
<div className={styles.brand}>
|
||||
<Wordmark to={paths.employer.root} />
|
||||
<span className={styles.context}>Кабинет работодателя</span>
|
||||
</div>
|
||||
<MenuButton
|
||||
className={styles.toggle}
|
||||
menuId={menu.menuId}
|
||||
isOpen={menu.isOpen}
|
||||
onToggle={menu.toggle}
|
||||
buttonRef={menu.buttonRef}
|
||||
/>
|
||||
</div>
|
||||
<nav
|
||||
id={menu.menuId}
|
||||
className={styles.nav}
|
||||
data-open={menu.isOpen || undefined}
|
||||
aria-label="Разделы кабинета работодателя"
|
||||
>
|
||||
<ul className={styles.list}>
|
||||
{navigation.map((item) => (
|
||||
<li key={item.to}>
|
||||
<NavItem to={item.to} tone="dark">
|
||||
<NavItem to={item.to} layout="rail">
|
||||
{item.label}
|
||||
</NavItem>
|
||||
</li>
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
/* Mobile first: base rules target 360px; wider screens add layout. */
|
||||
.shell {
|
||||
display: grid;
|
||||
grid-template-rows: auto 1fr auto;
|
||||
@@ -5,38 +6,96 @@
|
||||
}
|
||||
|
||||
.header {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: var(--space-2) var(--space-5);
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: var(--space-3) var(--gutter);
|
||||
border-bottom: var(--line-thin) solid var(--color-divider);
|
||||
background: var(--color-surface);
|
||||
position: sticky;
|
||||
z-index: 20;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
/* Below 700px the navigation is a dropdown under the plate. */
|
||||
.nav {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
position: absolute;
|
||||
top: calc(100% + var(--space-2));
|
||||
right: 0;
|
||||
left: 0;
|
||||
display: none;
|
||||
padding: var(--space-2);
|
||||
border: var(--line-thin) solid var(--color-border-hover);
|
||||
border-radius: var(--radius-m);
|
||||
background: var(--color-surface-elevated);
|
||||
box-shadow: var(--shadow-popover);
|
||||
}
|
||||
|
||||
.nav[data-open] {
|
||||
display: block;
|
||||
animation: drop var(--duration-base) var(--easing-emphasized);
|
||||
}
|
||||
|
||||
.list {
|
||||
display: grid;
|
||||
gap: var(--space-1);
|
||||
margin: 0 calc(-1 * var(--space-3));
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.list a {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.main {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.footer {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: var(--space-2) var(--space-5);
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: var(--space-4) var(--gutter);
|
||||
margin-top: var(--space-8);
|
||||
border-top: var(--line-thin) solid var(--color-divider);
|
||||
color: var(--color-text-secondary);
|
||||
font-size: var(--font-size-s);
|
||||
background: var(--color-surface);
|
||||
}
|
||||
|
||||
.footer-inner {
|
||||
display: grid;
|
||||
gap: var(--space-3);
|
||||
align-items: center;
|
||||
max-width: calc(var(--content-width-wide) + 2 * var(--gutter));
|
||||
margin-inline: auto;
|
||||
padding: var(--space-6) var(--gutter);
|
||||
color: var(--color-text-secondary);
|
||||
font-size: var(--font-size-s);
|
||||
}
|
||||
|
||||
.note {
|
||||
max-width: 38rem;
|
||||
}
|
||||
|
||||
@media (width >= 43.75rem) {
|
||||
.toggle {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.nav,
|
||||
.nav[data-open] {
|
||||
position: static;
|
||||
display: block;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background: none;
|
||||
box-shadow: none;
|
||||
animation: none;
|
||||
}
|
||||
|
||||
.list {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.footer-inner {
|
||||
grid-template-columns: auto minmax(0, 1fr) auto;
|
||||
gap: var(--space-6);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes drop {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(-4px);
|
||||
}
|
||||
}
|
||||
@@ -1,35 +1,72 @@
|
||||
import { Outlet } from "react-router-dom";
|
||||
import { paths } from "../../../shared/config";
|
||||
import { BrandLogo, MainRegion, NavItem, SkipLink, TextLink } from "../../../shared/ui";
|
||||
import {
|
||||
HeaderPlate,
|
||||
MainRegion,
|
||||
MenuButton,
|
||||
NavItem,
|
||||
SkipLink,
|
||||
TextLink,
|
||||
Wordmark,
|
||||
useMenuToggle,
|
||||
} from "../../../shared/ui";
|
||||
import styles from "./public-shell.module.css";
|
||||
|
||||
/** Layout of public pages: sign-in, registration, email confirmation, support. */
|
||||
const navigation = [
|
||||
{ to: paths.support, label: "Поддержка" },
|
||||
{ to: paths.login, label: "Вход" },
|
||||
{ to: paths.register, label: "Регистрация" },
|
||||
] as const;
|
||||
|
||||
/**
|
||||
* Layout of public pages: the landing, sign-in, registration, email
|
||||
* confirmation, and support. Below 700px the links collapse behind a menu
|
||||
* button.
|
||||
*/
|
||||
export function PublicShell() {
|
||||
const menu = useMenuToggle();
|
||||
|
||||
return (
|
||||
<div className={styles.shell}>
|
||||
<SkipLink />
|
||||
<header className={styles.header}>
|
||||
<BrandLogo />
|
||||
<nav aria-label="Публичные разделы">
|
||||
<ul className={styles.nav}>
|
||||
<li>
|
||||
<NavItem to={paths.login}>Вход</NavItem>
|
||||
</li>
|
||||
<li>
|
||||
<NavItem to={paths.register}>Регистрация</NavItem>
|
||||
</li>
|
||||
<li>
|
||||
<NavItem to={paths.support}>Поддержка</NavItem>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<HeaderPlate>
|
||||
<Wordmark />
|
||||
<MenuButton
|
||||
className={styles.toggle}
|
||||
menuId={menu.menuId}
|
||||
isOpen={menu.isOpen}
|
||||
onToggle={menu.toggle}
|
||||
buttonRef={menu.buttonRef}
|
||||
/>
|
||||
<nav
|
||||
id={menu.menuId}
|
||||
className={styles.nav}
|
||||
data-open={menu.isOpen || undefined}
|
||||
aria-label="Публичные разделы"
|
||||
>
|
||||
<ul className={styles.list}>
|
||||
{navigation.map((item) => (
|
||||
<li key={item.to}>
|
||||
<NavItem to={item.to}>{item.label}</NavItem>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</nav>
|
||||
</HeaderPlate>
|
||||
</header>
|
||||
<MainRegion className={styles.main}>
|
||||
<Outlet />
|
||||
</MainRegion>
|
||||
<footer className={styles.footer}>
|
||||
<p>Lincodex. Каркас интерфейса: пользовательские сценарии в разработке.</p>
|
||||
<TextLink to={paths.status}>Технический статус</TextLink>
|
||||
<div className={styles["footer-inner"]}>
|
||||
<Wordmark size="s" />
|
||||
<p className={styles.note}>
|
||||
Подбор в ИТ по категории, которую подтверждает тест. Контакты кандидата открываются
|
||||
только с его согласия.
|
||||
</p>
|
||||
<TextLink to={paths.status}>Технический статус</TextLink>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user