Skip to content

Commit

Permalink
Merge pull request polkassembly#652 from polkassembly/fix/kr/identity…
Browse files Browse the repository at this point in the history
…-icon

fix: 🔥 icons size compressed
  • Loading branch information
KanishkaRajputd authored Sep 14, 2023
2 parents eccdd38 + 9bffb2e commit c29dd88
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 12 deletions.
9 changes: 9 additions & 0 deletions public/assets/icons/amount-breakdown-identity.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 2 additions & 8 deletions public/assets/icons/identity.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions src/components/OnchainIdentity/TotalAmountBreakdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import { ESetIdentitySteps, ITxFee } from '.';
import { Button } from 'antd';
import UpArrowIcon from '~assets/icons/up-arrow.svg';
import DownArrowIcon from '~assets/icons/down-arrow.svg';
import IdentityIllustration from '~assets/icons/identity.svg';
import HelperTooltip from '~src/ui-components/HelperTooltip';
import { AmountBreakdownModalIcon } from '~src/ui-components/CustomIcons';

interface Props {
className?: string;
Expand Down Expand Up @@ -53,10 +53,10 @@ const TotalAmountBreakdown = ({ className, txFee, changeStep, perSocialBondFee,

return (
<div className={className}>
<span className='mt-6 flex items-center justify-center'>
<IdentityIllustration />
<span className='-mt-6 flex items-center justify-center text-[350px]'>
<AmountBreakdownModalIcon />
</span>
<ul className='mt-6 flex flex-col gap-2 pl-4 text-sm tracking-[0.001em] text-bodyBlue'>
<ul className='-mt-6 flex flex-col gap-2 pl-4 text-sm tracking-[0.001em] text-bodyBlue'>
<li>Polkadot offers on-chain identities that verify users&apos;s credentials through appointed registrars, instilling greater trust and support. </li>
<li>
Once successfully verified, users receive a green checkmark, symbolising their trusted status. This verified status symbol enhances trustworthiness when requesting funds
Expand Down
7 changes: 7 additions & 0 deletions src/ui-components/CustomIcons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ import CopySVG from '~assets/icons/content-copy.svg';
import CreatePropoosalSVG from '~assets/icons/create-proposal-filled.svg';
import SetIdentitySVG from '~assets/icons/identity-icon.svg';
import ApplayoutIdentitySVG from '~assets/icons/layout-identity.svg';
import AmountBreakdownModalSVG from '~assets/icons/amount-breakdown-identity.svg';

export const DislikeIcon = (props: Partial<CustomIconComponentProps>) => (
<Icon
Expand Down Expand Up @@ -747,6 +748,12 @@ export const SetIdentityIcon = (props: Partial<CustomIconComponentProps>) => (
/>
);

export const AmountBreakdownModalIcon = (props: Partial<CustomIconComponentProps>) => (
<Icon
component={AmountBreakdownModalSVG}
{...props}
/>
);
export const ApplayoutIdentityIcon = (props: Partial<CustomIconComponentProps>) => (
<Icon
component={ApplayoutIdentitySVG}
Expand Down

0 comments on commit c29dd88

Please sign in to comment.