Files
CRM_Montzar/apps/web/index.html
T
MahdiandCursor cc68b2d9f3 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>
2026-11-25 16:53:04 +03:30

96 lines
2.5 KiB
HTML

<!doctype html>
<html lang="fa" dir="rtl">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>منتکت | Montact CRM</title>
<link rel="icon" type="image/svg+xml" href="/brand/logo.svg" />
<style>
/* چیدمان اولیه؛ استایل کامپوننت بعداً همین را دقیق‌تر می‌کند */
.app-frame {
display: grid;
grid-template-columns: 244px minmax(0, 1fr);
grid-template-rows: minmax(0, 1fr);
height: 100dvh;
max-height: 100dvh;
overflow: hidden;
}
.app-frame.collapsed {
grid-template-columns: 80px minmax(0, 1fr);
}
.app-frame > .sidebar {
display: flex;
flex-direction: column;
align-self: stretch;
box-sizing: border-box;
height: 100%;
max-height: 100%;
min-height: 0;
overflow: hidden;
}
@media (min-width: 901px) {
.app-frame.collapsed > .sidebar {
width: 64px;
overflow: visible;
}
}
.app-frame .mobile-only {
display: none;
}
.app-frame .desktop-topbar {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
}
.home-hero {
position: relative;
display: grid;
grid-template-columns: minmax(0, 1fr) 210px;
align-items: start;
}
.home-hero .hero-chips {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.home-hero .popup {
position: absolute;
}
.home-hero .tail {
width: 10px;
height: 14px;
}
@media (max-width: 900px) {
.app-frame,
.app-frame.collapsed {
grid-template-columns: minmax(0, 1fr);
}
.app-frame > .sidebar,
.app-frame .desktop-only {
display: none;
}
.app-frame .mobile-only {
display: flex;
}
.app-frame .mobile-tabbar {
display: grid;
}
.home-hero .hero-chips {
grid-template-columns: minmax(0, 1fr);
}
}
@media (max-width: 700px) {
.home-hero {
grid-template-columns: minmax(0, 1fr);
}
.home-hero .hero-bot {
display: none;
}
}
</style>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>