forked from Web3ID/web3id
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.ts
138 lines (132 loc) · 2.84 KB
/
config.ts
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
import { FooterCategory } from "@components/Footer";
import type { AuthorData } from "@schema/blog";
import type { AuthorLearnData } from "@schema/learn";
export const isProduction = process.env.NODE_ENV === "production";
export const API_ENDPOINT = isProduction
? "https://www.api.w3b.my.id"
: "http://127.0.0.1:3001";
export const CDN_ENDPOINT = "https://cdn.discordapp.com";
export const footer: FooterCategory[] = [
{
title: "Product",
items: [
{
label: "Blog",
href: "/blog/",
},
{
label: "Docs",
href: "/docs/",
},
{
label: "Learn",
href: "/learn/",
},
],
},
{
title: "Support",
items: [
{
label: "GitHub",
href: "https://github.com/Web3ID",
newWindow: true,
},
{
label: "Twitter",
href: "https://twitter.com/Web3IDN",
newWindow: true,
},
{
label: "Patreon",
href: "https://www.patreon.com/Web3ID",
newWindow: true,
},
],
},
{
title: "Community",
items: [
{
label: "BlockdevID",
href: "https://blockdev.id/",
newWindow: true,
},
{
label: "CoindeskID",
href: "https://www.coindesk.id/",
newWindow: true,
},
{
label: "Coinvestasi",
href: "https://coinvestasi.com/",
newWindow: true,
},
{
label: "Cryptoiz",
href: "https://cryptoizresearch.com/",
newWindow: true,
},
],
},
{
title: "Others",
items: [
{
label: "About",
href: "/about/",
},
{
label: "Privacy",
href: "/privacy/",
},
{
label: "Terms",
href: "/terms/",
},
],
},
];
/**
* a list of blog file names
*/
export const blogRecommendations = [
"welcome-to-web3id",
"apa-itu-web3",
"apa-itu-nft",
"apa-itu-metaverse",
];
/**
* a list of learning path file names
*/
export const learnRecommendations = [
"freshman",
];
export const blogAuthors: Record<string, AuthorData> = {
abrahamyusuf: {
name: "Abraham Yusuf",
title: "Web3 Dev and Blockchain Enthusiast at @Web3IDN",
url: "https://github.com/abraham-yusuf",
image_url: "/blog/abraham-yusuf.png",
},
yourname: {
name: "your name",
title: "your title",
url: "https://github.com/your-git",
image_url: "/blog/your-pics.png",
},
others: {
name: "Others contributors",
title: "This title",
url: "https://github.com/this-git",
image_url: "/blog/this-image.jpg",
},
};
export const learnAuthors: Record<string, AuthorLearnData> = {
abrahamyusuf: {
name: "Abraham Yusuf",
title: "Web3 Dev and Blockchain Enthusiast at @Web3IDN",
url: "https://github.com/abraham-yusuf",
image_url: "/blog/abraham-yusuf.png",
},
};