mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-25 22:27:32 +00:00
9494521ac7
- Paddle as a plannable tour type: one boat (kayak, canoe, SUP, other), river or lake, a pace that a boat change never overwrites; time is distance over pace - Hand-drawn legs beside routed ones, drawn dotted and labelled as not routed, kept through save, reopen and edits elsewhere - Reverse a tour and close it back to its start, each one undo step - GPX import shows a preview first (line, measures, duplicates, type) and only the confirmation stores the tour - Base maps and overlays per tour type in the planner: hike keeps topo and the via ferrata layer, paddle gets the OpenSeaMap seamark overlay
17 lines
363 B
TypeScript
17 lines
363 B
TypeScript
import { Bike, Footprints, Mountain, Route, Waves, type LucideIcon } from 'lucide-react';
|
|
|
|
export function tourDayRowIcon(type: string): LucideIcon {
|
|
switch (type) {
|
|
case 'hike':
|
|
return Mountain;
|
|
case 'bike':
|
|
return Bike;
|
|
case 'walk':
|
|
return Footprints;
|
|
case 'kayak':
|
|
return Waves;
|
|
default:
|
|
return Route;
|
|
}
|
|
}
|