Improve route statistics

This commit is contained in:
Christoph Hagen
2025-05-02 14:54:41 +02:00
parent 3b2cc75fc3
commit fea06a93b7
9 changed files with 207 additions and 67 deletions

View File

@ -33,6 +33,12 @@ enum PageIcon: String, CaseIterable {
case statisticsEnergy = "energy"
case statisticsStopwatch = "stopwatch"
case statisticsHeart = "heart-pulse"
case statisticsSpeedometer = "speedometer"
// MARK: Buttons
case buttonDownload = "download"
@ -68,6 +74,9 @@ enum PageIcon: String, CaseIterable {
case .statisticsElevationDown: Icon.Statistics.ElevationDown.self
case .statisticsDistance: Icon.Statistics.Distance.self
case .statisticsEnergy: Icon.Statistics.Energy.self
case .statisticsStopwatch: Icon.Statistics.Stopwatch.self
case .statisticsHeart: Icon.Statistics.HeartPulse.self
case .statisticsSpeedometer: Icon.Statistics.Speedometer.self
case .buttonDownload: Icon.ArrowDown.self
case .buttonExternalLink: Icon.ArrowRight.self
case .buttonGitLink: Icon.Git.self
@ -113,11 +122,14 @@ enum PageIcon: String, CaseIterable {
case .audioPlayerPrevious: "Audio Player: Previous"
case .audioPlayerNext: "Audio Player: Next"
case .buttonDownload: "Button: Download"
case .statisticsTime: "Time"
case .statisticsElevationUp: "Elevation Up"
case .statisticsElevationDown: "Elevation Down"
case .statisticsDistance: "Distance"
case .statisticsEnergy: "Energy / Calories"
case .statisticsTime: "Clock (Duration)"
case .statisticsElevationUp: "Arrow Up (Elevation Up)"
case .statisticsElevationDown: "Arrow Down (Elevation Down)"
case .statisticsDistance: "Signpost (Distance)"
case .statisticsEnergy: "Flame (Energy / Calories)"
case .statisticsStopwatch: "Stopwatch (Pace)"
case .statisticsHeart: "Heart Rate"
case .statisticsSpeedometer: "Speedometer (Speed)"
}
}