|
|
@ -8,25 +8,23 @@ export default function PermissionsRedirect ({ domainMetadata }) { |
|
|
|
const t = useContext(I18nContext) |
|
|
|
const t = useContext(I18nContext) |
|
|
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<div className="page-container permissions-redirect-container"> |
|
|
|
<div className="permissions-redirect"> |
|
|
|
<div className="permissions-redirect-container__content"> |
|
|
|
<div className="permissions-redirect__result"> |
|
|
|
<div className="permission-result"> |
|
|
|
|
|
|
|
{ t('connecting') } |
|
|
|
{ t('connecting') } |
|
|
|
<div className="permission-result__icons"> |
|
|
|
<div className="permissions-redirect__result__icons"> |
|
|
|
<IconWithFallBack icon={domainMetadata.icon} name={domainMetadata.name} /> |
|
|
|
<IconWithFallBack icon={domainMetadata.icon} name={domainMetadata.name} /> |
|
|
|
<div className="permission-result__center-icon"> |
|
|
|
<div className="permissions-redirect__result__center-icon"> |
|
|
|
<span className="permission-result__check" /> |
|
|
|
<span className="permissions-redirect__result__check" /> |
|
|
|
{ renderBrokenLine() } |
|
|
|
{ renderBrokenLine() } |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div className="permission-result__identicon-container"> |
|
|
|
<div className="permissions-redirect__result__identicon-container"> |
|
|
|
<div className="permission-result__identicon-border"> |
|
|
|
<div className="permissions-redirect__result__identicon-border"> |
|
|
|
<img src="/images/logo/metamask-fox.svg" /> |
|
|
|
<img src="/images/logo/metamask-fox.svg" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
function renderBrokenLine () { |
|
|
|
function renderBrokenLine () { |
|
|
|