Skip to content

Commit 6f111a0

Browse files
Copilot0xrinegade
andcommitted
Fix build issues and simplify layout for new landing page
Co-authored-by: 0xrinegade <[email protected]>
1 parent cc93ec2 commit 6f111a0

File tree

11 files changed

+23
-26
lines changed

11 files changed

+23
-26
lines changed

website/apps/nextjs/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
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",

website/apps/nextjs/src/app/[lang]/(dashboard)/dashboard/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { SolanaWalletProvider } from '../../../../../../../../src/sdk/solana-integration';
2+
// import { SolanaWalletProvider } from '../../../../../../../../src/sdk/solana-integration';
33
import { WalletAdapterNetwork } from '@solana/wallet-adapter-base';
44

55
export default function DashboardLayout({

website/apps/nextjs/src/app/[lang]/(dashboard)/dashboard/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { SolanaPayment } from '../../../../../../../../src/sdk/solana-integration';
2+
// import { SolanaPayment } from '../../../../../../../../src/sdk/solana-integration';
33

44
export default function DashboardPage() {
55
// Example recipient address (replace with your own)

website/apps/nextjs/src/app/[lang]/(dashboard)/dashboard/settings/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { SolanaWalletProvider } from '../../../../../../../src/sdk/solana-integration';
2+
// import { SolanaWalletProvider } from '../../../../../../../src/sdk/solana-integration';
33
import { WalletAdapterNetwork } from '@solana/wallet-adapter-base';
44

55
export default function SettingsPage() {

website/apps/nextjs/src/app/[lang]/(docs)/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { SolanaWalletProvider } from '../../../../../../src/sdk/solana-integration';
2+
// import { SolanaWalletProvider } from '../../../../../../src/sdk/solana-integration';
33
import { WalletAdapterNetwork } from '@solana/wallet-adapter-base';
44

55
export default function DocsLayout({

website/apps/nextjs/src/app/[lang]/(editor)/editor/cluster/[clusterId]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { SolanaWalletProvider } from '../../../../../../../../src/sdk/solana-integration';
2+
// import { SolanaWalletProvider } from '../../../../../../../../src/sdk/solana-integration';
33
import { WalletAdapterNetwork } from '@solana/wallet-adapter-base';
44

55
export default function ClusterPage({

website/apps/nextjs/src/app/[lang]/(editor)/editor/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { SolanaWalletProvider } from '../../../../../../../src/sdk/solana-integration';
2+
// import { SolanaWalletProvider } from '../../../../../../../src/sdk/solana-integration';
33
import { WalletAdapterNetwork } from '@solana/wallet-adapter-base';
44

55
export default function EditorLayout({
Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,15 @@
11
import React from 'react';
2-
import { SolanaWalletProvider } from '../../../../../../src/sdk/solana-integration';
3-
import { WalletAdapterNetwork } from '@solana/wallet-adapter-base';
42

53
export 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
}

website/apps/nextjs/src/app/[lang]/(marketing)/pricing/page.tsx

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { SolanaPayment } from '../../../../../../src/sdk/solana-integration';
2+
// import { SolanaPayment } from '../../../../../../src/sdk/solana-integration';
33

44
export 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>

website/apps/nextjs/src/app/admin/(dashboard)/dashboard/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { SolanaWalletProvider } from '../../../../../src/sdk/solana-integration';
2+
// import { SolanaWalletProvider } from '../../../../../src/sdk/solana-integration';
33
import { WalletAdapterNetwork } from '@solana/wallet-adapter-base';
44

55
export default function AdminDashboardLayout({

0 commit comments

Comments
 (0)