Skip to content

Commit f60e1da

Browse files
authored
Merge pull request #354 from CollinsC1O/help-documentation
feat: implement comprehensive help system with tutorials, FAQs, and documentation
2 parents ae3ddbb + 54c5066 commit f60e1da

3 files changed

Lines changed: 372 additions & 0 deletions

File tree

app/src/App.css

Lines changed: 143 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,149 @@ body {
109109
margin: 0 auto;
110110
}
111111

112+
/* -------------------------------------------
113+
Help Center Styles
114+
------------------------------------------- */
115+
.help-center-container {
116+
max-width: 900px;
117+
margin: 0 auto;
118+
}
119+
120+
.help-header {
121+
text-align: center;
122+
margin-bottom: 2.5rem;
123+
}
124+
125+
.help-header h1 {
126+
font-size: 2rem;
127+
margin-bottom: 0.5rem;
128+
color: #1a1a2e;
129+
}
130+
131+
.help-header p {
132+
color: #666;
133+
font-size: 1.1rem;
134+
margin-bottom: 1.5rem;
135+
}
136+
137+
.help-search {
138+
max-width: 600px;
139+
margin: 0 auto;
140+
}
141+
142+
.help-tabs {
143+
display: flex;
144+
gap: 1rem;
145+
margin-bottom: 2rem;
146+
border-bottom: 1px solid #e0e0e0;
147+
}
148+
149+
.help-tab {
150+
background: none;
151+
border: none;
152+
font-size: 1rem;
153+
font-weight: 500;
154+
color: #666;
155+
padding: 0.75rem 1.5rem;
156+
cursor: pointer;
157+
border-bottom: 2px solid transparent;
158+
transition: all 0.2s ease;
159+
}
160+
161+
.help-tab:hover {
162+
color: #1a1a2e;
163+
}
164+
165+
.help-tab-active {
166+
color: #0066cc;
167+
border-bottom-color: #0066cc;
168+
}
169+
170+
.help-section-title {
171+
font-size: 1.5rem;
172+
margin-bottom: 1.5rem;
173+
color: #333;
174+
}
175+
176+
.help-empty-state {
177+
color: #999;
178+
font-style: italic;
179+
text-align: center;
180+
padding: 2rem 0;
181+
}
182+
183+
.faq-grid {
184+
display: flex;
185+
flex-direction: column;
186+
gap: 1rem;
187+
}
188+
189+
.faq-card {
190+
padding: 1.5rem;
191+
}
192+
193+
.faq-q {
194+
font-size: 1.1rem;
195+
margin-bottom: 0.5rem;
196+
color: #1a1a2e;
197+
}
198+
199+
.faq-a {
200+
color: #555;
201+
line-height: 1.5;
202+
}
203+
204+
.tutorials-grid {
205+
display: grid;
206+
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
207+
gap: 1.5rem;
208+
}
209+
210+
.tutorial-card {
211+
display: flex;
212+
flex-direction: column;
213+
}
214+
215+
.tutorial-title {
216+
font-size: 1.1rem;
217+
margin-bottom: 0.5rem;
218+
color: #1a1a2e;
219+
}
220+
221+
.tutorial-desc {
222+
color: #666;
223+
margin-bottom: 1rem;
224+
flex: 1;
225+
}
226+
227+
.tutorial-meta {
228+
display: flex;
229+
justify-content: space-between;
230+
align-items: center;
231+
border-top: 1px solid #f0f0f0;
232+
padding-top: 1rem;
233+
margin-top: 0.5rem;
234+
}
235+
236+
.tutorial-time {
237+
font-size: 0.875rem;
238+
color: #999;
239+
}
240+
241+
.contact-card {
242+
max-width: 600px;
243+
margin: 0 auto;
244+
}
245+
246+
.contact-form {
247+
display: flex;
248+
flex-direction: column;
249+
gap: 1rem;
250+
}
251+
252+
.contact-textarea {
253+
resize: vertical;
254+
min-height: 120px;
112255
/* Page Layouts */
113256
.dashboard-header {
114257
display: flex;

app/src/App.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { NavLink } from 'react-router-dom';
66
import Dashboard from './pages/Dashboard';
77
import TradeDetail from './pages/TradeDetail';
88
import CreateTrade from './pages/CreateTrade';
9+
import Help from './pages/Help';
910
import { ErrorBoundary } from './ErrorBoundary';
1011

1112
export default function App() {
@@ -16,6 +17,9 @@ export default function App() {
1617
<div className="app">
1718
<nav className="nav">
1819
<span className="nav-brand">StellarEscrow</span>
20+
<NavLink to="/" end>Dashboard</NavLink>
21+
<NavLink to="/trades/new">New Trade</NavLink>
22+
<NavLink to="/help">Help</NavLink>
1923
<button
2024
className="nav-mobile-toggle"
2125
onClick={() => setIsMenuOpen(!isMenuOpen)}
@@ -50,6 +54,7 @@ export default function App() {
5054
<Route path="/" element={<Dashboard />} />
5155
<Route path="/trades/new" element={<CreateTrade />} />
5256
<Route path="/trades/:id" element={<TradeDetail />} />
57+
<Route path="/help" element={<Help />} />
5358
</Routes>
5459
</ErrorBoundary>
5560
</Container>

0 commit comments

Comments
 (0)