feat: add trainer bio (experience, victories, education) across all layers
- Extend TeamMember type with experience/victories/education string arrays - Add DB columns with auto-migration for existing databases - Update API POST route to accept bio fields - Add ListField component for editing string arrays in admin - Add bio section (Опыт/Достижения/Образование) to team member admin form - Create TeamProfile component with full profile view (photo + bio sections) - Add "Подробнее" button to TeamMemberInfo that toggles to profile view Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -13,6 +13,9 @@ export interface TeamMember {
|
||||
image: string;
|
||||
instagram?: string;
|
||||
description?: string;
|
||||
experience?: string[];
|
||||
victories?: string[];
|
||||
education?: string[];
|
||||
}
|
||||
|
||||
export interface FAQItem {
|
||||
|
||||
Reference in New Issue
Block a user