feat: RichText component for safe PocketBase HTML rendering

Add html-react-parser-backed RichText component that converts HTML
strings from PocketBase rich-text fields into React elements without
dangerouslySetInnerHTML. Replace raw <p> render in IntroSection and
BioSection, and drop the invalid slug filters those collections lacked.
This commit is contained in:
Ilia Mashkov
2026-05-12 13:58:17 +03:00
parent 0a99a37bca
commit 301e7a2555
8 changed files with 201 additions and 17 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ export type { CardBackground } from './Card';
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from './Card';
export { Input, Textarea } from './Input';
export { RichText } from './RichText';
export type { ContainerSize, SectionBackground } from './Section';
export { Container, Section } from './Section';
export { TechStackBrick, TechStackGrid } from './TechStack';