Ship site UI checklist, move admin to /mstcontroller, and add safe taxonomy label migration.
Deploy edu.mstaut.ir / deploy (push) Has been cancelled

Production already has migrations through 008; 009 only updates four seed labels by id. Faculty sync remains upsert-by-email/name and does not wipe curated data.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
smhk1376andCursor committed 2026-10-16 16:26:21 +03:30
1 parent 3eea1c35a6
commit 2b0db26a93
171 files changed
+1477 -807

No files matched your search

+9 -4
View File
@@ -1,10 +1,15 @@
import { cn } from "@/lib/utils";
/**
* Persian / Vazirmatn type scale.
* Avoid tracking-tight (hurts Arabic script). Keep clear step between levels.
* H1 hero → H2 sections → H3 cards/subheads → H4 small titles.
*/
const levels = {
1: "text-[1.65rem] font-bold leading-[1.45] tracking-tight text-pretty sm:text-4xl lg:text-[2.75rem] lg:leading-[1.4]",
2: "text-2xl font-bold leading-snug tracking-tight text-pretty sm:text-3xl lg:text-4xl",
3: "text-lg font-semibold leading-snug sm:text-xl",
4: "text-base font-semibold leading-snug sm:text-lg",
1: "text-3xl font-bold leading-[1.35] text-pretty sm:text-4xl sm:leading-[1.3] lg:text-5xl lg:leading-[1.25]",
2: "text-2xl font-bold leading-[1.4] text-pretty sm:text-3xl sm:leading-[1.35]",
3: "text-xl font-semibold leading-[1.45]",
4: "text-lg font-semibold leading-[1.5]",
} as const;
type HeadingProps = React.ComponentProps<"h1"> & {