Commit b4d2618
fix: 6 UX issues — terms nav, home table, donor nav, eligibility redesign, leaderboard, stories
- terms.php: read ?role= param so back button returns to the correct register form
- register.php: pass ?role= to terms link so the round-trip works
- index.php: fetch hospital city/state from JOIN; rename "Required By" to "Posted"; show posted date
- header.php: remove Find Donors and Emergency SOS from donor nav (not relevant to donors)
- eligibility.php: full premium redesign — dark hero, numbered question cards, step progress
indicator, green/red result panels, inline guidelines grid; removed emoji checkmark from heading
- leaderboard.php: skip empty cached results so list appears on first load without dropdown toggle;
change badge column to show total_donations (donor_matches is empty by design)
- testimonials.php: fix broken link (submit_story.php → donor/submit_testimonial.php)
- donor/submit_testimonial.php: gate on total_donations instead of donor_matches so seeded
donors with donation history can submit stories
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent c201717 commit b4d2618
8 files changed
Lines changed: 424 additions & 237 deletions
File tree
- lifeline
- donor
- includes
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 8 | + | |
| 9 | + | |
15 | 10 | | |
16 | 11 | | |
17 | 12 | | |
| |||
0 commit comments