Skip to content

fix: typo, broken highlights, duplicate SEC-06 header#92

Merged
dergigi merged 3 commits intomainfrom
fix/misc-website-bugs
Mar 6, 2026
Merged

fix: typo, broken highlights, duplicate SEC-06 header#92
dergigi merged 3 commits intomainfrom
fix/misc-website-bugs

Conversation

@dergigi
Copy link
Contributor

@dergigi dergigi commented Mar 5, 2026

Three fixes:

1. Typo in testimonials section
'Crypographically signed' → 'Cryptographically signed'

2. Broken highlights system
The project highlights on /projects used a hardcoded array in ProjectShowcase.astro that was out of sync with the data:

  • NIP-54 was listed but doesn't exist as a project
  • Window.nostr.db didn't match the actual project name (Window.nostrdb.js) — silently failed to render
  • Wikifreedia was highlight: true in JSON but missing from the hardcoded list

Fix: replaced the hardcoded array with projects.filter(p => p.highlight), so highlights are now driven entirely by the JSON field. Added highlight: true to npub.cash and NIP-61 to match what was intended.

3. Duplicate SEC-06 header
The CTA section at the bottom had a hardcoded 'SEC-06' heading. Now that SEC-06 has real projects, this created a duplicate. Removed the hardcoded heading — the CTA ('Your Project Here') still shows without it.

@vercel
Copy link

vercel bot commented Mar 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
soveng2 Ready Ready Preview, Comment Mar 6, 2026 7:46am

- Fix 'Crypographically' → 'Cryptographically' in testimonials
- Replace hardcoded highlight list with JSON-driven highlight field
  (removes phantom entries NIP-54 and Window.nostr.db that matched
  no project; adds npub.cash and NIP-61 to highlight field in JSON)
- Remove duplicate SEC-06 heading from CTA section (SEC-06 now has
  real projects so the hardcoded header was duplicated)
@dergigi dergigi merged commit 0b6ab59 into main Mar 6, 2026
4 checks passed
@dergigi dergigi deleted the fix/misc-website-bugs branch March 6, 2026 08:11
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.

1 participant