-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsidebar.config.tsx
74 lines (71 loc) · 1.88 KB
/
sidebar.config.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
import {
GuidesIcon,
HomeIcon,
PaymentsIcon,
TransferIcon,
UseCasesIcon,
} from 'public/icons'
import React, { ElementType } from 'react'
export interface SidebarItem {
type: string
icon?: ElementType | React.ReactNode
id: string
redirect?: string,
label: string
children?: SidebarItem[]
}
const sidebar: SidebarItem[] = [
{
type: 'docs',
label: 'Quick Start',
icon: <HomeIcon />,
id: "quick-start"
},
{
type: 'docs',
label: 'Payments',
icon: <PaymentsIcon />,
id: "payments",
redirect: "payments/get-started",
children: [
{ type: "docs", label: "Get started", id: "get-started" },
{ type: "docs", label: "Accepts payments", id: "accept-payments" },
{ type: "docs", label: "Verify payments", id: "verify-payments" },
{ type: "docs", label: "Webhooks", id: "webhooks" },
{ type: "docs", label: "Payment links", id: "payment-links" },
{ type: "docs", label: "Partial payments", id: "partial-payments" },
{ type: "docs", label: "Test payments", id: "make-test-payments" },
],
},
{
type: 'docs',
label: 'Transfers',
icon: <TransferIcon />,
id: "transfers",
children: [
{ type: "docs", label: "Get started", id: "get-started" },
{ type: "docs", label: "Crypto Transfer", id: "crypto-transfers" },
{ type: "docs", label: "Bank Transfer", id: "bank-transfers" },
{ type: "docs", label: "Webhooks", id: "webhooks" },
],
},
{
type: 'docs',
label: 'Use Cases',
icon: <UseCasesIcon />,
id: "use-cases",
redirect: 'use-cases/get-started',
children: [
{ type: 'docs', label: 'Get started', id: 'get-started' },
{ type: 'docs', label: 'Ecommerce', id: 'ecommerce' },
],
},
{
type: 'docs',
label: 'Guides and Tutorials',
icon: <GuidesIcon />,
id: "guides",
children: [],
}
]
export default sidebar