forked from Easterok/telegram-onboarding-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.ts
125 lines (122 loc) · 3.18 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
import { defineConfig } from '@tok/generation';
import ActionSlide from './custom/ActionSlide.vue';
const imageStyle =
'left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: initial';
export default defineConfig({
theme: 'dark',
definePresets: {
action_slide: ActionSlide,
},
currencyConfig: {
align: 'right',
},
pages: [
{
slides: [
{
extends: 'action_slide',
title: 'Re-dress photos with AI',
description: 'Tap the button below to try',
actionButton: ['Re-dress', 'Applied'],
nextButton: 'Next',
media: [
{
type: 'image',
src: import('./assets/img/1_init.webp'),
style: imageStyle,
},
{
type: 'image',
src: import('./assets/img/1_res.webp'),
style: imageStyle,
},
],
},
{
extends: 'action_slide',
title: 'Ready for an important meeting?',
description: 'Find perfect business suit',
actionButton: ['Re-dress', 'Applied'],
nextButton: 'Next',
media: [
{
type: 'image',
src: import('./assets/img/2_init.webp'),
style: imageStyle,
},
{
type: 'image',
src: import('./assets/img/2_res.webp'),
style: imageStyle,
},
],
},
{
extends: 'action_slide',
title: "Let's go to rave party!",
description: 'Your friends will be impressed',
actionButton: ['Re-dress', 'Applied'],
nextButton: {
to: '/paywall',
content: 'Next',
},
media: [
{
type: 'image',
src: import('./assets/img/3_init.webp'),
style: imageStyle,
},
{
type: 'image',
src: import('./assets/img/3_res.webp'),
style: imageStyle,
},
],
},
],
},
{
extends: 'paywall_row',
path: '/paywall',
media: {
type: 'image',
src: import('./assets/img/paywall.png'),
style: 'aspect-ratio: 390/251',
},
title: 'Purchase credits to re-dress your photos',
description: '1 credit = 1 photo re-dress',
mainButtonText: 'Buy credits for {price}',
products: [
{
id: '4_credits',
price: 4.99,
title: '4<br />credits',
description: 'Perfect to<br />start with',
},
{
id: '20_credits',
price: 8.99,
title: '20<br />credits',
description: 'Best value<br />offer',
bestText: 'Best Choice',
},
{
id: '100 credits',
price: 19.99,
title: '100<br />credits',
description: 'For true<br />enthusiasts',
},
],
links: [
{
text: 'Privacy policy',
href: 'http://google.com',
},
{
text: 'Terms of use',
href: 'http://google.com',
},
],
},
],
});