Nicolas Cantu c39e732049 Fix author page to use structured JSON data instead of raw content
**Motivations:**
- The author page was displaying the raw note content (visible part) instead of using the structured JSON data
- This caused elements like 'Nouveau profil publié sur zapwall.fr' to appear, which should not be visible
- The page should follow the structure of the creation form for consistency

**Root causes:**
- AuthorPageHeader was using presentation.content which contains the raw note visible content
- The structured data (description, contentDescription) extracted from JSON tags was not being used for display

**Correctifs:**
- Modified AuthorPageHeader to use presentation.description and presentation.contentDescription instead of presentation.content
- Extract author name from title (format: 'Présentation de <name>')
- Display structured fields following the creation form structure: presentation personnelle and description du contenu
- Fixed TypeScript errors for null/undefined handling

**Evolutions:**
- Author page now displays data in a structured way matching the creation form
- Better user experience with clear sections for presentation and content description

**Pages affectées:**
- pages/author/[pubkey].tsx
2026-01-06 14:54:49 +01:00
..
2026-01-06 14:17:55 +01:00
2026-01-06 14:17:55 +01:00
2026-01-06 14:17:55 +01:00
2026-01-06 14:17:55 +01:00
2026-01-06 14:17:55 +01:00
2026-01-06 14:17:55 +01:00
2026-01-06 14:17:55 +01:00
2026-01-06 14:17:55 +01:00
2026-01-06 14:17:55 +01:00
2026-01-06 14:17:55 +01:00
2026-01-06 14:17:55 +01:00
2026-01-06 14:17:55 +01:00
2026-01-06 14:17:55 +01:00
2026-01-06 14:17:55 +01:00
2026-01-06 14:17:55 +01:00