diff --git a/public/assets/key.svg b/public/assets/key.svg new file mode 100644 index 00000000..b4aef876 --- /dev/null +++ b/public/assets/key.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/components/toggle/Eye.css b/src/components/toggle/Eye.css index ba05d608..7baad067 100644 --- a/src/components/toggle/Eye.css +++ b/src/components/toggle/Eye.css @@ -13,7 +13,7 @@ background-image: url("../../img/eye.svg"); } .Eye:not(.checked):after { - background-image: url("../../img/eye-closed.svg"); + background-image: url("../../img/eye-slash.svg"); } .Eye:after { diff --git a/src/img/eye-closed.svg b/src/img/eye-closed.svg deleted file mode 100644 index 2c826d1e..00000000 --- a/src/img/eye-closed.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/src/img/eye-slash.svg b/src/img/eye-slash.svg new file mode 100644 index 00000000..2d3ea73c --- /dev/null +++ b/src/img/eye-slash.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/img/eye.svg b/src/img/eye.svg index d7de87cc..6dba537c 100644 --- a/src/img/eye.svg +++ b/src/img/eye.svg @@ -1,4 +1,4 @@ - - - + + + diff --git a/src/loc/secrets/SecretsButton.css b/src/loc/secrets/SecretsButton.css new file mode 100644 index 00000000..7ce12cdd --- /dev/null +++ b/src/loc/secrets/SecretsButton.css @@ -0,0 +1,3 @@ +.SecretsButton img { + margin-right: 10px; +} diff --git a/src/loc/secrets/SecretsButton.tsx b/src/loc/secrets/SecretsButton.tsx index 019235d2..2eb6a2da 100644 --- a/src/loc/secrets/SecretsButton.tsx +++ b/src/loc/secrets/SecretsButton.tsx @@ -2,6 +2,8 @@ import Button from "../../common/Button"; import { useNavigate } from "react-router-dom"; import { secretsPath } from "../../wallet-user/UserPaths"; import { useLocContext } from "../LocContext"; +import Icon from "../../common/Icon"; +import "./SecretsButton.css"; export default function SecretsButton() { const { loc } = useLocContext(); @@ -11,7 +13,9 @@ export default function SecretsButton() { } return ( - { props.value } } - { hidden && ****** } + { hidden && •••••• }