feat(web): add Ant workspace tabs and harden page chrome

Persist workspace tabs in the app shell with Ant Design styling aligned to the desktop top bar, and fix tab bar layout flicker on select. Add shared PageHeader components, query helpers, and missing header state across CRM views; improve mobile shell layout and Vite HMR stability on Windows.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-11-25 16:53:04 +03:30
co-authored by Cursor
parent 1992474273
commit cc68b2d9f3
86 changed files with 5446 additions and 3885 deletions
+16 -11
View File
@@ -49,22 +49,27 @@
font-display: swap;
}
@font-face {
font-family: "IRANSans";
src:
url("../assets/fonts/iranSans/woff2/IRANSansWeb(FaNum)_Black.woff2") format("woff2"),
url("../assets/fonts/iranSans/woff/IRANSansWeb(FaNum)_Black.woff") format("woff");
font-weight: 900;
font-style: normal;
font-display: swap;
}
/* map common 600 → Bold so font-weight:600 works */
/* 900 → Bold too: Black is a display cut and reads as shouting in UI chrome */
@font-face {
font-family: "IRANSans";
src:
url("../assets/fonts/iranSans/woff2/IRANSansWeb(FaNum)_Bold.woff2") format("woff2"),
url("../assets/fonts/iranSans/woff/IRANSansWeb(FaNum)_Bold.woff") format("woff");
font-weight: 900;
font-style: normal;
font-display: swap;
}
/*
* IRANSans has no semibold cut. 600 is Ant's fontWeightStrong (table heads,
* titles, <strong>, active items) and the most used weight in the app, so it
* maps to Medium; mapping it to Bold made the whole UI look heavy.
*/
@font-face {
font-family: "IRANSans";
src:
url("../assets/fonts/iranSans/woff2/IRANSansWeb(FaNum)_Medium.woff2") format("woff2"),
url("../assets/fonts/iranSans/woff/IRANSansWeb(FaNum)_Medium.woff") format("woff");
font-weight: 600;
font-style: normal;
font-display: swap;