Skip to content

Commit

Permalink
fix: app icon
Browse files Browse the repository at this point in the history
  • Loading branch information
martonlederer committed Jan 7, 2023
1 parent fc876ae commit ed40480
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ export { default as useActiveAddress, usePublicKey } from "./hooks/active_addres
export { default as useAddresses, useWalletNames } from "./hooks/addresses";
export { default as useConnection } from "./hooks/connection";
export { ArConnectKit } from "./components/Provider";
export { default as useApi } from "./hooks/api";
export { useStrategy } from "./hooks/strategy";
8 changes: 5 additions & 3 deletions src/modals/Connect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export function ConnectModal() {
<Connecting>
<WalletData>
<AppIcon colorTheme={strategyData?.theme}>
<Logo src={strategyData?.logo} />
<Logo src={`${gateway}/${strategyData?.logo}`} />
</AppIcon>
{(strategyAvailable && (
<>
Expand Down Expand Up @@ -236,13 +236,16 @@ const Connecting = styled.div`

const WalletData = styled.div`
position: absolute;
display: flex;
flex-direction: column;
align-items: center;
top: 45%;
left: 50%;
width: 70%;
transform: translate(-50%, -50%);
${AppIcon} {
margin: 0 auto .65rem;
margin-bottom: .65rem;
}
${Title} {
Expand All @@ -257,7 +260,6 @@ const WalletData = styled.div`
}
${Button} {
margin: 0 auto;
margin-top: 1rem;
}
`;
Expand Down

0 comments on commit ed40480

Please sign in to comment.