Skip to content

refactor(landing-page): Move sections/ to widgets/ directory with WSA structure #661

@JeremyDev87

Description

@JeremyDev87

Parent Issue

Task

Move 5 files from sections/ directory to widgets/ directory and restructure them to follow WSA Widget conventions.

TODO

  • sections/Hero.tsxwidgets/Hero/index.tsx
  • sections/BeforeAfter.tsxwidgets/BeforeAfter/index.tsx
  • sections/Features.tsxwidgets/Features/index.tsx
  • sections/SupportedTools.tsxwidgets/SupportedTools/index.tsx
  • sections/CTAFooter.tsxwidgets/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.tsx only is sufficient
  • Existing widgets/AgentsShowcase, widgets/QuickStart, widgets/TerminalDemo require no changes

Acceptance Criteria

  • sections/ directory no longer exists
  • All Widgets follow widgets/[Name]/index.tsx structure
  • Typecheck passes after import path changes
  • All existing tests pass

Metadata

Metadata

Assignees

No one assigned

    Labels

    landing-pageLanding page project taskspriority:shouldShould Have - 중요하지만 필수는 아님refactorsub-issue상위 이슈의 하위 작업

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions