@@ -2,29 +2,250 @@ import React from 'react';
22
33export default function HelpPage ( ) {
44 return (
5- < div className = "help-page" >
6- < h1 > Help & Support </ h1 >
5+ < div className = "app-form" >
6+ < div className = "app-form-header" > HELP & SUPPORT </ div >
7+
78 < div className = "help-content" >
8- < section >
9+ < section className = "help-section" >
910 < h2 > Getting Started</ h2 >
10- < p > Learn how to use the OpenSVM P2P Exchange platform.</ p >
11+ < div className = "help-item" >
12+ < h3 > 🚀 Quick Start Guide</ h3 >
13+ < ol >
14+ < li > Connect your Phantom wallet using the "CONNECT PHANTOM" button</ li >
15+ < li > Ensure you're on Solana Devnet for testing</ li >
16+ < li > Visit the SELL page to create offers for selling SOL</ li >
17+ < li > Visit the BUY page to browse and accept existing offers</ li >
18+ < li > Track your trades in the ANALYTICS section</ li >
19+ </ ol >
20+ </ div >
21+
22+ < div className = "help-item" >
23+ < h3 > 📱 Wallet Requirements</ h3 >
24+ < ul >
25+ < li > Phantom wallet browser extension or mobile app</ li >
26+ < li > SOL balance for trading (devnet SOL for testing)</ li >
27+ < li > Network set to Solana Devnet</ li >
28+ </ ul >
29+ </ div >
1130 </ section >
1231
13- < section >
32+ < section className = "help-section" >
1433 < h2 > Trading Guide</ h2 >
15- < p > Step-by-step instructions for buying and selling SOL.</ p >
34+ < div className = "help-item" >
35+ < h3 > 💰 Creating a Sell Offer</ h3 >
36+ < ol >
37+ < li > Navigate to the SELL page</ li >
38+ < li > Enter the amount of SOL you want to sell</ li >
39+ < li > Select your preferred fiat currency (100+ supported)</ li >
40+ < li > Choose a payment method (bank transfer, digital wallets, etc.)</ li >
41+ < li > Review and confirm your offer</ li >
42+ < li > Your SOL will be locked in escrow until trade completion</ li >
43+ </ ol >
44+ </ div >
45+
46+ < div className = "help-item" >
47+ < h3 > 🛒 Accepting a Buy Offer</ h3 >
48+ < ol >
49+ < li > Browse offers on the BUY page</ li >
50+ < li > Filter by currency, payment method, or amount</ li >
51+ < li > Click "Accept" on an offer that matches your needs</ li >
52+ < li > Follow the payment instructions provided by the seller</ li >
53+ < li > Confirm payment completion to receive your SOL</ li >
54+ </ ol >
55+ </ div >
56+
57+ < div className = "help-item" >
58+ < h3 > ⚖️ Dispute Resolution</ h3 >
59+ < p > If issues arise during a trade:</ p >
60+ < ul >
61+ < li > Navigate to the DISPUTES page</ li >
62+ < li > File a dispute with detailed evidence</ li >
63+ < li > Community voting determines the outcome</ li >
64+ < li > Fair resolution protects both buyers and sellers</ li >
65+ </ ul >
66+ </ div >
1667 </ section >
1768
18- < section >
19- < h2 > FAQ</ h2 >
20- < p > Frequently asked questions and answers.</ p >
69+ < section className = "help-section" >
70+ < h2 > Frequently Asked Questions</ h2 >
71+ < div className = "help-item" >
72+ < h3 > ❓ Common Questions</ h3 >
73+ < div className = "faq-item" >
74+ < strong > Q: What is Solana Devnet?</ strong >
75+ < p > A: Devnet is Solana's development network for testing. It uses test SOL with no real value.</ p >
76+ </ div >
77+
78+ < div className = "faq-item" >
79+ < strong > Q: How do I get devnet SOL for testing?</ strong >
80+ < p > A: Use a Solana devnet faucet or contact the development team.</ p >
81+ </ div >
82+
83+ < div className = "faq-item" >
84+ < strong > Q: Are my funds safe in escrow?</ strong >
85+ < p > A: Yes, funds are held by audited smart contracts until trade completion.</ p >
86+ </ div >
87+
88+ < div className = "faq-item" >
89+ < strong > Q: What payment methods are supported?</ strong >
90+ < p > A: 100+ currencies with local payment options including bank transfers, digital wallets, and mobile payments.</ p >
91+ </ div >
92+
93+ < div className = "faq-item" >
94+ < strong > Q: How long do trades take?</ strong >
95+ < p > A: Most trades complete within 15-30 minutes depending on payment method.</ p >
96+ </ div >
97+ </ div >
2198 </ section >
2299
23- < section >
100+ < section className = "help-section" >
101+ < h2 > Technical Information</ h2 >
102+ < div className = "help-item" >
103+ < h3 > 🔧 Smart Contract Details</ h3 >
104+ < ul >
105+ < li > < strong > Program ID:</ strong > AqSnWdAnJgdnHzXpUApk9ctPUhaLiikNrrgecbm3YH2k</ li >
106+ < li > < strong > Network:</ strong > Solana Devnet</ li >
107+ < li > < strong > Explorer:</ strong > < a href = "https://explorer.solana.com/address/AqSnWdAnJgdnHzXpUApk9ctPUhaLiikNrrgecbm3YH2k?cluster=devnet" target = "_blank" rel = "noopener noreferrer" > View on Solana Explorer</ a > </ li >
108+ < li > < strong > Framework:</ strong > Anchor 0.31.1</ li >
109+ </ ul >
110+ </ div >
111+
112+ < div className = "help-item" >
113+ < h3 > 🌐 Supported Networks</ h3 >
114+ < p > OpenSVM P2P Exchange supports multiple Solana Virtual Machine networks:</ p >
115+ < ul >
116+ < li > Solana (Primary)</ li >
117+ < li > Sonic</ li >
118+ < li > Eclipse</ li >
119+ < li > svmBNB</ li >
120+ < li > s00n</ li >
121+ </ ul >
122+ </ div >
123+ </ section >
124+
125+ < section className = "help-section" >
24126 < h2 > Contact Support</ h2 >
25- < p > Get in touch with our support team for assistance.</ p >
127+ < div className = "help-item" >
128+ < h3 > 📞 Get Help</ h3 >
129+ < p > Need additional assistance? Our support team is here to help:</ p >
130+ < ul >
131+ < li > < strong > GitHub Issues:</ strong > Report bugs or request features</ li >
132+ < li > < strong > Community Discord:</ strong > Join our developer community</ li >
133+ < li > < strong > Documentation:</ strong > Comprehensive guides and API reference</ li >
134+ </ ul >
135+
136+ < div className = "support-notice" >
137+ < p > < strong > ⚠️ Development Notice:</ strong > This is a development version running on Solana Devnet. Do not use real funds.</ p >
138+ </ div >
139+ </ div >
26140 </ section >
27141 </ div >
142+
143+ < style jsx > { `
144+ .help-content {
145+ display: flex;
146+ flex-direction: column;
147+ gap: var(--spacing-6, 24px);
148+ }
149+
150+ .help-section {
151+ background-color: var(--card-bg);
152+ border: var(--border-width, 1px) solid var(--border-color);
153+ border-radius: var(--border-radius, 0px);
154+ padding: var(--spacing-4, 16px);
155+ }
156+
157+ .help-section h2 {
158+ color: var(--text-primary);
159+ font-size: var(--font-size-lg, 16px);
160+ font-weight: var(--font-weight-bold, 700);
161+ margin-bottom: var(--spacing-3, 12px);
162+ border-bottom: var(--border-width, 1px) solid var(--border-color);
163+ padding-bottom: var(--spacing-2, 8px);
164+ }
165+
166+ .help-item {
167+ margin-bottom: var(--spacing-4, 16px);
168+ }
169+
170+ .help-item:last-child {
171+ margin-bottom: 0;
172+ }
173+
174+ .help-item h3 {
175+ color: var(--text-primary);
176+ font-size: var(--font-size-base, 14px);
177+ font-weight: var(--font-weight-medium, 500);
178+ margin-bottom: var(--spacing-2, 8px);
179+ }
180+
181+ .help-item p,
182+ .help-item li {
183+ color: var(--text-secondary);
184+ font-size: var(--font-size-sm, 12px);
185+ line-height: 1.5;
186+ }
187+
188+ .help-item ul,
189+ .help-item ol {
190+ margin: var(--spacing-2, 8px) 0;
191+ padding-left: var(--spacing-4, 16px);
192+ }
193+
194+ .help-item li {
195+ margin-bottom: var(--spacing-1, 4px);
196+ }
197+
198+ .faq-item {
199+ margin-bottom: var(--spacing-3, 12px);
200+ padding: var(--spacing-3, 12px);
201+ background-color: var(--secondary-bg);
202+ border-radius: var(--border-radius, 0px);
203+ }
204+
205+ .faq-item strong {
206+ color: var(--text-primary);
207+ display: block;
208+ margin-bottom: var(--spacing-1, 4px);
209+ }
210+
211+ .faq-item p {
212+ margin: 0;
213+ }
214+
215+ .support-notice {
216+ margin-top: var(--spacing-4, 16px);
217+ padding: var(--spacing-3, 12px);
218+ background-color: var(--secondary-bg);
219+ border: var(--border-width, 1px) solid var(--warning-color);
220+ border-radius: var(--border-radius, 0px);
221+ }
222+
223+ .support-notice p {
224+ margin: 0;
225+ color: var(--warning-color);
226+ font-weight: var(--font-weight-medium, 500);
227+ }
228+
229+ a {
230+ color: var(--accent-color);
231+ text-decoration: underline;
232+ }
233+
234+ a:hover {
235+ color: var(--text-primary);
236+ }
237+
238+ @media (max-width: 768px) {
239+ .help-section {
240+ padding: var(--spacing-3, 12px);
241+ }
242+
243+ .help-item ul,
244+ .help-item ol {
245+ padding-left: var(--spacing-3, 12px);
246+ }
247+ }
248+ ` } </ style >
28249 </ div >
29250 ) ;
30251}
0 commit comments