-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
landing-pageLanding page project tasksLanding page project taskspriority:shouldShould Have - 중요하지만 필수는 아님Should Have - 중요하지만 필수는 아님refactorsub-issue상위 이슈의 하위 작업상위 이슈의 하위 작업
Description
Parent Issue
- refactor(landing-page): Migrate to WSA (Widget-Slot Architecture) #660 Migrate to WSA (Widget-Slot Architecture)
Task
Move 5 files from sections/ directory to widgets/ directory and restructure them to follow WSA Widget conventions.
TODO
-
sections/Hero.tsx→widgets/Hero/index.tsx -
sections/BeforeAfter.tsx→widgets/BeforeAfter/index.tsx -
sections/Features.tsx→widgets/Features/index.tsx -
sections/SupportedTools.tsx→widgets/SupportedTools/index.tsx -
sections/CTAFooter.tsx→widgets/CTAFooter/index.tsx - Delete
sections/directory - Update all import paths (
@/sections/→@/widgets/)
WSA Widget Structure
widgets/[Name]/
├── index.tsx # Widget Entry Point (Server Component)
├── ui/ # Client Components (if needed)
└── types.ts # Widget-specific types (if needed)
Notes
- Hero already uses TerminalDemo (Client Component) → consider
ui/separation - Others are pure Server Components,
index.tsxonly is sufficient - Existing
widgets/AgentsShowcase,widgets/QuickStart,widgets/TerminalDemorequire no changes
Acceptance Criteria
-
sections/directory no longer exists - All Widgets follow
widgets/[Name]/index.tsxstructure - Typecheck passes after import path changes
- All existing tests pass
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
landing-pageLanding page project tasksLanding page project taskspriority:shouldShould Have - 중요하지만 필수는 아님Should Have - 중요하지만 필수는 아님refactorsub-issue상위 이슈의 하위 작업상위 이슈의 하위 작업