-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Expand file tree
/
Copy pathindex.tsx
More file actions
69 lines (68 loc) · 2.48 KB
/
Copy pathindex.tsx
File metadata and controls
69 lines (68 loc) · 2.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
import Layout from '@theme/Layout'
import Hero from '@site/src/components/Hero/Hero'
import CardSection from '@site/src/components/CardSection'
import CallToAction from '@site/src/components/CallToAction/CallToAction'
import useDocusaurusContext from '@docusaurus/useDocusaurusContext'
export default function Home(): JSX.Element {
const { siteConfig } = useDocusaurusContext()
return (
<Layout title={'Home'}>
<Hero
title={siteConfig.title}
description={"Build with the world's leading self-custodial crypto wallet."}
/>
<CardSection
colorPalette="purple"
cards={[
{
title: 'SDK',
description:
'Use MetaMask SDK to build onchain dapps. Authenticate users, handle transactions, and interact with contracts across the MetaMask extension and MetaMask Mobile.',
href: '/sdk',
theme: '',
},
{
title: 'Wallet API',
description:
"Use the Wallet API to integrate your dapp with MetaMask. Connect to the MetaMask browser extension and interact with your users' accounts.",
href: '/wallet',
theme: '',
},
{
title: 'Embedded Wallets',
description:
'Use the Embedded Wallets SDK (Web3Auth) to onboard power users and first-time users in seconds via social logins, passkeys, or by integrating your own authentication providers.',
href: 'https://web3auth.io/docs',
theme: '',
},
{
title: 'Snaps',
description:
'Create a custom Snap to extend the functionality of MetaMask. Add support for custom networks, accounts types, and APIs.',
href: '/snaps',
theme: '',
},
{
title: 'Services',
description:
'Use services provided by MetaMask and Infura to optimize essential development tasks and scale your dapp or Snap.',
href: '/services',
theme: '',
},
]}
/>
<CallToAction
title={'Contribute to MetaMask on GitHub'}
description={
'Join the MetaMask developer community and learn how to contribute to the MetaMask project itself.'
}
button={{
label: 'Contribute',
href: 'https://github.com/metamask',
icon: 'github',
external: true,
}}
/>
</Layout>
)
}