Skip to content

Commit

Permalink
fix: replace info icon svg with png
Browse files Browse the repository at this point in the history
Signed-off-by: bunsy-0900 <[email protected]>
  • Loading branch information
bunsy-0900 committed Jan 17, 2024
1 parent 6f00446 commit 894f63b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 8 deletions.
Binary file added signup-ui/src/assets/png/info-38-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions signup-ui/src/components/ui/icons.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import * as React from "react";

import InfoPng from "~assets/png/info-38-2.png";
import { ReactComponent as ArrowLeft } from "~assets/svg/arrow-left.svg";
import { ReactComponent as Check } from "~assets/svg/check.svg";
import { ReactComponent as ChevronDown } from "~assets/svg/chevron-down.svg";
import { ReactComponent as ChevronUp } from "~assets/svg/chevron-up.svg";
import { ReactComponent as EyeOff } from "~assets/svg/eye-off.svg";
import { ReactComponent as Eye } from "~assets/svg/eye.svg";
import InfoSvg from "~assets/svg/info.svg";
import { ReactComponent as Loader } from "~assets/svg/loader.svg";
import { ReactComponent as X } from "~assets/svg/x.svg";

Expand All @@ -22,7 +22,7 @@ export const Icons = {
HTMLImageElement,
React.ImgHTMLAttributes<HTMLImageElement>
>(({ alt, ...props }, ref) => (
<img ref={ref} src={InfoSvg} alt={alt} {...props} />
<img ref={ref} src={InfoPng} alt={alt} {...props} />
)),
loader: Loader,
arrow: React.forwardRef<SVGSVGElement, React.SVGAttributes<SVGSVGElement>>(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,6 @@ export const ResetPassword = ({ methods, settings }: ResetPasswordProps) => {
<Icons.info
className="m-1 h-4 w-4 cursor-pointer sm:h-3 sm:w-3"
alt="info icon"
width="100%"
height="100%"
/>
}
>
Expand Down
4 changes: 0 additions & 4 deletions signup-ui/src/pages/SignUpPage/AccountSetup/AccountSetup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,6 @@ export const AccountSetup = ({ settings, methods }: AccountSetupProps) => {
<Icons.info
className="m-1 h-4 w-4 cursor-pointer sm:h-3 sm:w-3"
alt="info icon"
width="100%"
height="100%"
/>
}
>
Expand Down Expand Up @@ -236,8 +234,6 @@ export const AccountSetup = ({ settings, methods }: AccountSetupProps) => {
<Icons.info
className="m-1 h-4 w-4 cursor-pointer sm:h-3 sm:w-3"
alt="info icon"
width="100%"
height="100%"
/>
}
>
Expand Down

0 comments on commit 894f63b

Please sign in to comment.