Skip to content

fix: wire pages into router + remove duplicate export + unify Tailwind tokens (#143, #144, #191) - #230

Open
ZacLou wants to merge 2 commits into
Cylo-Traders:masterfrom
ZacLou:fix/router-wiring-duplicate-export
Open

fix: wire pages into router + remove duplicate export + unify Tailwind tokens (#143, #144, #191)#230
ZacLou wants to merge 2 commits into
Cylo-Traders:masterfrom
ZacLou:fix/router-wiring-duplicate-export

Conversation

@ZacLou

@ZacLou ZacLou commented Aug 29, 2026

Copy link
Copy Markdown

Overview

Closes #143, #144, and #191.

Issue #191: Unify divergent Tailwind design systems

Problem

CampaignDetailPage, FundCampaignModal, and InvestorDashboardPage used a slate/emerald palette, while the rest of the app (and the new OpenDisputeForm rendered inside CampaignDetailPage) uses the soil/leaf/status token system, causing a visual clash.

Fix

Migrated the three components and their direct sub-components (InvestorSummaryStats, InvestmentCard) to the soil/leaf/status token system:

  • Replaced slate background/border/text utilities with soil equivalents
  • Replaced emerald action colors with leaf-700 / leaf-800
  • Replaced custom status badge colors in InvestmentCard with STATUS_META from lib/campaignStatus
  • Replaced amber/purple/rose/blue defaults with status tokens
  • Removed hardcoded dark: variants; the app currently uses a single light theme via index.css

Files changed

Verification

  • tsc --noEmit --project tsconfig.app.json passes with no errors.

鲁班七号 added 2 commits August 29, 2026 08:51
…age export

Issue Cylo-Traders#143: Most built pages were never wired into the router, and there
was no catch-all 404 route. Added routes for /campaigns, /campaigns/new,
/dashboard/investor, /dashboard/farmer, /dashboard/admin, and a wildcard
* route rendering NotFoundPage.

Issue Cylo-Traders#144: Two different components were both named/exported as
InvestorDashboardPage — a placeholder in pages/index.tsx and the real
implementation in pages/InvestorDashboardPage.tsx. Removed the placeholder
and re-exported the real component from pages/index.tsx, matching the
pattern already used for other real pages.

Closes Cylo-Traders#143, Closes Cylo-Traders#144
@ZacLou ZacLou changed the title fix: wire all pages into router + remove duplicate InvestorDashboardPage export (#143, #144) fix: wire pages into router + remove duplicate export + unify Tailwind tokens (#143, #144, #191) Aug 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Most built pages are never wired into the router, and there is no catch-all 404 route

1 participant