Task Name
Migrate Landing Page to Next.js App Router
Summary
Port the existing landing page from client/index.html to app/(public)/page.tsx using the Next.js App Router. Recreate the page's dynamic sections as reusable components and remove the starter app/page.tsx to prevent duplicate root routes.
Contribution Area
Description / Requirements
- Port
client/index.html to app/(public)/page.tsx.
- Ensure the page inherits
Navbar and Footer from the root layout.
- Remove the starter
app/page.tsx to avoid a duplicate / route.
- Create a
Features component containing feature cards and the trust banner.
- Create a
Voices component that fetches the latest 3 media resources on the client side and provides a static fallback.
- Create a
Contributors component with a team carousel and profile modal.
- Create a
Faqs component using an accordion interface.
- Create a
SuggestDrawer component with:
- A floating action button (FAB).
- A suggestion form.
- Submission to
/api/v1/suggestions.
- Add
lib/resources.ts.
- Copy the suggest-drawer and resources stylesheets into
migration/styles.
Acceptance Criteria
Branch
Branch name: migrate-index-page
Linked Pull Request
PR: #125
Checklist
Task Name
Migrate Landing Page to Next.js App Router
Summary
Port the existing landing page from
client/index.htmltoapp/(public)/page.tsxusing the Next.js App Router. Recreate the page's dynamic sections as reusable components and remove the starterapp/page.tsxto prevent duplicate root routes.Contribution Area
Description / Requirements
client/index.htmltoapp/(public)/page.tsx.NavbarandFooterfrom the root layout.app/page.tsxto avoid a duplicate/route.Featurescomponent containing feature cards and the trust banner.Voicescomponent that fetches the latest 3 media resources on the client side and provides a static fallback.Contributorscomponent with a team carousel and profile modal.Faqscomponent using an accordion interface.SuggestDrawercomponent with:/api/v1/suggestions.lib/resources.ts.migration/styles.Acceptance Criteria
app/(public)/page.tsx.app/page.tsxhas been removed and no duplicate/route exists./api/v1/suggestions.migration/styles.lib/resources.tshas been added.Branch
Branch name:
migrate-index-pageLinked Pull Request
PR: #125
Checklist
migrationand PR targetsmigration