@@ -8,12 +8,9 @@ import {
88 stateIsActive ,
99 stateIsWarning ,
1010} from "~/services/navigation/navState" ;
11- import KeyboardArrowLeft from "@digitalservicebund/icons/KeyboardArrowLeft" ;
12- import SvgWarningAmber from "@digitalservicebund/icons/WarningAmberRounded" ;
1311import { getMobileButtonAreaTitles } from "~/components/navigation/getMobileButtonAreaTitles" ;
1412import classNames from "classnames" ;
1513import { KernIcon } from "../common/KernIcon" ;
16- import { KernStandaloneLink } from "../KernStandaloneLink" ;
1714
1815const DATA_TESTID_STEP_STEPPER_LINK = "step-stepper-link" ;
1916
@@ -39,19 +36,19 @@ const StepStepperLinks = ({
3936 const isWarningStep = stateIsWarning ( step . state ) ;
4037 return (
4138 < div className = "flex flex-row pl-16 pr-0 pb-16" key = { step . label } >
42- < KernStandaloneLink
43- url = { step . href }
39+ < a
40+ href = { step . href }
4441 className = "truncate text-left mw-[70vw]"
45- icon = { < KeyboardArrowLeft className = "inline" /> }
46- text = { `${ translations . navigationMobile . toStep . de } ${ step . label } (${ step . stepIndex } /${ stepsStepper . length } )` }
47- dataTestid = { DATA_TESTID_STEP_STEPPER_LINK }
42+ data-testid = { DATA_TESTID_STEP_STEPPER_LINK }
4843 aria-describedby = { isWarningStep ? step . href : undefined }
49- />
44+ >
45+ < KernIcon name = "chevron-left" className = "inline" />
46+ { `${ translations . navigationMobile . toStep . de } ${ step . label } (${ step . stepIndex } /${ stepsStepper . length } )` }
47+ </ a >
5048 { isWarningStep && (
51- < SvgWarningAmber
52- data-testid = "icon-warning"
53- className = "pl-2"
54- id = { step . href }
49+ < KernIcon
50+ name = "warning"
51+ className = "pl-2 fill-kern-feedback-warning!"
5552 aria-label = { translations . navigation . navigationItemWarning . de }
5653 />
5754 ) }
0 commit comments