feat: structured victories/education with photos, links, and editorial profile layout
- Add VictoryItem type (place, category, competition, location, date, image, link) - Add RichListItem type for education with image/link support - Backward-compatible DB parsing for old string[] formats - Admin forms with structured fields and image upload per item - Victory/education cards with photo overlay and lightbox - Remove max-width constraint from trainer profile for full-width layout Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -7,6 +7,22 @@ export interface ClassItem {
|
||||
color?: string;
|
||||
}
|
||||
|
||||
export interface RichListItem {
|
||||
text: string;
|
||||
image?: string;
|
||||
link?: string;
|
||||
}
|
||||
|
||||
export interface VictoryItem {
|
||||
place: string;
|
||||
category: string;
|
||||
competition: string;
|
||||
location?: string;
|
||||
date?: string;
|
||||
image?: string;
|
||||
link?: string;
|
||||
}
|
||||
|
||||
export interface TeamMember {
|
||||
name: string;
|
||||
role: string;
|
||||
@@ -14,8 +30,8 @@ export interface TeamMember {
|
||||
instagram?: string;
|
||||
description?: string;
|
||||
experience?: string[];
|
||||
victories?: string[];
|
||||
education?: string[];
|
||||
victories?: VictoryItem[];
|
||||
education?: RichListItem[];
|
||||
}
|
||||
|
||||
export interface FAQItem {
|
||||
|
||||
Reference in New Issue
Block a user