diff --git a/Player_Tracking/afl_player_tracking_and_crowd_monitoring/frontend/client/pages/AFLDashboard.tsx b/Player_Tracking/afl_player_tracking_and_crowd_monitoring/frontend/client/pages/AFLDashboard.tsx index 69041f29..af525141 100644 --- a/Player_Tracking/afl_player_tracking_and_crowd_monitoring/frontend/client/pages/AFLDashboard.tsx +++ b/Player_Tracking/afl_player_tracking_and_crowd_monitoring/frontend/client/pages/AFLDashboard.tsx @@ -166,41 +166,11 @@ const matchEvents = [ ]; const crowdZones = [ - { - zone: "Northern Stand", - capacity: 15000, - current: 13200, - density: 88, - trend: "up", - }, - { - zone: "Southern Stand", - capacity: 12000, - current: 11400, - density: 95, - trend: "stable", - }, - { - zone: "Eastern Wing", - capacity: 8000, - current: 6800, - density: 85, - trend: "down", - }, - { - zone: "Western Wing", - capacity: 8000, - current: 7600, - density: 95, - trend: "up", - }, - { - zone: "Premium Seating", - capacity: 3000, - current: 2850, - density: 95, - trend: "stable", - }, + { zone: "Northern Stand", capacity: 15000, current: 13200, density: 88, trend: "up", avgTimeSpent: 42 }, + { zone: "Southern Stand", capacity: 12000, current: 11400, density: 95, trend: "stable", avgTimeSpent: 38 }, + { zone: "Eastern Wing", capacity: 8000, current: 6800, density: 85, trend: "down", avgTimeSpent: 55 }, + { zone: "Western Wing", capacity: 8000, current: 7600, density: 95, trend: "up", avgTimeSpent: 61 }, + { zone: "Premium Seating", capacity: 3000, current: 2850, density: 95, trend: "stable", avgTimeSpent: 112 }, ]; const safestZone = crowdZones.reduce((min, zone) => zone.density < min.density ? zone : min, crowdZones[0]); @@ -1538,6 +1508,14 @@ Export ID: ${Date.now()}-${Math.random().toString(36).substr(2, 9)} Logout + @@ -1642,7 +1620,6 @@ Export ID: ${Date.now()}-${Math.random().toString(36).substr(2, 9)} - {/* Player Statistics */}
@@ -2109,6 +2086,37 @@ Export ID: ${Date.now()}-${Math.random().toString(36).substr(2, 9)}
+ + + + + Avg Time Spent Per Zone + + + Average minutes visitors spend in each zone + + + +
+ {crowdZones.map((zone, index) => ( +
+ {zone.zone} +
+
+
+
+ + {zone.avgTimeSpent} min + +
+
+ ))} +
+ + {/* Analytics Report Download */} diff --git a/Player_Tracking/afl_player_tracking_and_crowd_monitoring/frontend/client/pages/workspace.code-workspace b/Player_Tracking/afl_player_tracking_and_crowd_monitoring/frontend/client/pages/workspace.code-workspace new file mode 100644 index 00000000..3e70edd4 --- /dev/null +++ b/Player_Tracking/afl_player_tracking_and_crowd_monitoring/frontend/client/pages/workspace.code-workspace @@ -0,0 +1,4 @@ +{ + "folders": [], + "settings": {} +} \ No newline at end of file