Apply the public site UI checklist.
Align header, footer, brand, homepage course preview, faculty links, and the course catalog with the documented changes. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
8886aa8640
commit
de800d27b1
139 files changed
+3311
-1547
No files matched your search
@@ -44,6 +44,21 @@
|
||||
| تب | `Tabs` |
|
||||
| اسکلتون | `Skeleton` |
|
||||
| نشان | `Badge` |
|
||||
| هیروی صفحه | `PageHero` (`size="lg"` + `actions` برای لندینگ) |
|
||||
| سرتیتر بخش | `SectionHeader` (eyebrow + title + description؛ `inverse` روی بخش تیره/قرمز) |
|
||||
| زمینه بخش | `Section tone="default \| subtle \| muted \| dark \| accent"` — بدون override برای `py-*` |
|
||||
| جزئیات برچسب/مقدار | `DetailList` |
|
||||
| فهرست نکات | `CheckList` |
|
||||
| آمار | `StatGrid` |
|
||||
| فرم عمومی | `FormCard` + `ContactInterestForm` |
|
||||
| دکمه روی زمینه تیره | `buttonVariants({ variant: "inverse" })` یا `DotCta onDark` |
|
||||
| خطا / ۴۰۴ | `ErrorState` / `(main)/not-found.tsx` |
|
||||
|
||||
**قوانین تکمیلی:**
|
||||
- اندازه تیترها فقط از `Heading` (level 1–4)؛ کلاس `text-*` روی تیتر override نشود.
|
||||
- `Card` روی hover بلند نمیشود؛ فقط کارتهای لینکدار با `SurfaceCard interactive`.
|
||||
- پنل کناری صفحات جزئیات: `SurfaceCard padded` + `DetailList` + دکمه `size="lg" w-full`.
|
||||
- رنگ خطا فقط `text-destructive`.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in new issue
Block a user