Skip to content

feat: full site rebuild per PRD#148

Open
andrerfneves wants to merge 17 commits intoupgrade/next-15-react-19from
rebuild/new-site-v2
Open

feat: full site rebuild per PRD#148
andrerfneves wants to merge 17 commits intoupgrade/next-15-react-19from
rebuild/new-site-v2

Conversation

@andrerfneves
Copy link
Copy Markdown
Owner

Complete rebuild of lightningaddress.com per PRD:

  • Next.js 16 App Router + TypeScript
  • shadcn/ui + Tailwind CSS + Framer Motion
  • Homepage: animated address showcase, capabilities bento grid, interactive resolver, agents section
  • Directory page: wallets.json + featured.json, filterable grid, /api/v1/directory
  • Docs: MDX sidebar with all capability pages, showcase, API reference
  • public/llms.txt for LLM consumption
  • Dark theme, premium feel

Branched from upgrade/next-15-react-19. Build passes clean.

- Migrated from pages/ to App Router
- Added TypeScript, Tailwind CSS v4, shadcn/ui
- Homepage: Hero with animated wallet showcase, Capabilities Bento Grid,
  Interactive Resolver, and For Agents & AI section
- Directory page: Filterable wallet/service grid with featured tier
- Docs: Full MDX documentation with sidebar navigation
  - Getting Started, Setup Guide, Capabilities, Agents & AI, Showcase, API
- API routes: /api/resolve for Lightning Address resolution,
  /api/v1/directory for queryable provider directory
- Added llms.txt for LLM/AI consumption of protocol spec
- Migrated all wallets from README table to data/wallets.json

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 4, 2026

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

Project Deployment Actions Updated (UTC)
lightning-address Ready Ready Preview, Comment Apr 19, 2026 6:38pm

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 44f457fbb7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread app/api/resolve/route.ts
try {
// Fetch LNURL-pay endpoint
const lnurlResponse = await fetch(
`https://${domain}/.well-known/lnurlp/${username}`,
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Restrict resolver from fetching arbitrary user-supplied hosts

The resolver builds outbound URLs directly from the untrusted address query (domain from user input) and then performs server-side fetch calls, which creates an SSRF primitive. In deployments where the runtime can reach internal/private services, an attacker can submit addresses like name@internal-host to probe or access internal endpoints via this API; this should be constrained to validated public domains or an allowlist before issuing network requests.

Useful? React with 👍 / 👎.

Comment thread app/page.tsx Outdated
</div>

<div className="mt-8 flex justify-center gap-4">
<Link href="/docs/agents">
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Point "Learn More" CTA to an existing docs page

This link targets /docs/agents, but the docs catch-all page only defines content entries for agents/overview and agents/llms-txt; /docs/agents falls through to notFound(). Users clicking this homepage CTA hit a 404 instead of the intended agents documentation.

Useful? React with 👍 / 👎.

- Switch MDX from require() to static ESM imports for Next.js 15 compat
- Add @tailwindcss/typography plugin for prose styling
- Add mobile hamburger menu with Framer Motion animation
- Fix mobile layouts across all pages (home, directory, docs)
- Add collapsible mobile sidebar for docs navigation
- Add collapsible filter section on directory page
- Improve responsive typography and spacing throughout
- Separate docs client/server components for proper hydration

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…ation13 dock)

- Replace placeholder logos with actual wallet logos from /public/images/
- Update integration8 as wallet compatibility marquee after hero section
- Update integration13 as interactive ecosystem dock after bento grid
- Customize copy for Lightning Address context

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Feature222: showcase section with ZBD, Strike, PACT use cases
- CodeExample5: tabbed code examples for Lightning Address protocol
- Footer50: branded footer with Lightning Address navigation
- Includes kibo-ui code-block and required UI components

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Rename integration8.tsx -> wallet-marquee.tsx (WalletMarquee)
- Rename integration13.tsx -> wallet-dock.tsx (WalletDock)
- Rename feature222.tsx -> use-cases.tsx (UseCases)
- Rename code-example5.tsx -> protocol-code-examples.tsx (ProtocolCodeExamples)
- Rename footer50.tsx -> site-footer.tsx (SiteFooter)
- Rename hero1.tsx -> hero-block.tsx (HeroBlock)
- Add DocsCodeBlock component for MDX code rendering with syntax highlighting
- Update mdx-components.tsx to use DocsCodeBlock for all code blocks

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Replace custom mobile-nav with shadcn Sheet component opening from right
- Add full documentation tree to mobile nav with all sections and pages
- Include Home, Directory links and GitHub footer in mobile nav
- Remove redundant mobile docs sidebar from DocsClientWrapper
- Add prev/next navigation cards at bottom of every docs page
- Cards show page title, section name, and direction arrows
- Responsive layout: stacked on mobile, side-by-side on desktop
- Add getPrevNextPages helper to lib/docs.ts

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- merge upgrade/next-15-react-19 into rebuild/new-site-v2
- upgrade app router site to Next.js 16.2.4
- redirect docs section roots to first child page
- migrate useful DIY/bridge info into MDX docs
- remove obsolete legacy pages/components and root docs
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