feat: redesign landing page with brand system and section blocks
Build & Push Docker Image / build (push) Has been cancelled
Build & Push Docker Image / build (push) Has been cancelled
Refresh the homepage around new hero/services/roadmap sections, shared design tokens, and updated brand assets. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
---
|
||||
description: Adapt Shadcn/Tailark imports to Amin Rayan design system — never ship vendor styles as-is
|
||||
globs: components/**/*.tsx,components/ui/**/*.tsx
|
||||
alwaysApply: false
|
||||
---
|
||||
|
||||
# Shadcn / Tailark Adaptation Rules
|
||||
|
||||
Any imported or regenerated Shadcn UI / Tailark / marketing block MUST be adapted to this project before it is considered done. See `docs/design-system/shadcn.md`.
|
||||
|
||||
## Always
|
||||
|
||||
- Replace vendor containers (`container`, `max-w-5xl`, foreign `px-*`) with `<Container>` / `layout.container`.
|
||||
- Apply `layout.sectionY` on the outer section (plus `section-shell` / `bg-section-*` when appropriate).
|
||||
- Remap colors to semantic tokens (`primary`, `background`, `foreground`, `muted-foreground`, `border`, …).
|
||||
- Remap headings/body to `type.*` / `<Typography>`.
|
||||
- Wire CTAs through `@/components/ui/button`.
|
||||
- Prefer `@/components/ui/card` for card-like panels.
|
||||
- Align radius/shadow/hover/transition with existing primitives.
|
||||
- Verify light and dark themes.
|
||||
- Verify alignment against header/footer.
|
||||
- Keep Radix accessibility behaviors intact.
|
||||
|
||||
## Never allow
|
||||
|
||||
- Random spacing, colors, typography, containers, or shadows from the vendor example.
|
||||
- Purple / indigo / zinc marketing palettes left in place.
|
||||
- Parallel button CSS or unstyled native buttons for primary CTAs.
|
||||
- Nested competing max-width shells.
|
||||
- New global CSS files for a single imported block without necessity.
|
||||
- Shipping the block “to restyle later.”
|
||||
|
||||
## Transform sketch
|
||||
|
||||
```tsx
|
||||
// Vendor → Project
|
||||
// max-w-5xl px-4 py-24 → <Container> inside section with layout.sectionY
|
||||
// bg-indigo-600 button → <Button size="lg">
|
||||
// text-4xl font-bold tracking-tight → type.h2 / type.display
|
||||
```
|
||||
|
||||
## References
|
||||
|
||||
- `docs/design-system/shadcn.md`
|
||||
- `docs/design-system/container.md`
|
||||
- `docs/design-system/quality-checklist.md`
|
||||
- `.cursor/rules/layout-container.mdc`
|
||||
Reference in New Issue
Block a user