Skip to content

Commit

Permalink
Merge pull request #145 from alephium/MaudSimon-mobilewalletlink-5
Browse files Browse the repository at this point in the history
Update mobile wallet links
  • Loading branch information
mvaivre authored Nov 19, 2023
2 parents 4847694 + f168304 commit 090d8fc
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 15 deletions.
2 changes: 1 addition & 1 deletion src/components/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ export default styled(Button)`
? css`
&:hover {
cursor: pointer;
filter: brightness(120%);
box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
opacity: 0.7;
}
`
: css`
Expand Down
12 changes: 2 additions & 10 deletions src/components/PageSectionWallets.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,7 @@ const WalletCard = ({
</WalletTextContainer>
<WalletActions>
{actions.map((a) => (
<ActionButton
key={a.title}
url={a.link}
newTab
disabled={a.disabled}
trackingName={`wallets-section:${a.title}-link`}
>
<ActionButton key={a.title} url={a.link} newTab trackingName={`wallets-section:${a.title}-link`}>
{a.title}
</ActionButton>
))}
Expand Down Expand Up @@ -209,9 +203,7 @@ const WalletActions = styled.div`
margin-bottom: var(--spacing-4);
`

const ActionButton = styled(Button)`
background-color: ${({ theme }) => theme.bgSurface};
`
const ActionButton = styled(Button)``

const ParallaxBackground = styled.div`
position: absolute;
Expand Down
8 changes: 5 additions & 3 deletions src/content/homepage.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,11 @@ walletsSection:
screenshot: ../images/screenshots/mobile.png
color: 'rgb(9, 169, 97)'
actions:
- title: Coming soon
link: ''
disabled: true
- title: Android
link: https://play.google.com/store/apps/details?id=org.alephium.wallet
- title: IOS
link: https://apps.apple.com/us/app/alephium-wallet/id6469043072

ecosystemSection:
title: Ecosystem
subtitle: Growing fast
Expand Down
1 change: 0 additions & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ export const pageQuery = graphql`
actions {
title
link
disabled
}
}
}
Expand Down

0 comments on commit 090d8fc

Please sign in to comment.