Skip to content

Commit

Permalink
feat(UpcomingDepartures): Remove clock from live header (#2114)
Browse files Browse the repository at this point in the history
  • Loading branch information
kotva006 authored Jun 26, 2024
1 parent 76245a9 commit 70287ee
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 17 deletions.
5 changes: 0 additions & 5 deletions assets/css/_icons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -279,11 +279,6 @@ a {
text-transform: uppercase;
}

.c-svg__icon-live-clock {
height: $base-spacing * .6;
width: $base-spacing * .6;
}

.c-icon__cr-zone {
border: solid $border-width $brand-commuter-rail;
border-radius: $space-4;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { get, isEmpty } from "lodash";
import { DirectionId, Route } from "../../../../__v3api";
import Loading from "../../../../components/Loading";
import { caret, modeIcon } from "../../../../helpers/icon";
import liveClockSvg from "../../../../../../priv/static/icon-svg/icon-live-clock.svg";
import {
timeForCommuterRail,
trackForCommuterRail,
Expand Down Expand Up @@ -268,11 +267,6 @@ const UpcomingDeparturesHeader = (
<h3>Upcoming Departures</h3>
<span className="schedule-table__live-clock" aria-hidden>
<span className="icon-realtime animate notranslate">
<span
className="c-svg__icon-live-clock"
// eslint-disable-next-line react/no-danger
dangerouslySetInnerHTML={{ __html: liveClockSvg }}
/>
<span className="icon-realtime-text">live</span>
</span>
</span>
Expand Down
6 changes: 0 additions & 6 deletions priv/static/icon-svg/icon-live-clock.svg

This file was deleted.

0 comments on commit 70287ee

Please sign in to comment.