File tree Expand file tree Collapse file tree 11 files changed +23
-26
lines changed
admin/(dashboard)/dashboard Expand file tree Collapse file tree 11 files changed +23
-26
lines changed Original file line number Diff line number Diff line change 4040 "framer-motion" : " 11.0.3" ,
4141 "negotiator" : " 0.6.3" ,
4242 "next" : " 15.3.0" ,
43+ "next-auth" : " ^4.24.11" ,
4344 "next-themes" : " 0.2.1" ,
4445 "posthog-js" : " 1.105.0" ,
4546 "posthog-node" : " 3.6.2" ,
Original file line number Diff line number Diff line change 11import React from 'react' ;
2- import { SolanaWalletProvider } from '../../../../../../../../src/sdk/solana-integration' ;
2+ // import { SolanaWalletProvider } from '../../../../../../../../src/sdk/solana-integration';
33import { WalletAdapterNetwork } from '@solana/wallet-adapter-base' ;
44
55export default function DashboardLayout ( {
Original file line number Diff line number Diff line change 11import React from 'react' ;
2- import { SolanaPayment } from '../../../../../../../../src/sdk/solana-integration' ;
2+ // import { SolanaPayment } from '../../../../../../../../src/sdk/solana-integration';
33
44export default function DashboardPage ( ) {
55 // Example recipient address (replace with your own)
Original file line number Diff line number Diff line change 11import React from 'react' ;
2- import { SolanaWalletProvider } from '../../../../../../../src/sdk/solana-integration' ;
2+ // import { SolanaWalletProvider } from '../../../../../../../src/sdk/solana-integration';
33import { WalletAdapterNetwork } from '@solana/wallet-adapter-base' ;
44
55export default function SettingsPage ( ) {
Original file line number Diff line number Diff line change 11import React from 'react' ;
2- import { SolanaWalletProvider } from '../../../../../../src/sdk/solana-integration' ;
2+ // import { SolanaWalletProvider } from '../../../../../../src/sdk/solana-integration';
33import { WalletAdapterNetwork } from '@solana/wallet-adapter-base' ;
44
55export default function DocsLayout ( {
Original file line number Diff line number Diff line change 11import React from 'react' ;
2- import { SolanaWalletProvider } from '../../../../../../../../src/sdk/solana-integration' ;
2+ // import { SolanaWalletProvider } from '../../../../../../../../src/sdk/solana-integration';
33import { WalletAdapterNetwork } from '@solana/wallet-adapter-base' ;
44
55export default function ClusterPage ( {
Original file line number Diff line number Diff line change 11import React from 'react' ;
2- import { SolanaWalletProvider } from '../../../../../../../src/sdk/solana-integration' ;
2+ // import { SolanaWalletProvider } from '../../../../../../../src/sdk/solana-integration';
33import { WalletAdapterNetwork } from '@solana/wallet-adapter-base' ;
44
55export default function EditorLayout ( {
Original file line number Diff line number Diff line change 11import React from 'react' ;
2- import { SolanaWalletProvider } from '../../../../../../src/sdk/solana-integration' ;
3- import { WalletAdapterNetwork } from '@solana/wallet-adapter-base' ;
42
53export default function MarketingLayout ( {
64 children,
75} : {
86 children : React . ReactNode ;
97} ) {
10- // Replace with your WalletConnect project ID
11- const projectId = process . env . NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID || 'YOUR_PROJECT_ID' ;
12-
138 return (
14- < SolanaWalletProvider
15- projectId = { projectId }
16- network = { WalletAdapterNetwork . Mainnet }
17- >
18- < div className = "flex min-h-screen flex-col" >
19- < div className = "container flex-1" >
20- { children }
21- </ div >
9+ < div className = "flex min-h-screen flex-col" >
10+ < div className = "container flex-1" >
11+ { children }
2212 </ div >
23- </ SolanaWalletProvider >
13+ </ div >
2414 ) ;
2515}
Original file line number Diff line number Diff line change 11import React from 'react' ;
2- import { SolanaPayment } from '../../../../../../src/sdk/solana-integration' ;
2+ // import { SolanaPayment } from '../../../../../../src/sdk/solana-integration';
33
44export default function PricingPage ( ) {
55 // Example recipient address (replace with your own)
@@ -34,10 +34,13 @@ export default function PricingPage() {
3434 </ ul >
3535 </ div >
3636 < div className = "mt-8" >
37- < SolanaPayment
37+ { /* <SolanaPayment
3838 amount={0.1}
3939 recipientAddress={recipientAddress}
40- />
40+ /> */ }
41+ < div className = "text-center text-muted-foreground" >
42+ Payment integration coming soon
43+ </ div >
4144 </ div >
4245 </ div >
4346
@@ -64,10 +67,13 @@ export default function PricingPage() {
6467 </ ul >
6568 </ div >
6669 < div className = "mt-8" >
67- < SolanaPayment
70+ { /* <SolanaPayment
6871 amount={0.5}
6972 recipientAddress={recipientAddress}
70- />
73+ /> */ }
74+ < div className = "text-center text-muted-foreground" >
75+ Payment integration coming soon
76+ </ div >
7177 </ div >
7278 </ div >
7379 </ div >
Original file line number Diff line number Diff line change 11import React from 'react' ;
2- import { SolanaWalletProvider } from '../../../../../src/sdk/solana-integration' ;
2+ // import { SolanaWalletProvider } from '../../../../../src/sdk/solana-integration';
33import { WalletAdapterNetwork } from '@solana/wallet-adapter-base' ;
44
55export default function AdminDashboardLayout ( {
You can’t perform that action at this time.
0 commit comments