Skip to content

Commit

Permalink
Merge pull request #187 from OneBusAway/add-tram-icon-to-trip-modal
Browse files Browse the repository at this point in the history
Add tram icon
  • Loading branch information
aaronbrethorst authored Feb 22, 2025
2 parents 57a49d4 + af4c274 commit 6368f95
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/trip-planner/LegDetails.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
faRulerCombined,
faClock,
faArrowRight,
faArrowAltCircleRight
faArrowAltCircleRight,
faTram
} from '@fortawesome/free-solid-svg-icons';
import { FontAwesomeIcon } from '@fortawesome/svelte-fontawesome';
import { t } from 'svelte-i18n';
Expand Down Expand Up @@ -47,6 +48,10 @@
icon = faTrainSubway;
iconColor = 'text-red-600';
break;
case 'TRAM':
icon = faTram;
iconColor = 'text-orange-500';
break;
default:
icon = null;
}
Expand Down

0 comments on commit 6368f95

Please sign in to comment.