diff --git a/img/qr-code.svg b/img/qr-code.svg new file mode 100644 index 000000000..70d86b153 --- /dev/null +++ b/img/qr-code.svg @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/components/Login/UsernamePw.tsx b/src/components/Login/UsernamePw.tsx index 77e8fff43..2ed363f44 100644 --- a/src/components/Login/UsernamePw.tsx +++ b/src/components/Login/UsernamePw.tsx @@ -1,6 +1,3 @@ -import { IconProp } from "@fortawesome/fontawesome-svg-core"; -import { faQrcode } from "@fortawesome/free-solid-svg-icons"; -import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { fetchUsernamePassword } from "apis/eduidLogin"; import EduIDButton from "components/Common/EduIDButton"; import TextInput from "components/Common/EduIDTextInput"; @@ -15,6 +12,7 @@ import { Link, useNavigate } from "react-router-dom"; import loginSlice from "slices/Login"; import { clearNotifications } from "slices/Notifications"; import resetPasswordSlice from "slices/ResetPassword"; +import qrCode from "../../../img/qr-code.svg"; import { LoginAbortButton } from "./LoginAbortButton"; import { LoginAtServiceInfo } from "./LoginAtServiceInfo"; import { forgetThisDevice } from "./NewDevice"; @@ -225,7 +223,7 @@ function UsernamePwAnotherDeviceButton(): JSX.Element | null { return ( - + qr icon );