added skiing

This commit is contained in:
Davide Scaini
2026-03-29 10:50:42 +02:00
parent fa4e91b645
commit e71e8783ab
5 changed files with 18 additions and 3 deletions
+2
View File
@@ -53,6 +53,7 @@ const SPORT_ICONS: Record<Sport, string> = {
hiking: '🥾',
walking: '🚶',
swimming: '🏊',
skiing: '⛷️',
other: '⚡',
};
@@ -62,6 +63,7 @@ const SPORT_COLORS: Record<Sport, string> = {
hiking: '#4ade80',
walking: '#a3e635',
swimming: '#38bdf8',
skiing: '#e0f2fe',
other: '#a78bfa',
};
+2 -2
View File
@@ -1,7 +1,7 @@
/** TypeScript types mirroring BAS v1.0 schema. */
export type Sport = "cycling" | "running" | "hiking" | "walking" | "swimming" | "other";
export type SubSport = "road" | "mountain" | "gravel" | "indoor" | "trail" | "track" | null;
export type Sport = "cycling" | "running" | "hiking" | "walking" | "swimming" | "skiing" | "other";
export type SubSport = "road" | "mountain" | "gravel" | "indoor" | "trail" | "track" | "nordic" | null;
export type Privacy = "public" | "blur_start" | "no_gps" | "private";
export interface ActivitySummary {