diff --git a/src/components/sections/Schedule.tsx b/src/components/sections/Schedule.tsx index 19e531d..ae6979c 100644 --- a/src/components/sections/Schedule.tsx +++ b/src/components/sections/Schedule.tsx @@ -169,9 +169,9 @@ export function Schedule() { - {/* Compact filters — scrollable on mobile */} + {/* Compact filters — desktop only */} -
+
{/* Class types */} {types.map((type) => (
- {/* Mobile: compact agenda list */} + {/* Mobile: compact agenda list with tap-to-filter */}
+ {/* Active filter indicator */} + {hasActiveFilter && ( +
+
+ {filterTrainer && ( + + + {filterTrainer} + + )} + {filterType && ( + + + {filterType} + + )} +
+ +
+ )} + {filteredDays.length > 0 ? (
{filteredDays.map((day) => ( @@ -280,12 +307,15 @@ export function Schedule() { {cls.time} - {/* Info */} + {/* Info — tappable trainer & type */}
- + {cls.hasSlots && ( места @@ -302,10 +332,13 @@ export function Schedule() { )}
-
+
+ {cls.type} +
))}