Skip to content

fix(typography): apostrofo curvo nelle stringhe display dei componenti - #5

Merged
marcofarina merged 1 commit into
mainfrom
fix/smart-quotes-tsx
Jun 3, 2026
Merged

fix(typography): apostrofo curvo nelle stringhe display dei componenti#5
marcofarina merged 1 commit into
mainfrom
fix/smart-quotes-tsx

Conversation

@marcofarina

Copy link
Copy Markdown
Owner

Cosa

Completa gli smart quotes (#4) per le stringhe hardcoded nei componenti React, che essendo TSX (non MDX) non passano da remark-smartypants. Curvati i testi di display rimasti dritti sulla home e nella UI:

  • Hero (src/pages/index.tsx): doesn't byte.doesn't byte.
  • VolumeCard (home): Manuale dell'Artefice, dell'Archivista, Biblioteca dell'Apprendista
  • Tagline navbar (src/theme/Navbar/Logo): doesn't byte
  • Tooltip PyRunner (src/theme/PyRunner/Toolbar): un'IA

Stesso principio del fix titoli/config: per le stringhe che non attraversano la pipeline remark, l'apostrofo curvo (U+2019) si scrive direttamente nel sorgente. Curvati solo i testi di display; commenti e identificatori di codice restano dritti.

Verifica

  • Verificato live sulla home (dev server, hot-reload): hero, VolumeCard e titolo tab tutti con apostrofo curvo.
  • npm run typecheck ✅ · npm run build ✅ · lint dei file toccati ✅ (gli errori Prettier residui in Navbar/Logo sono pre-esistenti, su righe non modificate).

🤖 Generated with Claude Code

Le stringhe hardcoded nei componenti React (hero "doesn't byte",
titoli VolumeCard sulla home, tagline navbar, tooltip "un'IA" del
PyRunner) sono TSX, non MDX: non passano da remark-smartypants. Come
per il config, l'apostrofo curvo va scritto direttamente nel sorgente.
Curvati solo i testi di display; commenti e identificatori di codice
restano dritti. Verificato live sulla home (hot-reload dev server).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@marcofarina
marcofarina merged commit b066efc into main Jun 3, 2026
1 check passed
@marcofarina
marcofarina deleted the fix/smart-quotes-tsx branch June 3, 2026 01:07
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