-
Notifications
You must be signed in to change notification settings - Fork 33
/
app.config.ts
117 lines (108 loc) · 2.9 KB
/
app.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
/* eslint-disable @typescript-eslint/naming-convention */
/**
* General configuration file.
*/
/**
* Names to identify the coins and hours in case it is not possible to obtain the values
* from the node.
*/
export const CoinIdentifiers = {
fullName: 'Skycoin',
coinName: 'SKY',
HoursName: 'Coin Hours',
HoursNameSingular: 'Coin Hour',
};
/**
* Configuration for the QR codes.
*/
export const QrConfig = {
/**
* Prefix that will be added to the addresses in the QR codes, to identify what coin the address
* is for. Corresponds to the BIP-21 specification.
*/
prefix: 'skycoin:',
};
/**
* Configuration for the generic header. Read the customization docs for more info.
*/
export const HeaderConfig = {
// Set to true for using the generic header, instead of the Skycoin one.
useGenericHeader: false,
genericHeaderUrl: 'https://www.skycoin.com/',
};
/**
* Configuration for the generic footer. Read the customization docs for more info.
*/
export const FooterConfig = {
// Set to true for using the generic footer, instead of the Skycoin one.
useGenericFooter: false,
contactLinks: [
{
url: 'https://www.skycoin.com/',
content: '<i class="fab fa-github"></i>',
} , {
url: 'https://www.skycoin.com/',
content: '<i class="fab fa-telegram"></i>',
} , {
url: 'https://www.skycoin.com/',
content: '<i class="fab fa-twitter"></i>',
} , {
url: 'https://www.skycoin.com/',
content: '<i class="fab fa-youtube"></i>',
} , {
url: 'https://www.skycoin.com/',
content: '<i class="fab fa-discord"></i>',
} , {
url: 'https://www.skycoin.com/',
content: '<i class="fab fa-instagram"></i>',
} , {
url: 'https://www.skycoin.com/',
content: '<i class="fab fa-reddit"></i>',
}
],
};
/**
* Laguage configuration.
*/
export const languageConfig = {
/**
* List of available languages. See the documentation in the assets/i18n folder and the
* LanguageData class (inside the LanguageService file) for more information.
*/
languages: [{
code: 'en',
name: 'English',
iconName: 'en.png'
},
{
code: 'es',
name: 'Español',
iconName: 'es.png'
},
{
code: 'zh',
name: '中文',
iconName: 'zh.png'
}
],
/**
* Code of the default language.
*/
defaultLanguage: 'en'
};
/**
* List with named addresses.
*/
export const namedAddresses = [
{
address: '2iNNt6fm9LszSWe51693BeyNUKX34pPaLx8',
name: 'Binance hot wallet'
}
];
/**
* If the user navigates back or forward with the browser buttons, the app will restore the
* previous data. After that, if the data was saved too long ago (which means that it is older
* than the time defined on this var, in ms), the page will request the data from the server
* again on the background, to refresh the info displayed to the user.
*/
export const dataValidityTime = 60000;