@@ -3,18 +3,18 @@ import { Fragment, useMemo } from 'react';
3
3
import Image from 'next/image' ;
4
4
import Link from 'next/link' ;
5
5
import { useTranslations } from 'next-intl' ;
6
- import { usePostHog } from 'posthog-js/react' ;
6
+ // import { usePostHog } from 'posthog-js/react';
7
7
import bgImgData from '@/assets/images/wallet-bg.webp' ;
8
8
import phoneImgData from '@/assets/images/wallet-iphone-screenshot.webp' ;
9
9
import { Container } from '@/components/ui/container' ;
10
10
import { RatingBadge } from '@/components/ui/rating-badge' ;
11
11
import { Text } from '@/components/ui/text' ;
12
- import {
13
- WalletDownloadButton ,
14
- WalletDownloadWithQrButton ,
15
- } from '@/components/ui/wallet-download-button' ;
16
- import { WALLET_LINK_APPLE , WALLET_LINK_GOOGLE } from '@/constants' ;
17
- import { getDynamicLink } from '@/utils/get-dynamic-link' ;
12
+ // import {
13
+ // WalletDownloadButton,
14
+ // WalletDownloadWithQrButton,
15
+ // } from '@/components/ui/wallet-download-button';
16
+ // import { WALLET_LINK_APPLE, WALLET_LINK_GOOGLE } from '@/constants';
17
+ // import { getDynamicLink } from '@/utils/get-dynamic-link';
18
18
19
19
export function WalletPage ( {
20
20
storeRatings,
@@ -25,31 +25,31 @@ export function WalletPage({
25
25
} ;
26
26
} ) {
27
27
const t = useTranslations ( 'wallet-page' ) ;
28
- const posthog = usePostHog ( ) ;
28
+ // const posthog = usePostHog();
29
29
30
- const { appStoreLink, playMarketLink } = useMemo ( ( ) => {
31
- const distinctId = posthog . get_distinct_id ( ) ;
30
+ // const { appStoreLink, playMarketLink } = useMemo(() => {
31
+ // const distinctId = posthog.get_distinct_id();
32
32
33
- if ( ! distinctId ) {
34
- return {
35
- appStoreLink : WALLET_LINK_APPLE ,
36
- playMarketLink : WALLET_LINK_GOOGLE ,
37
- } ;
38
- }
33
+ // if (!distinctId) {
34
+ // return {
35
+ // appStoreLink: WALLET_LINK_APPLE,
36
+ // playMarketLink: WALLET_LINK_GOOGLE,
37
+ // };
38
+ // }
39
39
40
- return {
41
- appStoreLink : getDynamicLink (
42
- 'https://haqq.network/wallet' ,
43
- distinctId ,
44
- WALLET_LINK_APPLE ,
45
- ) ,
46
- playMarketLink : getDynamicLink (
47
- 'https://haqq.network/wallet' ,
48
- distinctId ,
49
- WALLET_LINK_GOOGLE ,
50
- ) ,
51
- } ;
52
- } , [ posthog ] ) ;
40
+ // return {
41
+ // appStoreLink: getDynamicLink(
42
+ // 'https://haqq.network/wallet',
43
+ // distinctId,
44
+ // WALLET_LINK_APPLE,
45
+ // ),
46
+ // playMarketLink: getDynamicLink(
47
+ // 'https://haqq.network/wallet',
48
+ // distinctId,
49
+ // WALLET_LINK_GOOGLE,
50
+ // ),
51
+ // };
52
+ // }, [posthog]);
53
53
54
54
const content = (
55
55
< Fragment >
@@ -79,7 +79,8 @@ export function WalletPage({
79
79
< RatingBadge rating = { storeRatings . googlePlay } />
80
80
</ div >
81
81
</ div >
82
- < div className = "hidden lg:mt-[24px] lg:flex lg:flex-row lg:flex-wrap lg:gap-[16px]" >
82
+
83
+ { /* <div className="hidden lg:mt-[24px] lg:flex lg:flex-row lg:flex-wrap lg:gap-[16px]">
83
84
<div className="w-fit">
84
85
<Link
85
86
href={appStoreLink}
@@ -119,9 +120,9 @@ export function WalletPage({
119
120
<WalletDownloadButton type="apk" />
120
121
</Link>
121
122
</div>
122
- </ div >
123
+ </div> */ }
123
124
124
- < div className = "mt-[28px] flex flex-col gap-y-[20px] lg:hidden" >
125
+ { /* <div className="mt-[28px] flex flex-col gap-y-[20px] lg:hidden">
125
126
<Link
126
127
href={appStoreLink}
127
128
target="_blank"
@@ -157,7 +158,7 @@ export function WalletPage({
157
158
<WalletDownloadButton type="apk" />
158
159
</Link>
159
160
</div>
160
- </ div >
161
+ </div> */ }
161
162
162
163
< div className = "mt-[24px] text-[13px] leading-[20px] md:text-[16px] lg:text-[#F5F5F580]" >
163
164
You can find more supported wallets{ ' ' }
0 commit comments