Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified docs/images/overviewHeader.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/overviewHeaderMobile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
79 changes: 50 additions & 29 deletions docs/pages/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,40 +4,61 @@ description: Build zero-friction user onboarding and transactions end-to-end wit
slug: wallets
---

<img src="/images/wallets/overviewHeader.png" alt="smart wallets overview" />
<style>{`
.fern-card {
font-size: 14px;
}

<div
style={{
display: "flex",
justifyContent: "center",
marginBottom: "2rem",
gap: "1.5rem",
}}
>
<Button
/* Responsive hero images */
.hero-image-desktop {
display: block;
width: 100%;
height: auto;
max-width: 1010px;
margin: 0 auto;
}

.hero-image-mobile {
display: none;
width: 100%;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't recommend width: 100% here. since it's a vertical image, scaling it horizontally makes it huge. Also gets very pixelated. So I'd also use something higher res
image

height: auto;
margin: 0 auto;
}

@media (max-width: 768px) {
.hero-image-desktop {
display: none;
}

.hero-image-mobile {
display: block;
}
}
`}</style>

<img src="/images/wallets/overviewHeader.png" alt="smart wallets overview" className="hero-image-desktop" />
<img src="/images/wallets/overviewHeaderMobile.png" alt="smart wallets overview" className="hero-image-mobile" />

<CardGroup cols={2}>
<Card
title="React Quickstart"
icon="bolt"
iconPosition="left"
style={{ textAlign: "left", alignItems: "flex-start" }}
href="/wallets/react/quickstart"
style={{
backgroundColor: "var(--accent-2, #ECF3FF)",
padding: "2rem",
fontSize: "1rem",
}}
>
React Quickstart
</Button>
<Button
>
Build an onchain app from scratch with wallets and transactions.
</Card>
<Card
title="Try our demo"
icon="fa-regular fa-play"
iconPosition="left"
style={{ textAlign: "left", alignItems: "flex-start" }}
href="https://demo.alchemy.com/"
style={{
backgroundColor: "#363FF9",
color: "white",
padding: "2rem 2rem",
fontSize: "1rem",
}}
>
Try our demo
</Button>
</div>
>
See Alchemy Smart Wallets in action with our interactive demo.
</Card>
</CardGroup>

## Everything you need for onchain applications

Expand Down
Loading