feat: show trainer's groups on profile from schedule data

- Extract classes from schedule matching trainer name
- Group by type+time+location, combine days (e.g. ПН, СР)
- Display as horizontal scroll cards with time, location, level
- Show recruiting badge and address (without city prefix)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-15 16:35:17 +03:00
parent ce033074cd
commit 4f92057411
3 changed files with 66 additions and 9 deletions

View File

@@ -27,7 +27,7 @@ export default function HomePage() {
locations: content.schedule.locations.length,
}}
/>
<Team data={content.team} />
<Team data={content.team} schedule={content.schedule.locations} />
<Classes data={content.classes} />
<Schedule data={content.schedule} classItems={content.classes.items} />
<Pricing data={content.pricing} />