Commit Graph
3 Commits
Author SHA1 Message Date
Your Name ebb0b251d4 feat: Add public profiles and server-side rendered project pages for social sharing
- Add public profile route at /profiles/[username] with server-side rendering
- Convert project pages to Server Components with generateMetadata for SEO
- Add Open Graph and Twitter Card metadata for social media previews
- Fix middleware to allow public access to /profiles/ and /projects/ routes
- Add PublicProfileClient and ProjectPageClient components for interactivity
- Update route constants with PROFILES.VIEW(username) for public profiles
- Add 404 pages for profiles and projects
- Deprecate SocialMetaTags component (replaced with generateMetadata API)
- Fix database field name mapping (name vs display_name)
- Add comprehensive testing scripts and documentation
- Fix missing Link import in UnifiedHeader

This enables users to share their profiles and projects on social media
with proper preview cards (no more 'Loading...' on Twitter/Facebook).

Phase 1 complete - ready for production deployment.
2025-11-12 01:02:16 +01:00
Your NameandClaude 2b642247b6 fix(profile): fix creator display and redesign Bitcoin donations section
## Profile Display Fix
- Fixed profile creator info showing "Anonymous" instead of display name
- Updated API routes to use correct `display_name` column instead of `name`
- Updated all frontend code (41 replacements across 8 files) to use display_name
- Added database migration for foreign key relationship between projects and profiles

## Gallery UI Improvements
- Redesigned gallery lightbox to be more compact and elegant
- Constrained lightbox images to max-w-5xl and max-h-[85vh] (was full screen)
- Improved main gallery thumbnail sizing and aspect ratios
- Added proper responsive padding and smoother transitions
- Better click handling to prevent accidental closes

## Bitcoin Donations Redesign
- Created new compact BitcoinDonationCard component
- Created BitcoinWalletStatsCompact component without external links
- Removed all mempool.space links per requirements
- Made QR codes always visible with improved layout
- Added "Send with Wallet" button for one-click Bitcoin URI
- Reduced donation section size by ~50% while maintaining functionality
- Modular, DRY code structure for better maintainability

Files changed:
- API: projects/[id]/route.ts, projects/route.ts
- Components: 2 new Bitcoin components, updated profile layout
- Frontend: 8 files updated with display_name references
- Gallery: ProjectMediaGallery.tsx redesigned

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-07 00:14:27 +01:00
Your Name ca6fc49694 chore(deploy): commit current state before GitHub+Vercel deployment; restore migration; move schema audit doc to docs/ 2025-10-30 18:16:04 +01:00