added skiing
This commit is contained in:
@@ -61,6 +61,7 @@
|
||||
{ value: 'hiking', label: '🥾 Hiking' },
|
||||
{ value: 'walking', label: '🚶 Walking' },
|
||||
{ value: 'swimming', label: '🏊 Swimming' },
|
||||
{ value: 'skiing', label: '⛷️ Skiing' },
|
||||
{ value: 'other', label: '⚡ Other' },
|
||||
];
|
||||
</script>
|
||||
|
||||
@@ -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',
|
||||
};
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user