Skip to content

Single bounty page UI - #35

Open
spherical-spinach wants to merge 3 commits into
mainfrom
9/feat/single-bounty-page
Open

Single bounty page UI#35
spherical-spinach wants to merge 3 commits into
mainfrom
9/feat/single-bounty-page

Conversation

@spherical-spinach

@spherical-spinach spherical-spinach commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR adds single bounty page UI with Bounty information panel and Discussion section. It also adds routing from front page bounty cards, redirecting clicks to the corresponding single bounty page.

Related issue

Closes #30

Changes made

  • Added link from landing page BountyCard to single bounty page
  • Moved mock data from src/routes/+page.svelte to src/lib/mock/bounties.ts
  • Added new mock data to demonstrate the new single bounty page UI properly.
  • Updated bounty types for new mock data
  • Added src/routes/bounties/[id]/+page.svelte to render single bounty page UI

Author checklist

bun run pr runs all the commands below in one go.

  • Matches the spec
  • bun run format - code has been formatted
  • bun run lint - no prettier/eslint errors
  • bun run check - no svelte-check/TypeScript errors
  • bun run test - all tests pass
  • bun run build - build succeeds
  • I tested the relevant changes manually

Reviewer manual testing checklist

  • Clicking landing page Bounty cards redirects to single bounty page
  • Nostr login links are disabled
  • Clicking "All bounties" link redirects back to landing page
  • Clicking a landing page Bounty card renders the right bounty as a single bounty page
  • bun pr passes

@spherical-spinach spherical-spinach self-assigned this Aug 11, 2026
@spherical-spinach spherical-spinach linked an issue Aug 11, 2026 that may be closed by this pull request

@lambdakilo lambdakilo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! :godmode:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create single bounty page UI

2 participants