-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfakeData.ts
52 lines (48 loc) · 1.8 KB
/
fakeData.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
import { getRelativePath } from './utils';
export const discounts = [
{
cover: getRelativePath('/static/cover_comebuy.png'),
storeName: 'Comebuy',
discountText: '20% off on bubble tea',
qrcode: getRelativePath('/static/qrcode_comebuy.png'),
},
{
cover: getRelativePath('/static/cover_moleskine.jpeg'),
storeName: 'Moleskine',
discountText: '5% off on classic notebook',
qrcode: getRelativePath('/static/qrcode_moleskine.png'),
},
{
cover: getRelativePath('/static/cover_ikea.jpeg'),
storeName: 'Ikea',
discountText: '10% off on food',
qrcode: getRelativePath('/static/qrcode_ikea.png'),
},
{
cover: getRelativePath('/static/cover_starbucks.jpeg'),
storeName: 'Starbucks',
discountText: 'buy caffe and get one free',
qrcode: getRelativePath('/static/qrcode_starbucks.png'),
},
];
export const fakeUser = {
did: '128901802382173721372173',
name: 'Chihusan',
certificationName: 'Course Certification',
certificatedAt: '2019-03-26',
expiredAt: '2020-04-05',
issuerName: '',
transactionHash: '******',
};
export const taipeiCard = {
name: 'Taipei City Card',
coverSrc: getRelativePath('/static/taipei_card.png'),
description:
'"Taipei City Card" integrates all kinds of issue cards of the government, and achieves a number of municipal convenience measures all-in-one card. Besides, it also provides various discounts such as free activities and venue discounts.',
};
export const tainanCard = {
name: 'Tainan City Card',
coverSrc: getRelativePath('/static/tainan_card.png'),
description:
'"Tainan City Card" provides various discounts such as free activities and venue discounts. Besides, it also integrates all kinds of issue cards of the government, and achieves a number of municipal convenience measures all-in-one card.',
};