Skip to content

Commit

Permalink
use cdn for footer images
Browse files Browse the repository at this point in the history
  • Loading branch information
lionellbriones committed Feb 21, 2024
1 parent 90e2f0b commit 7e27ed0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 18 deletions.
7 changes: 0 additions & 7 deletions packages/ui/assets/web3auth-logo-dark.svg

This file was deleted.

7 changes: 0 additions & 7 deletions packages/ui/assets/web3auth-logo-light.svg

This file was deleted.

6 changes: 2 additions & 4 deletions packages/ui/src/components/SelfCustodyViaWeb3Auth.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { useTranslation } from "react-i18next";

import Web3AuthLogoDark from "../../assets/web3auth-logo-dark.svg";
import Web3AuthLogoLight from "../../assets/web3auth-logo-light.svg";
import i18n from "../localeImport";

export default function SelfCustodyViaWeb3Auth() {
Expand All @@ -10,8 +8,8 @@ export default function SelfCustodyViaWeb3Auth() {
return (
<div className="flex items-center gap-2 justify-center p-2">
<div className="text-xs text-app-gray-300 dark:text-app-gray-500">{t("modal.footer.message-new")}</div>
<img height="16" src={Web3AuthLogoLight} alt="Web3Auth Logo Light" className="h-4 block dark:hidden" />
<img height="16" src={Web3AuthLogoDark} alt="Web3Auth Logo Dark" className="h-4 hidden dark:block" />
<img height="16" src="https://images.web3auth.io/web3auth-footer-logo-light.svg" alt="Web3Auth Logo Light" className="h-4 block dark:hidden" />
<img height="16" src="https://images.web3auth.io/web3auth-footer-logo-dark.svg" alt="Web3Auth Logo Dark" className="h-4 hidden dark:block" />
</div>
);
}

0 comments on commit 7e27ed0

Please sign in to comment.