Skip to content

[T3.7] Delete StreakCard, WeeklySnapshots; reduce CampaignHero #1256

Description

@realproject7

Epic: #1229 · Spec: §6.2, §6.4 · Type: CODE · Estimate: 0.5 day · Depends on: T3.1

Visual reference

📐 Final v5 design: z-design/plotlink-airdrop-final.html — confirm CampaignHero compact top-strip styling

Scope

Delete (file + import)

  • src/components/airdrop/StreakCard.tsx
  • src/components/airdrop/WeeklySnapshots.tsx

Heavy reduce

  • src/components/airdrop/CampaignHero.tsx → compact top strip only: "Day X/90 · current FDV · next milestone"
  • v5 hero copy lives in Pre-activation state's main content area (T3.1), NOT in this component
  • Top-strip styling per z-design/plotlink-airdrop-final.html

Verify

  • Grep for any remaining imports of deleted components
  • Leaderboard component already removed from main page in T3.1

🚨 SEQUENCING CONSTRAINT (RE1 round-12 mitigation)

Single PR / single commit must include BOTH:

  1. Component file deletions (StreakCard.tsx, WeeklySnapshots.tsx)
  2. All import removals in src/app/airdrop/page.tsx + any other consumer file

Why: deleting component files first without updating consumers causes TS build error → /airdrop page becomes 500 error on the next deploy. Both must land atomically.

Audit grep before commit:

grep -rn "StreakCard\|WeeklySnapshots" src/ --include="*.tsx" --include="*.ts"
# Should return 0 results AFTER all edits are staged

If git status shows component files deleted but page.tsx not modified → DO NOT COMMIT. Fix imports first.

Acceptance

  • Both deleted files no longer exist
  • No broken imports remain (verified by grep returning 0 results)
  • npm run build passes locally before push
  • CampaignHero renders compact 1-line strip per z-design/plotlink-airdrop-final.html
  • PR is single commit OR single merge — no intermediate broken state on main
  • Build passes on Vercel staging immediately after merge

Dependencies

T3.1 (#1250 — removes top-level imports from page.tsx). T3.1 should already be merged before T3.7 to ensure clean diff.

Metadata

Metadata

Assignees

No one assigned

    Labels

    airdropPLOT 10x Airdrop Campaign

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions