@@ -3,7 +3,7 @@ import dynamic from "next/dynamic"
3
3
import { useRouter } from "next/router"
4
4
import { QueryClient , QueryClientProvider } from "@tanstack/react-query"
5
5
6
- import { BasePageProps , Lang } from "@/lib/types"
6
+ import { BasePageProps , Lang , Wallet } from "@/lib/types"
7
7
8
8
import { Image } from "@/components/Image"
9
9
import MainArticle from "@/components/MainArticle"
@@ -15,6 +15,7 @@ import { existsNamespace } from "@/lib/utils/existsNamespace"
15
15
import { getLastDeployDate } from "@/lib/utils/getLastDeployDate"
16
16
import { getLocaleTimestamp } from "@/lib/utils/time"
17
17
import { getRequiredNamespacesForPage } from "@/lib/utils/translations"
18
+ import { getNewToCryptoWallets } from "@/lib/utils/wallets"
18
19
19
20
import { DEFAULT_LOCALE , LOCALES_CODES } from "@/lib/constants"
20
21
@@ -54,16 +55,23 @@ export const getStaticProps = (async ({ params }) => {
54
55
55
56
const messages = await loadNamespaces ( locale as string , requiredNamespaces )
56
57
58
+ const newToCryptoWallets = getNewToCryptoWallets ( )
59
+
57
60
return {
58
61
props : {
59
62
messages,
60
63
contentNotTranslated,
61
64
lastDeployLocaleTimestamp,
65
+ newToCryptoWallets,
62
66
} ,
63
67
}
64
68
} ) satisfies GetStaticProps < BasePageProps >
65
69
66
- const StartWithCryptoPage = ( ) => {
70
+ const StartWithCryptoPage = ( {
71
+ newToCryptoWallets,
72
+ } : {
73
+ newToCryptoWallets : Wallet [ ]
74
+ } ) => {
67
75
const router = useRouter ( )
68
76
69
77
return (
@@ -97,7 +105,7 @@ const StartWithCryptoPage = () => {
97
105
</ div >
98
106
99
107
< div id = "start-with-ethereum-flow" className = "flex flex-col gap-12" >
100
- < StartWithEthereumFlow />
108
+ < StartWithEthereumFlow newToCryptoWallets = { newToCryptoWallets } />
101
109
</ div >
102
110
103
111
< div className = "flex w-full flex-col gap-12 rounded-2xl border border-accent-c/10 bg-gradient-to-t from-accent-c/10 from-20% to-accent-c/5 to-60% px-12 py-16 md:flex-row dark:from-accent-c/20 dark:to-accent-c/10" >
0 commit comments