promote-email-templates 0.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +22 -0
- package/.prettierrc.json +7 -0
- package/dist/index.d.mts +467 -0
- package/dist/index.d.ts +467 -0
- package/dist/index.js +1123 -0
- package/dist/index.mjs +1068 -0
- package/emails/admin/abort-order-request.tsx +58 -0
- package/emails/admin/index.ts +2 -0
- package/emails/admin/revert-payment-request-admin.tsx +54 -0
- package/emails/all/index.ts +1 -0
- package/emails/all/welcome.tsx +104 -0
- package/emails/brand/evidences-accepted-brand.tsx +59 -0
- package/emails/brand/evidences-submitted-brand.tsx +65 -0
- package/emails/brand/index.ts +6 -0
- package/emails/brand/new-order-created-brand.tsx +74 -0
- package/emails/brand/order-accepted-brand.tsx +63 -0
- package/emails/brand/order-cancelled-brand.tsx +68 -0
- package/emails/brand/order-rejected-brand.tsx +79 -0
- package/emails/creator/evidences-approved-creator.tsx +62 -0
- package/emails/creator/evidences-rejected-creator.tsx +74 -0
- package/emails/creator/index.ts +5 -0
- package/emails/creator/new-order-created-creator.tsx +70 -0
- package/emails/creator/order-cancelled-creator.tsx +69 -0
- package/emails/creator/order-payment-creator.tsx +58 -0
- package/emails/index.ts +5 -0
- package/emails/shared/components/base-head.tsx +19 -0
- package/emails/shared/components/comment-component.tsx +32 -0
- package/emails/shared/components/footer.tsx +84 -0
- package/emails/shared/components/header.tsx +24 -0
- package/emails/shared/components/new-order-info.tsx +60 -0
- package/emails/shared/components/payment-amount.tsx +37 -0
- package/emails/shared/components/user-Info.tsx +55 -0
- package/emails/shared/index.ts +3 -0
- package/emails/shared/styles.ts +72 -0
- package/emails/shared/types.ts +179 -0
- package/emails/shared/values.ts +19 -0
- package/package.json +32 -0
- package/readme.md +27 -0
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,1068 @@
|
|
|
1
|
+
// emails/admin/abort-order-request.tsx
|
|
2
|
+
import { Body, Container as Container4, Html, Link as Link4, Preview, Text as Text3 } from "@react-email/components";
|
|
3
|
+
|
|
4
|
+
// emails/shared/styles.ts
|
|
5
|
+
var colors = {
|
|
6
|
+
primary: "#FF5C5C",
|
|
7
|
+
white: "#FFFFFF",
|
|
8
|
+
black: "#595959",
|
|
9
|
+
grey: "#E0E0E0",
|
|
10
|
+
grey01: "#7c7c7c"
|
|
11
|
+
};
|
|
12
|
+
var rootStyles = {
|
|
13
|
+
width: "100%",
|
|
14
|
+
height: "100%",
|
|
15
|
+
backgroundColor: colors.white,
|
|
16
|
+
fontFamily: '-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Ubuntu,sans-serif'
|
|
17
|
+
};
|
|
18
|
+
var baseContentContainer = {
|
|
19
|
+
padding: "0 auto",
|
|
20
|
+
maxWidth: "90%"
|
|
21
|
+
};
|
|
22
|
+
var link = {
|
|
23
|
+
color: colors.primary,
|
|
24
|
+
textDecoration: "none",
|
|
25
|
+
fontWeight: "bold",
|
|
26
|
+
opacity: 0.8
|
|
27
|
+
};
|
|
28
|
+
var main = {
|
|
29
|
+
backgroundColor: colors.white,
|
|
30
|
+
maxWidth: "650px",
|
|
31
|
+
width: "100%",
|
|
32
|
+
height: "100%",
|
|
33
|
+
marginLeft: "auto",
|
|
34
|
+
marginRight: "auto"
|
|
35
|
+
};
|
|
36
|
+
var baseContainer = {
|
|
37
|
+
width: "100%",
|
|
38
|
+
height: "auto",
|
|
39
|
+
padding: "20px 0",
|
|
40
|
+
border: "1px solid #e0e0e0",
|
|
41
|
+
borderRadius: "8px"
|
|
42
|
+
};
|
|
43
|
+
var button = {
|
|
44
|
+
fontSize: "16px",
|
|
45
|
+
backgroundColor: colors.primary,
|
|
46
|
+
display: "block",
|
|
47
|
+
color: colors.white,
|
|
48
|
+
padding: "15px 20px",
|
|
49
|
+
width: "auto",
|
|
50
|
+
borderRadius: "8px",
|
|
51
|
+
justifyContent: "center",
|
|
52
|
+
margin: "0 auto",
|
|
53
|
+
textAlign: "center",
|
|
54
|
+
fontWeight: "bold"
|
|
55
|
+
};
|
|
56
|
+
var baseText = {
|
|
57
|
+
color: colors.black,
|
|
58
|
+
fontSize: "18px",
|
|
59
|
+
lineHeight: "1.5"
|
|
60
|
+
};
|
|
61
|
+
var centerBlock = {
|
|
62
|
+
display: "block",
|
|
63
|
+
margin: "0 auto"
|
|
64
|
+
};
|
|
65
|
+
var centerText = {
|
|
66
|
+
textAlign: "center"
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
// emails/shared/components/header.tsx
|
|
70
|
+
import { Container, Img, Link } from "@react-email/components";
|
|
71
|
+
|
|
72
|
+
// emails/shared/values.ts
|
|
73
|
+
var appBaseUrl = `https://promote.co.mz`;
|
|
74
|
+
var assetsBasePath = `https://s3.us-east-2.amazonaws.com/promote-mz.com/assets`;
|
|
75
|
+
var appRoutes = {
|
|
76
|
+
homePageRoute: `${appBaseUrl}/home`,
|
|
77
|
+
creatorsList: `${appBaseUrl}/content-creators`,
|
|
78
|
+
creatorPrivateProfile: `${appBaseUrl}/content-creators/profile`,
|
|
79
|
+
termsAndConditions: `${appBaseUrl}/terms-and-conditions`,
|
|
80
|
+
creatorOrderDetails: (orderId) => `${appBaseUrl}/content-creators/profile/orders/${orderId}`,
|
|
81
|
+
brandOrderDetails: (orderId) => `${appBaseUrl}/brands/orders/${orderId}`,
|
|
82
|
+
adminOrderDetails: (orderId) => `${appBaseUrl}/admin/orders/${orderId}`,
|
|
83
|
+
creatorPublicProfile: (username) => `${appBaseUrl}/content-creators/${username}`
|
|
84
|
+
};
|
|
85
|
+
var socialNetworkLinks = {
|
|
86
|
+
linkedin: "https://www.linkedin.com/company/promotemz",
|
|
87
|
+
instagram: "https://www.instagram.com/promotemz/",
|
|
88
|
+
facebook: "https://www.facebook.com/promotemz"
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
// emails/shared/components/header.tsx
|
|
92
|
+
import { jsx } from "react/jsx-runtime";
|
|
93
|
+
function Header() {
|
|
94
|
+
return /* @__PURE__ */ jsx(Container, { style: container, children: /* @__PURE__ */ jsx(Link, { href: appRoutes.homePageRoute, target: "_blank", children: /* @__PURE__ */ jsx(Img, { src: `${assetsBasePath}/icons/full-logo-colored.png`, alt: "Promote Logo", style: logo }) }) });
|
|
95
|
+
}
|
|
96
|
+
var container = {
|
|
97
|
+
...baseContentContainer,
|
|
98
|
+
padding: "20px 0"
|
|
99
|
+
};
|
|
100
|
+
var logo = {
|
|
101
|
+
width: "auto",
|
|
102
|
+
height: "20px"
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
// emails/shared/components/footer.tsx
|
|
106
|
+
import { Column, Container as Container2, Hr, Img as Img2, Link as Link2, Row, Section, Text } from "@react-email/components";
|
|
107
|
+
import { jsx as jsx2, jsxs } from "react/jsx-runtime";
|
|
108
|
+
function Footer() {
|
|
109
|
+
const currentYear = (/* @__PURE__ */ new Date()).getFullYear();
|
|
110
|
+
return /* @__PURE__ */ jsxs(Container2, { style: container2, children: [
|
|
111
|
+
/* @__PURE__ */ jsx2(Hr, { style: line }),
|
|
112
|
+
/* @__PURE__ */ jsxs(Section, { children: [
|
|
113
|
+
/* @__PURE__ */ jsxs(Row, { children: [
|
|
114
|
+
/* @__PURE__ */ jsx2(Column, { children: /* @__PURE__ */ jsx2(Img2, { src: `${assetsBasePath}/icons/logo-icon-colored.png`, alt: "Promote Logo", style: logo2 }) }),
|
|
115
|
+
/* @__PURE__ */ jsx2(Column, { align: "right", children: /* @__PURE__ */ jsxs(Container2, { children: [
|
|
116
|
+
/* @__PURE__ */ jsx2(Link2, { href: socialNetworkLinks.linkedin, target: "_blank", children: /* @__PURE__ */ jsx2(Img2, { src: `${assetsBasePath}/icons/linkedin.png`, alt: "Linkedin Logo", style: socialItem }) }),
|
|
117
|
+
/* @__PURE__ */ jsx2(Link2, { href: socialNetworkLinks.instagram, target: "_blank", children: /* @__PURE__ */ jsx2(Img2, { src: `${assetsBasePath}/icons/instagram.png`, alt: "Instagram Logo", style: socialItem }) }),
|
|
118
|
+
/* @__PURE__ */ jsx2(Link2, { href: socialNetworkLinks.facebook, target: "_blank", children: /* @__PURE__ */ jsx2(Img2, { src: `${assetsBasePath}/icons/facebook.png`, alt: "Facebook Logo", style: socialItem }) })
|
|
119
|
+
] }) })
|
|
120
|
+
] }),
|
|
121
|
+
/* @__PURE__ */ jsx2(Row, { children: /* @__PURE__ */ jsxs(Column, { children: [
|
|
122
|
+
/* @__PURE__ */ jsxs(Text, { style: summaryText, children: [
|
|
123
|
+
"\xA9",
|
|
124
|
+
currentYear,
|
|
125
|
+
" Promote. Todos direitos reservados"
|
|
126
|
+
] }),
|
|
127
|
+
/* @__PURE__ */ jsx2(Link2, { href: appRoutes.termsAndConditions, style: termsConditions, children: "Termos e Condi\xE7\xF5es." })
|
|
128
|
+
] }) })
|
|
129
|
+
] })
|
|
130
|
+
] });
|
|
131
|
+
}
|
|
132
|
+
var container2 = {
|
|
133
|
+
...baseContentContainer,
|
|
134
|
+
width: "100%",
|
|
135
|
+
padding: "20px 0"
|
|
136
|
+
};
|
|
137
|
+
var line = {
|
|
138
|
+
margin: "20px 0",
|
|
139
|
+
backgroundColor: colors.grey
|
|
140
|
+
};
|
|
141
|
+
var logo2 = {
|
|
142
|
+
width: "30px",
|
|
143
|
+
height: "30px"
|
|
144
|
+
};
|
|
145
|
+
var summaryText = {
|
|
146
|
+
color: colors.black,
|
|
147
|
+
fontSize: "12px",
|
|
148
|
+
margin: "0",
|
|
149
|
+
marginTop: "5px"
|
|
150
|
+
};
|
|
151
|
+
var termsConditions = {
|
|
152
|
+
color: colors.grey01,
|
|
153
|
+
fontSize: "12px",
|
|
154
|
+
margin: "0"
|
|
155
|
+
};
|
|
156
|
+
var socialItem = {
|
|
157
|
+
display: "inline-block",
|
|
158
|
+
marginLeft: "10px",
|
|
159
|
+
width: "20px",
|
|
160
|
+
height: "20px",
|
|
161
|
+
borderRadius: "50%",
|
|
162
|
+
float: "right"
|
|
163
|
+
};
|
|
164
|
+
|
|
165
|
+
// emails/shared/components/base-head.tsx
|
|
166
|
+
import { Head } from "@react-email/components";
|
|
167
|
+
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
168
|
+
function BaseHead() {
|
|
169
|
+
return /* @__PURE__ */ jsx3(Head, { children: /* @__PURE__ */ jsx3("style", { children: `
|
|
170
|
+
@media screen and (max-width: 700px) {
|
|
171
|
+
body {
|
|
172
|
+
border: none !important;
|
|
173
|
+
padding: 0 20px;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
` }) });
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
// emails/shared/components/user-Info.tsx
|
|
180
|
+
import { Container as Container3, Img as Img3, Link as Link3, Text as Text2 } from "@react-email/components";
|
|
181
|
+
|
|
182
|
+
// emails/shared/types.ts
|
|
183
|
+
var USER_ROLES = /* @__PURE__ */ ((USER_ROLES2) => {
|
|
184
|
+
USER_ROLES2["BRAND"] = "brand";
|
|
185
|
+
USER_ROLES2["CREATOR"] = "creator";
|
|
186
|
+
return USER_ROLES2;
|
|
187
|
+
})(USER_ROLES || {});
|
|
188
|
+
|
|
189
|
+
// emails/shared/components/user-Info.tsx
|
|
190
|
+
import { jsx as jsx4, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
191
|
+
function UserInfo(props) {
|
|
192
|
+
return /* @__PURE__ */ jsxs2(Container3, { children: [
|
|
193
|
+
/* @__PURE__ */ jsx4(Img3, { src: props.photo, alt: props.name, style: userPhoto, defaultValue: "https://via.placeholder.com/150" }),
|
|
194
|
+
props.userType === "creator" /* CREATOR */ ? /* @__PURE__ */ jsx4(Link3, { href: appRoutes.creatorPublicProfile(props.username), children: /* @__PURE__ */ jsx4(Text2, { style: userName, children: props.name }) }) : /* @__PURE__ */ jsx4(Text2, { style: userName, children: props.name })
|
|
195
|
+
] });
|
|
196
|
+
}
|
|
197
|
+
UserInfo.PreviewProps = {
|
|
198
|
+
photo: "https://via.placeholder.com/150",
|
|
199
|
+
name: "User Name"
|
|
200
|
+
};
|
|
201
|
+
var userName = {
|
|
202
|
+
...baseText,
|
|
203
|
+
...centerText,
|
|
204
|
+
marginTop: "10px",
|
|
205
|
+
textAlign: "center",
|
|
206
|
+
fontWeight: "bold",
|
|
207
|
+
color: colors.primary
|
|
208
|
+
};
|
|
209
|
+
var userPhoto = {
|
|
210
|
+
width: "60px",
|
|
211
|
+
height: "60px",
|
|
212
|
+
borderRadius: "100%",
|
|
213
|
+
objectFit: "cover",
|
|
214
|
+
marginBottom: "10px",
|
|
215
|
+
...centerBlock
|
|
216
|
+
};
|
|
217
|
+
|
|
218
|
+
// emails/admin/abort-order-request.tsx
|
|
219
|
+
import { jsx as jsx5, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
220
|
+
function AbortOrderRequest(props) {
|
|
221
|
+
const requestedBy = {
|
|
222
|
+
["brand" /* BRAND */]: "Empresa",
|
|
223
|
+
["creator" /* CREATOR */]: "Influencer"
|
|
224
|
+
};
|
|
225
|
+
return /* @__PURE__ */ jsxs3(Html, { style: rootStyles, children: [
|
|
226
|
+
/* @__PURE__ */ jsx5(BaseHead, {}),
|
|
227
|
+
/* @__PURE__ */ jsx5(Preview, { children: "Pedido de cancelamento" }),
|
|
228
|
+
/* @__PURE__ */ jsxs3(Body, { style: { ...main, ...baseContainer }, children: [
|
|
229
|
+
/* @__PURE__ */ jsx5(Header, {}),
|
|
230
|
+
/* @__PURE__ */ jsx5(UserInfo, { photo: `${assetsBasePath}/icons/logo-icon-colored.png`, name: "Promote Team", userType: "brand" /* BRAND */ }),
|
|
231
|
+
/* @__PURE__ */ jsxs3(Container4, { style: { ...baseContentContainer }, children: [
|
|
232
|
+
/* @__PURE__ */ jsx5(Text3, { style: baseText, children: "Ol\xE1 Admin Team" }),
|
|
233
|
+
/* @__PURE__ */ jsxs3(Text3, { style: baseText, children: [
|
|
234
|
+
"Foi efectuado um novo pedido de cancelamento da",
|
|
235
|
+
" ",
|
|
236
|
+
/* @__PURE__ */ jsxs3(Link4, { href: appRoutes.adminOrderDetails(props.order.id), target: "_blank", style: link, children: [
|
|
237
|
+
"ordem #",
|
|
238
|
+
props.order.id,
|
|
239
|
+
"."
|
|
240
|
+
] }),
|
|
241
|
+
" ",
|
|
242
|
+
/* @__PURE__ */ jsx5("br", {})
|
|
243
|
+
] }),
|
|
244
|
+
/* @__PURE__ */ jsxs3(Text3, { style: baseText, children: [
|
|
245
|
+
"O pedido de cancelamento foi feito pelo/a ",
|
|
246
|
+
requestedBy[props.requestedBy]
|
|
247
|
+
] })
|
|
248
|
+
] }),
|
|
249
|
+
/* @__PURE__ */ jsx5(Container4, { style: { ...baseContentContainer, marginTop: "25px" }, children: /* @__PURE__ */ jsx5(Link4, { href: appRoutes.adminOrderDetails(props.order.id), style: { ...button, width: "150px" }, children: "VER PEDIDO" }) }),
|
|
250
|
+
/* @__PURE__ */ jsx5(Footer, {})
|
|
251
|
+
] })
|
|
252
|
+
] });
|
|
253
|
+
}
|
|
254
|
+
AbortOrderRequest.PreviewProps = {
|
|
255
|
+
order: {
|
|
256
|
+
id: "123"
|
|
257
|
+
},
|
|
258
|
+
requestedBy: "creator" /* CREATOR */
|
|
259
|
+
};
|
|
260
|
+
|
|
261
|
+
// emails/admin/revert-payment-request-admin.tsx
|
|
262
|
+
import { Body as Body2, Container as Container6, Html as Html2, Link as Link5, Preview as Preview2, Text as Text5 } from "@react-email/components";
|
|
263
|
+
|
|
264
|
+
// emails/shared/components/payment-amount.tsx
|
|
265
|
+
import { Container as Container5, Heading, Text as Text4 } from "@react-email/components";
|
|
266
|
+
import { jsx as jsx6, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
267
|
+
function PaymentAmount(props) {
|
|
268
|
+
return /* @__PURE__ */ jsxs4(Container5, { style: container3, children: [
|
|
269
|
+
/* @__PURE__ */ jsx6(Heading, { style: title, children: "Valor Total" }),
|
|
270
|
+
/* @__PURE__ */ jsxs4(Text4, { style: amount, children: [
|
|
271
|
+
props.totalAmount,
|
|
272
|
+
" MZN"
|
|
273
|
+
] })
|
|
274
|
+
] });
|
|
275
|
+
}
|
|
276
|
+
var container3 = {
|
|
277
|
+
...baseContentContainer,
|
|
278
|
+
backgroundColor: "rgba(59,140,235,0.79)",
|
|
279
|
+
borderRadius: "8px",
|
|
280
|
+
padding: "16px"
|
|
281
|
+
};
|
|
282
|
+
var title = {
|
|
283
|
+
...baseText,
|
|
284
|
+
fontWeight: "bold",
|
|
285
|
+
margin: "0",
|
|
286
|
+
color: colors.white
|
|
287
|
+
};
|
|
288
|
+
var amount = {
|
|
289
|
+
...baseText,
|
|
290
|
+
color: colors.white,
|
|
291
|
+
fontWeight: "bold",
|
|
292
|
+
fontSize: "25px",
|
|
293
|
+
margin: "10px 0",
|
|
294
|
+
textAlign: "center"
|
|
295
|
+
};
|
|
296
|
+
|
|
297
|
+
// emails/admin/revert-payment-request-admin.tsx
|
|
298
|
+
import { jsx as jsx7, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
299
|
+
function RevertPaymentRequestAdmin(props) {
|
|
300
|
+
return /* @__PURE__ */ jsxs5(Html2, { style: rootStyles, children: [
|
|
301
|
+
/* @__PURE__ */ jsx7(BaseHead, {}),
|
|
302
|
+
/* @__PURE__ */ jsx7(Preview2, { children: "Pedido de revers\xE3o de pagamento" }),
|
|
303
|
+
/* @__PURE__ */ jsxs5(Body2, { style: { ...main, ...baseContainer }, children: [
|
|
304
|
+
/* @__PURE__ */ jsx7(Header, {}),
|
|
305
|
+
/* @__PURE__ */ jsx7(UserInfo, { photo: `${assetsBasePath}/icons/logo-icon-colored.png`, name: "Promote Team", userType: "brand" /* BRAND */ }),
|
|
306
|
+
/* @__PURE__ */ jsxs5(Container6, { style: { ...baseContentContainer }, children: [
|
|
307
|
+
/* @__PURE__ */ jsx7(Text5, { style: baseText, children: "Ol\xE1 Promote team," }),
|
|
308
|
+
/* @__PURE__ */ jsxs5(Text5, { style: baseText, children: [
|
|
309
|
+
"O pagamento da",
|
|
310
|
+
" ",
|
|
311
|
+
/* @__PURE__ */ jsxs5(Link5, { href: appRoutes.brandOrderDetails(props.order.id), target: "_blank", style: link, children: [
|
|
312
|
+
"ordem #",
|
|
313
|
+
props.order.id
|
|
314
|
+
] }),
|
|
315
|
+
" ",
|
|
316
|
+
"deve ser revertido."
|
|
317
|
+
] })
|
|
318
|
+
] }),
|
|
319
|
+
/* @__PURE__ */ jsx7(PaymentAmount, { totalAmount: props.totalAmount }),
|
|
320
|
+
/* @__PURE__ */ jsx7(Container6, { style: { ...baseContentContainer, marginTop: "25px" }, children: /* @__PURE__ */ jsx7(Link5, { href: appRoutes.brandOrderDetails(props.order.id), style: { ...button, width: "150px" }, children: "VER PEDIDO" }) }),
|
|
321
|
+
/* @__PURE__ */ jsx7(Footer, {})
|
|
322
|
+
] })
|
|
323
|
+
] });
|
|
324
|
+
}
|
|
325
|
+
RevertPaymentRequestAdmin.PreviewProps = {
|
|
326
|
+
order: {
|
|
327
|
+
id: "123"
|
|
328
|
+
},
|
|
329
|
+
totalAmount: "1000,00"
|
|
330
|
+
};
|
|
331
|
+
|
|
332
|
+
// emails/brand/evidences-accepted-brand.tsx
|
|
333
|
+
import { Body as Body3, Container as Container7, Html as Html3, Link as Link6, Preview as Preview3, Text as Text6 } from "@react-email/components";
|
|
334
|
+
import { jsx as jsx8, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
335
|
+
function OrderEvidencesAcceptedBrand(props) {
|
|
336
|
+
return /* @__PURE__ */ jsxs6(Html3, { style: rootStyles, children: [
|
|
337
|
+
/* @__PURE__ */ jsx8(BaseHead, {}),
|
|
338
|
+
/* @__PURE__ */ jsx8(Preview3, { children: "Pagamento Efectuado com sucesso" }),
|
|
339
|
+
/* @__PURE__ */ jsxs6(Body3, { style: { ...main, ...baseContainer }, children: [
|
|
340
|
+
/* @__PURE__ */ jsx8(Header, {}),
|
|
341
|
+
/* @__PURE__ */ jsx8(UserInfo, { photo: `${assetsBasePath}/icons/logo-icon-colored.png`, name: "Promote Team", userType: "brand" /* BRAND */ }),
|
|
342
|
+
/* @__PURE__ */ jsxs6(Container7, { style: { ...baseContentContainer }, children: [
|
|
343
|
+
/* @__PURE__ */ jsxs6(Text6, { style: baseText, children: [
|
|
344
|
+
"Ol\xE1, ",
|
|
345
|
+
props.brand.name,
|
|
346
|
+
" \u{1F38A},"
|
|
347
|
+
] }),
|
|
348
|
+
/* @__PURE__ */ jsxs6(Text6, { style: baseText, children: [
|
|
349
|
+
"O pagamento da",
|
|
350
|
+
" ",
|
|
351
|
+
/* @__PURE__ */ jsxs6(Link6, { href: appRoutes.brandOrderDetails(props.order.id), target: "_blank", style: link, children: [
|
|
352
|
+
"ordem #",
|
|
353
|
+
props.order.id
|
|
354
|
+
] }),
|
|
355
|
+
" ",
|
|
356
|
+
"foi efectuado com sucesso \u2705.",
|
|
357
|
+
/* @__PURE__ */ jsx8("br", {}),
|
|
358
|
+
"Agradecemos por confiar na Promote, esperamos que a sua experi\xEAncia tenha sido agrad\xE1vel."
|
|
359
|
+
] })
|
|
360
|
+
] }),
|
|
361
|
+
/* @__PURE__ */ jsx8(PaymentAmount, { totalAmount: props.totalAmount }),
|
|
362
|
+
/* @__PURE__ */ jsx8(Container7, { style: { ...baseContentContainer, marginTop: "25px" }, children: /* @__PURE__ */ jsx8(Link6, { href: appRoutes.brandOrderDetails(props.order.id), style: { ...button, width: "150px" }, children: "VER PEDIDO" }) }),
|
|
363
|
+
/* @__PURE__ */ jsx8(Footer, {})
|
|
364
|
+
] })
|
|
365
|
+
] });
|
|
366
|
+
}
|
|
367
|
+
OrderEvidencesAcceptedBrand.PreviewProps = {
|
|
368
|
+
order: {
|
|
369
|
+
id: "123"
|
|
370
|
+
},
|
|
371
|
+
brand: {
|
|
372
|
+
name: "Vodacom Mz"
|
|
373
|
+
},
|
|
374
|
+
totalAmount: "1000,00"
|
|
375
|
+
};
|
|
376
|
+
|
|
377
|
+
// emails/brand/evidences-submitted-brand.tsx
|
|
378
|
+
import { Body as Body4, Container as Container8, Html as Html4, Link as Link7, Preview as Preview4, Text as Text7 } from "@react-email/components";
|
|
379
|
+
import { jsx as jsx9, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
380
|
+
function EvidencesSubmittedBrand(props) {
|
|
381
|
+
return /* @__PURE__ */ jsxs7(Html4, { style: rootStyles, children: [
|
|
382
|
+
/* @__PURE__ */ jsx9(BaseHead, {}),
|
|
383
|
+
/* @__PURE__ */ jsx9(Preview4, { children: "Evid\xEAncias submetidas \u{1F195}" }),
|
|
384
|
+
/* @__PURE__ */ jsxs7(Body4, { style: { ...main, ...baseContainer }, children: [
|
|
385
|
+
/* @__PURE__ */ jsx9(Header, {}),
|
|
386
|
+
/* @__PURE__ */ jsx9(UserInfo, { photo: props.creator.photo, name: props.creator.name, userType: "creator" /* CREATOR */, username: props.creator.username }),
|
|
387
|
+
/* @__PURE__ */ jsxs7(Container8, { style: { ...baseContentContainer }, children: [
|
|
388
|
+
/* @__PURE__ */ jsxs7(Text7, { style: baseText, children: [
|
|
389
|
+
"Ol\xE1, ",
|
|
390
|
+
props.brand.name,
|
|
391
|
+
","
|
|
392
|
+
] }),
|
|
393
|
+
/* @__PURE__ */ jsxs7(Text7, { style: baseText, children: [
|
|
394
|
+
"O criador de conte\xFAdos",
|
|
395
|
+
" ",
|
|
396
|
+
/* @__PURE__ */ jsx9(Link7, { href: appRoutes.creatorPublicProfile(props.creator.username), target: "_blank", style: link, children: props.creator.name }),
|
|
397
|
+
" ",
|
|
398
|
+
"submeteu novas evid\xEAncias para o seu",
|
|
399
|
+
" ",
|
|
400
|
+
/* @__PURE__ */ jsx9(Link7, { href: appRoutes.brandOrderDetails(props.order.id), target: "_blank", style: link, children: "pedido. \u{1F680}" }),
|
|
401
|
+
" ",
|
|
402
|
+
/* @__PURE__ */ jsx9("br", {}),
|
|
403
|
+
" Por favor, verifique as evid\xEAncias submetidas e ",
|
|
404
|
+
/* @__PURE__ */ jsx9("b", { children: "aprove \u2705" }),
|
|
405
|
+
" ou ",
|
|
406
|
+
/* @__PURE__ */ jsx9("b", { children: "rejeite \u274C" }),
|
|
407
|
+
" o trabalho."
|
|
408
|
+
] })
|
|
409
|
+
] }),
|
|
410
|
+
/* @__PURE__ */ jsx9(Container8, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx9(Link7, { href: appRoutes.brandOrderDetails(props.order.id), style: { ...button, width: "150px" }, children: "VER EVID\xCANCIAS" }) }),
|
|
411
|
+
/* @__PURE__ */ jsx9(Footer, {})
|
|
412
|
+
] })
|
|
413
|
+
] });
|
|
414
|
+
}
|
|
415
|
+
EvidencesSubmittedBrand.PreviewProps = {
|
|
416
|
+
package: {
|
|
417
|
+
name: "1 Instagram Post"
|
|
418
|
+
},
|
|
419
|
+
order: {
|
|
420
|
+
id: "123"
|
|
421
|
+
},
|
|
422
|
+
brand: {
|
|
423
|
+
name: "Vodacom Mz"
|
|
424
|
+
},
|
|
425
|
+
creator: {
|
|
426
|
+
username: "test_user",
|
|
427
|
+
name: "K\xE1tia Vanessa",
|
|
428
|
+
photo: "https://s3.us-east-2.amazonaws.com/promote-mz.com/images/8c52bb92-4a8b-472f-89cb-0428b90b8b74.jpg"
|
|
429
|
+
}
|
|
430
|
+
};
|
|
431
|
+
|
|
432
|
+
// emails/brand/new-order-created-brand.tsx
|
|
433
|
+
import { Body as Body5, Container as Container9, Html as Html5, Link as Link8, Preview as Preview5, Text as Text9 } from "@react-email/components";
|
|
434
|
+
|
|
435
|
+
// emails/shared/components/new-order-info.tsx
|
|
436
|
+
import { Column as Column2, Row as Row2, Section as Section2, Text as Text8 } from "@react-email/components";
|
|
437
|
+
import { jsx as jsx10, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
438
|
+
function NewOrderInfo(props) {
|
|
439
|
+
return /* @__PURE__ */ jsxs8(Section2, { children: [
|
|
440
|
+
/* @__PURE__ */ jsxs8(Row2, { style: rowItem, children: [
|
|
441
|
+
/* @__PURE__ */ jsx10(Column2, { children: /* @__PURE__ */ jsx10(Text8, { style: leftText, children: "Paconte:" }) }),
|
|
442
|
+
/* @__PURE__ */ jsx10(Column2, { align: "right", children: /* @__PURE__ */ jsx10(Text8, { style: rightText, children: props.packageName }) })
|
|
443
|
+
] }),
|
|
444
|
+
/* @__PURE__ */ jsxs8(Row2, { style: rowItem, children: [
|
|
445
|
+
/* @__PURE__ */ jsx10(Column2, { children: /* @__PURE__ */ jsx10(Text8, { style: leftText, children: "Pre\xE7o: " }) }),
|
|
446
|
+
/* @__PURE__ */ jsx10(Column2, { align: "right", children: /* @__PURE__ */ jsxs8(Text8, { style: rightText, children: [
|
|
447
|
+
props.packagePrice,
|
|
448
|
+
" MZN"
|
|
449
|
+
] }) })
|
|
450
|
+
] }),
|
|
451
|
+
/* @__PURE__ */ jsxs8(Row2, { style: rowItem, children: [
|
|
452
|
+
/* @__PURE__ */ jsx10(Column2, { children: /* @__PURE__ */ jsx10(Text8, { style: leftText, children: "Data: " }) }),
|
|
453
|
+
/* @__PURE__ */ jsx10(Column2, { align: "right", children: /* @__PURE__ */ jsx10(Text8, { style: rightText, children: props.orderCreatedAt }) })
|
|
454
|
+
] })
|
|
455
|
+
] });
|
|
456
|
+
}
|
|
457
|
+
var leftText = {
|
|
458
|
+
...baseText,
|
|
459
|
+
textAlign: "left",
|
|
460
|
+
margin: 0,
|
|
461
|
+
color: colors.black,
|
|
462
|
+
fontWeight: "bold"
|
|
463
|
+
};
|
|
464
|
+
var rightText = {
|
|
465
|
+
...baseText,
|
|
466
|
+
textAlign: "right",
|
|
467
|
+
margin: 0,
|
|
468
|
+
color: colors.primary
|
|
469
|
+
};
|
|
470
|
+
var rowItem = {
|
|
471
|
+
marginBottom: "5px"
|
|
472
|
+
};
|
|
473
|
+
|
|
474
|
+
// emails/brand/new-order-created-brand.tsx
|
|
475
|
+
import { jsx as jsx11, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
476
|
+
function NewOrderCreatedBrand(props) {
|
|
477
|
+
return /* @__PURE__ */ jsxs9(Html5, { style: rootStyles, children: [
|
|
478
|
+
/* @__PURE__ */ jsx11(BaseHead, {}),
|
|
479
|
+
/* @__PURE__ */ jsx11(Preview5, { children: "Novo Pedido efectuado" }),
|
|
480
|
+
/* @__PURE__ */ jsxs9(Body5, { style: { ...main, ...baseContainer }, children: [
|
|
481
|
+
/* @__PURE__ */ jsx11(Header, {}),
|
|
482
|
+
/* @__PURE__ */ jsx11(UserInfo, { photo: props.creator.photo, name: props.creator.name, userType: "creator" /* CREATOR */, username: props.creator.username }),
|
|
483
|
+
/* @__PURE__ */ jsxs9(Container9, { style: { ...baseContentContainer }, children: [
|
|
484
|
+
/* @__PURE__ */ jsxs9(Text9, { style: baseText, children: [
|
|
485
|
+
"Ol\xE1, ",
|
|
486
|
+
props.brand.name,
|
|
487
|
+
","
|
|
488
|
+
] }),
|
|
489
|
+
/* @__PURE__ */ jsxs9(Text9, { style: baseText, children: [
|
|
490
|
+
"Parab\xE9ns \u{1F389}, efectuou com sucesso a cria\xE7\xE3o de uma ordem para o criador de conte\xFAdos",
|
|
491
|
+
" ",
|
|
492
|
+
/* @__PURE__ */ jsxs9(Link8, { href: appRoutes.creatorPublicProfile(props.creator.username), style: link, children: [
|
|
493
|
+
props.creator.name,
|
|
494
|
+
"."
|
|
495
|
+
] }),
|
|
496
|
+
/* @__PURE__ */ jsx11("br", {}),
|
|
497
|
+
" Por favor, revise os detalhes abaixo \u{1F680}:"
|
|
498
|
+
] })
|
|
499
|
+
] }),
|
|
500
|
+
/* @__PURE__ */ jsx11(Container9, { style: orderDetails, children: /* @__PURE__ */ jsx11(NewOrderInfo, { orderCreatedAt: props.order.createdAt, packageName: props.package.name, packagePrice: props.package.price }) }),
|
|
501
|
+
/* @__PURE__ */ jsx11(Container9, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx11(Link8, { href: appRoutes.brandOrderDetails(props.order.id), style: { ...button, width: "120px" }, children: "VER PEDIDO" }) }),
|
|
502
|
+
/* @__PURE__ */ jsx11(Footer, {})
|
|
503
|
+
] })
|
|
504
|
+
] });
|
|
505
|
+
}
|
|
506
|
+
NewOrderCreatedBrand.PreviewProps = {
|
|
507
|
+
package: {
|
|
508
|
+
name: "1 Instagram Post",
|
|
509
|
+
price: "1000.00"
|
|
510
|
+
},
|
|
511
|
+
order: {
|
|
512
|
+
id: "123",
|
|
513
|
+
createdAt: "20 de Agosto, 2021"
|
|
514
|
+
},
|
|
515
|
+
brand: {
|
|
516
|
+
name: "Vodacom Mz"
|
|
517
|
+
},
|
|
518
|
+
creator: {
|
|
519
|
+
username: "test_user",
|
|
520
|
+
name: "K\xE1tia Vanessa",
|
|
521
|
+
photo: "https://s3.us-east-2.amazonaws.com/promote-mz.com/images/8c52bb92-4a8b-472f-89cb-0428b90b8b74.jpg"
|
|
522
|
+
}
|
|
523
|
+
};
|
|
524
|
+
var orderDetails = {
|
|
525
|
+
...baseContentContainer,
|
|
526
|
+
marginTop: "30px",
|
|
527
|
+
marginBottom: "40px"
|
|
528
|
+
};
|
|
529
|
+
|
|
530
|
+
// emails/brand/order-accepted-brand.tsx
|
|
531
|
+
import { Body as Body6, Container as Container10, Html as Html6, Link as Link9, Preview as Preview6, Text as Text10 } from "@react-email/components";
|
|
532
|
+
import { jsx as jsx12, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
533
|
+
function OrderAcceptedBrand(props) {
|
|
534
|
+
return /* @__PURE__ */ jsxs10(Html6, { style: rootStyles, children: [
|
|
535
|
+
/* @__PURE__ */ jsx12(BaseHead, {}),
|
|
536
|
+
/* @__PURE__ */ jsx12(Preview6, { children: "Pedido aceite \u2705" }),
|
|
537
|
+
/* @__PURE__ */ jsxs10(Body6, { style: { ...main, ...baseContainer }, children: [
|
|
538
|
+
/* @__PURE__ */ jsx12(Header, {}),
|
|
539
|
+
/* @__PURE__ */ jsx12(UserInfo, { photo: props.creator.photo, name: props.creator.name, userType: "creator" /* CREATOR */, username: props.creator.username }),
|
|
540
|
+
/* @__PURE__ */ jsxs10(Container10, { style: { ...baseContentContainer }, children: [
|
|
541
|
+
/* @__PURE__ */ jsxs10(Text10, { style: baseText, children: [
|
|
542
|
+
"Ol\xE1, ",
|
|
543
|
+
props.brand.name,
|
|
544
|
+
","
|
|
545
|
+
] }),
|
|
546
|
+
/* @__PURE__ */ jsxs10(Text10, { style: baseText, children: [
|
|
547
|
+
"O seu",
|
|
548
|
+
" ",
|
|
549
|
+
/* @__PURE__ */ jsx12(Link9, { href: appRoutes.brandOrderDetails(props.order.id), target: "_blank", style: link, children: "pedido" }),
|
|
550
|
+
" ",
|
|
551
|
+
"foi aceite \u2705 por",
|
|
552
|
+
" ",
|
|
553
|
+
/* @__PURE__ */ jsxs10(Link9, { href: appRoutes.creatorPublicProfile(props.creator.username), style: link, children: [
|
|
554
|
+
props.creator.name,
|
|
555
|
+
"."
|
|
556
|
+
] }),
|
|
557
|
+
/* @__PURE__ */ jsx12("br", {}),
|
|
558
|
+
" Agora \xE9 s\xF3 aguardar que o trabalho seja executado.",
|
|
559
|
+
/* @__PURE__ */ jsx12("br", {}),
|
|
560
|
+
" Assim que o trabalho for conclu\xEDdo, voc\xEA receber\xE1 um email com os detalhes \u{1F680}."
|
|
561
|
+
] })
|
|
562
|
+
] }),
|
|
563
|
+
/* @__PURE__ */ jsx12(Container10, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx12(Link9, { href: appRoutes.brandOrderDetails(props.order.id), style: { ...button, width: "120px" }, children: "VER PEDIDO!" }) }),
|
|
564
|
+
/* @__PURE__ */ jsx12(Footer, {})
|
|
565
|
+
] })
|
|
566
|
+
] });
|
|
567
|
+
}
|
|
568
|
+
OrderAcceptedBrand.PreviewProps = {
|
|
569
|
+
order: {
|
|
570
|
+
id: "123"
|
|
571
|
+
},
|
|
572
|
+
brand: {
|
|
573
|
+
name: "Vodacom Mz"
|
|
574
|
+
},
|
|
575
|
+
creator: {
|
|
576
|
+
username: "test_user",
|
|
577
|
+
name: "K\xE1tia Vanessa",
|
|
578
|
+
photo: "https://s3.us-east-2.amazonaws.com/promote-mz.com/images/8c52bb92-4a8b-472f-89cb-0428b90b8b74.jpg"
|
|
579
|
+
}
|
|
580
|
+
};
|
|
581
|
+
|
|
582
|
+
// emails/brand/order-cancelled-brand.tsx
|
|
583
|
+
import { Body as Body7, Container as Container12, Html as Html7, Link as Link10, Preview as Preview7, Text as Text12 } from "@react-email/components";
|
|
584
|
+
|
|
585
|
+
// emails/shared/components/comment-component.tsx
|
|
586
|
+
import { Container as Container11, Heading as Heading2, Text as Text11 } from "@react-email/components";
|
|
587
|
+
import { jsx as jsx13, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
588
|
+
function CommentComponent(props) {
|
|
589
|
+
return /* @__PURE__ */ jsxs11(Container11, { style: { ...container4(props.danger) }, children: [
|
|
590
|
+
/* @__PURE__ */ jsx13(Heading2, { style: title2, children: props.title }),
|
|
591
|
+
/* @__PURE__ */ jsx13(Text11, { style: content, children: props.comment })
|
|
592
|
+
] });
|
|
593
|
+
}
|
|
594
|
+
var container4 = (isDanger) => ({
|
|
595
|
+
...baseContentContainer,
|
|
596
|
+
backgroundColor: isDanger ? "rgba(250,0,0,0.26)" : "#f5f5f5",
|
|
597
|
+
borderRadius: "8px",
|
|
598
|
+
padding: "16px"
|
|
599
|
+
});
|
|
600
|
+
var title2 = {
|
|
601
|
+
...baseText,
|
|
602
|
+
fontWeight: "bold",
|
|
603
|
+
margin: "0"
|
|
604
|
+
};
|
|
605
|
+
var content = {
|
|
606
|
+
...baseText
|
|
607
|
+
};
|
|
608
|
+
|
|
609
|
+
// emails/brand/order-cancelled-brand.tsx
|
|
610
|
+
import { jsx as jsx14, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
611
|
+
function OrderCancelledBrand(props) {
|
|
612
|
+
return /* @__PURE__ */ jsxs12(Html7, { style: rootStyles, children: [
|
|
613
|
+
/* @__PURE__ */ jsx14(BaseHead, {}),
|
|
614
|
+
/* @__PURE__ */ jsx14(Preview7, { children: "Pedido cancelado \u274C" }),
|
|
615
|
+
/* @__PURE__ */ jsxs12(Body7, { style: { ...main, ...baseContainer }, children: [
|
|
616
|
+
/* @__PURE__ */ jsx14(Header, {}),
|
|
617
|
+
/* @__PURE__ */ jsx14(UserInfo, { photo: `${assetsBasePath}/icons/logo-icon-colored.png`, name: "Promote Team", userType: "brand" /* BRAND */ }),
|
|
618
|
+
/* @__PURE__ */ jsxs12(Container12, { style: { ...baseContentContainer }, children: [
|
|
619
|
+
/* @__PURE__ */ jsxs12(Text12, { style: baseText, children: [
|
|
620
|
+
"Ol\xE1, ",
|
|
621
|
+
props.brand.name,
|
|
622
|
+
","
|
|
623
|
+
] }),
|
|
624
|
+
/* @__PURE__ */ jsxs12(Text12, { style: baseText, children: [
|
|
625
|
+
"O",
|
|
626
|
+
" ",
|
|
627
|
+
/* @__PURE__ */ jsxs12(Link10, { href: appRoutes.brandOrderDetails(props.order.id), target: "_blank", style: link, children: [
|
|
628
|
+
"pedido #",
|
|
629
|
+
props.order.id
|
|
630
|
+
] }),
|
|
631
|
+
" ",
|
|
632
|
+
"foi cancelado \u274C antes da sua conclus\xE3o.",
|
|
633
|
+
/* @__PURE__ */ jsx14("br", {}),
|
|
634
|
+
"O seu pagamento ser\xE1 reembolsado dentro de 24h."
|
|
635
|
+
] })
|
|
636
|
+
] }),
|
|
637
|
+
props.reason && /* @__PURE__ */ jsx14("div", { style: reasonContainer, children: /* @__PURE__ */ jsx14(CommentComponent, { title: "Motivo do cancelamento:", comment: props.reason, danger: true }) }),
|
|
638
|
+
/* @__PURE__ */ jsx14(Container12, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx14(Link10, { href: appRoutes.brandOrderDetails(props.order.id), style: { ...button, width: "120px" }, children: "VER PEDIDO!" }) }),
|
|
639
|
+
/* @__PURE__ */ jsx14(Footer, {})
|
|
640
|
+
] })
|
|
641
|
+
] });
|
|
642
|
+
}
|
|
643
|
+
OrderCancelledBrand.PreviewProps = {
|
|
644
|
+
order: {
|
|
645
|
+
id: "123"
|
|
646
|
+
},
|
|
647
|
+
brand: {
|
|
648
|
+
name: "Vodacom Mz"
|
|
649
|
+
},
|
|
650
|
+
reason: "O influencer n\xE3o aceitou o pedido."
|
|
651
|
+
};
|
|
652
|
+
var reasonContainer = {
|
|
653
|
+
width: "100%",
|
|
654
|
+
padding: "0",
|
|
655
|
+
margin: "30px 0"
|
|
656
|
+
};
|
|
657
|
+
|
|
658
|
+
// emails/brand/order-rejected-brand.tsx
|
|
659
|
+
import { Body as Body8, Container as Container13, Html as Html8, Link as Link11, Preview as Preview8, Text as Text13 } from "@react-email/components";
|
|
660
|
+
import { jsx as jsx15, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
661
|
+
function OrderRejectedBrand(props) {
|
|
662
|
+
return /* @__PURE__ */ jsxs13(Html8, { style: rootStyles, children: [
|
|
663
|
+
/* @__PURE__ */ jsx15(BaseHead, {}),
|
|
664
|
+
/* @__PURE__ */ jsx15(Preview8, { children: "Pedido Rejeitado \u274C" }),
|
|
665
|
+
/* @__PURE__ */ jsxs13(Body8, { style: { ...main, ...baseContainer }, children: [
|
|
666
|
+
/* @__PURE__ */ jsx15(Header, {}),
|
|
667
|
+
/* @__PURE__ */ jsx15(UserInfo, { photo: props.creator.photo, name: props.creator.name, userType: "creator" /* CREATOR */, username: props.creator.username }),
|
|
668
|
+
/* @__PURE__ */ jsxs13(Container13, { style: { ...baseContentContainer }, children: [
|
|
669
|
+
/* @__PURE__ */ jsxs13(Text13, { style: baseText, children: [
|
|
670
|
+
"Ol\xE1, ",
|
|
671
|
+
props.brand.name,
|
|
672
|
+
","
|
|
673
|
+
] }),
|
|
674
|
+
/* @__PURE__ */ jsxs13(Text13, { style: baseText, children: [
|
|
675
|
+
"O seu",
|
|
676
|
+
" ",
|
|
677
|
+
/* @__PURE__ */ jsx15(Link11, { href: appRoutes.brandOrderDetails(props.order.id), target: "_blank", style: link, children: "pedido" }),
|
|
678
|
+
" ",
|
|
679
|
+
"foi rejeitado \u274C pelo criador de conte\xFAdo",
|
|
680
|
+
" ",
|
|
681
|
+
/* @__PURE__ */ jsxs13(Link11, { href: appRoutes.creatorPublicProfile(props.creator.username), style: link, children: [
|
|
682
|
+
props.creator.name,
|
|
683
|
+
"."
|
|
684
|
+
] }),
|
|
685
|
+
/* @__PURE__ */ jsx15("br", {}),
|
|
686
|
+
"O seu pagamento ser\xE1 reembolsado dentro de 24 horas."
|
|
687
|
+
] })
|
|
688
|
+
] }),
|
|
689
|
+
props.reason && /* @__PURE__ */ jsx15("div", { style: reasonContainer2, children: /* @__PURE__ */ jsx15(CommentComponent, { title: "Motivo da Rejei\xE7\xE3o", comment: props.reason }) }),
|
|
690
|
+
/* @__PURE__ */ jsx15(Container13, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx15(Link11, { href: appRoutes.brandOrderDetails(props.order.id), style: { ...button, width: "120px" }, children: "VER PEDIDO" }) }),
|
|
691
|
+
/* @__PURE__ */ jsx15(Footer, {})
|
|
692
|
+
] })
|
|
693
|
+
] });
|
|
694
|
+
}
|
|
695
|
+
OrderRejectedBrand.PreviewProps = {
|
|
696
|
+
package: {
|
|
697
|
+
name: "1 Instagram Post"
|
|
698
|
+
},
|
|
699
|
+
order: {
|
|
700
|
+
id: "123"
|
|
701
|
+
},
|
|
702
|
+
brand: {
|
|
703
|
+
name: "Vodacom Mz"
|
|
704
|
+
},
|
|
705
|
+
creator: {
|
|
706
|
+
username: "test_user",
|
|
707
|
+
name: "K\xE1tia Vanessa",
|
|
708
|
+
photo: "https://s3.us-east-2.amazonaws.com/promote-mz.com/images/8c52bb92-4a8b-472f-89cb-0428b90b8b74.jpg"
|
|
709
|
+
},
|
|
710
|
+
reason: "N\xE3o me identifiquei com a marca e o produto."
|
|
711
|
+
};
|
|
712
|
+
var reasonContainer2 = {
|
|
713
|
+
width: "100%",
|
|
714
|
+
padding: "0",
|
|
715
|
+
margin: "30px 0"
|
|
716
|
+
};
|
|
717
|
+
|
|
718
|
+
// emails/creator/evidences-approved-creator.tsx
|
|
719
|
+
import { Body as Body9, Container as Container14, Html as Html9, Link as Link12, Preview as Preview9, Text as Text14 } from "@react-email/components";
|
|
720
|
+
import { jsx as jsx16, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
721
|
+
function EvidenceApprovedCreator(props) {
|
|
722
|
+
return /* @__PURE__ */ jsxs14(Html9, { style: rootStyles, children: [
|
|
723
|
+
/* @__PURE__ */ jsx16(BaseHead, {}),
|
|
724
|
+
/* @__PURE__ */ jsx16(Preview9, { children: "Evid\xEAncia aprovada \u2705" }),
|
|
725
|
+
/* @__PURE__ */ jsxs14(Body9, { style: { ...main, ...baseContainer }, children: [
|
|
726
|
+
/* @__PURE__ */ jsx16(Header, {}),
|
|
727
|
+
/* @__PURE__ */ jsx16(UserInfo, { photo: props.brand.photo, name: props.brand.name, userType: "brand" /* BRAND */ }),
|
|
728
|
+
/* @__PURE__ */ jsxs14(Container14, { style: { ...baseContentContainer }, children: [
|
|
729
|
+
/* @__PURE__ */ jsxs14(Text14, { style: baseText, children: [
|
|
730
|
+
"Ol\xE1, ",
|
|
731
|
+
props.creator.name,
|
|
732
|
+
" \u{1F38A},"
|
|
733
|
+
] }),
|
|
734
|
+
/* @__PURE__ */ jsxs14(Text14, { style: baseText, children: [
|
|
735
|
+
"Actualiza\xE7\xF5es, a",
|
|
736
|
+
" ",
|
|
737
|
+
/* @__PURE__ */ jsx16(Link12, { href: appRoutes.creatorOrderDetails(props.evidenceLink), target: "_blank", style: link, children: "evid\xEAncia" }),
|
|
738
|
+
" ",
|
|
739
|
+
"que submeteste foi aprovada pela marca \u{1F389}."
|
|
740
|
+
] }),
|
|
741
|
+
/* @__PURE__ */ jsx16(Text14, { style: baseText, children: "Aguarde pela aprova\xE7\xE3o total por parte da marca para receberes o pagamento. Se tiveres alguma d\xFAvida, n\xE3o hesites em contactar" })
|
|
742
|
+
] }),
|
|
743
|
+
/* @__PURE__ */ jsx16(Container14, { style: { ...baseContentContainer, marginTop: "25px" }, children: /* @__PURE__ */ jsx16(Link12, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "150px" }, children: "VER PEDIDO" }) }),
|
|
744
|
+
/* @__PURE__ */ jsx16(Footer, {})
|
|
745
|
+
] })
|
|
746
|
+
] });
|
|
747
|
+
}
|
|
748
|
+
EvidenceApprovedCreator.PreviewProps = {
|
|
749
|
+
order: {
|
|
750
|
+
id: "123"
|
|
751
|
+
},
|
|
752
|
+
brand: {
|
|
753
|
+
name: "Vodacom Mz",
|
|
754
|
+
photo: "https://companieslogo.com/img/orig/VOD.JO-b42c4c1b.png?t=1603932474"
|
|
755
|
+
},
|
|
756
|
+
creator: {
|
|
757
|
+
name: "John Doe"
|
|
758
|
+
},
|
|
759
|
+
evidenceLink: "https://www.youtube.com/test_video"
|
|
760
|
+
};
|
|
761
|
+
|
|
762
|
+
// emails/creator/evidences-rejected-creator.tsx
|
|
763
|
+
import { Body as Body10, Container as Container15, Html as Html10, Link as Link13, Preview as Preview10, Text as Text15 } from "@react-email/components";
|
|
764
|
+
import { jsx as jsx17, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
765
|
+
function EvidencesRejectedCreator(props) {
|
|
766
|
+
return /* @__PURE__ */ jsxs15(Html10, { style: rootStyles, children: [
|
|
767
|
+
/* @__PURE__ */ jsx17(BaseHead, {}),
|
|
768
|
+
/* @__PURE__ */ jsx17(Preview10, { children: "Evi\xEAncia rejeitada \u274C" }),
|
|
769
|
+
/* @__PURE__ */ jsxs15(Body10, { style: { ...main, ...baseContainer }, children: [
|
|
770
|
+
/* @__PURE__ */ jsx17(Header, {}),
|
|
771
|
+
/* @__PURE__ */ jsx17(UserInfo, { photo: props.brand.photo, name: props.brand.name, userType: "brand" /* BRAND */ }),
|
|
772
|
+
/* @__PURE__ */ jsxs15(Container15, { style: { ...baseContentContainer }, children: [
|
|
773
|
+
/* @__PURE__ */ jsxs15(Text15, { style: baseText, children: [
|
|
774
|
+
"Ol\xE1, ",
|
|
775
|
+
props.creator.name,
|
|
776
|
+
","
|
|
777
|
+
] }),
|
|
778
|
+
/* @__PURE__ */ jsxs15(Text15, { style: baseText, children: [
|
|
779
|
+
"A",
|
|
780
|
+
" ",
|
|
781
|
+
/* @__PURE__ */ jsx17(Link13, { href: props.evidenceLink, target: "_blank", style: link, children: "evid\xEAncia" }),
|
|
782
|
+
" ",
|
|
783
|
+
"foi rejeitada \u274C pela marca.",
|
|
784
|
+
/* @__PURE__ */ jsx17("br", {}),
|
|
785
|
+
"Por favor, reveja o motivo da rejei\xE7\xE3o e submeta novamente."
|
|
786
|
+
] })
|
|
787
|
+
] }),
|
|
788
|
+
props.reason && /* @__PURE__ */ jsx17("div", { style: reasonContainer3, children: /* @__PURE__ */ jsx17(CommentComponent, { title: "Motivo da rejei\xE7\xE3o:", comment: props.reason, danger: true }) }),
|
|
789
|
+
/* @__PURE__ */ jsx17(Container15, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx17(Link13, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "200px" }, children: "VER PEDIDO" }) }),
|
|
790
|
+
/* @__PURE__ */ jsx17(Footer, {})
|
|
791
|
+
] })
|
|
792
|
+
] });
|
|
793
|
+
}
|
|
794
|
+
EvidencesRejectedCreator.PreviewProps = {
|
|
795
|
+
order: {
|
|
796
|
+
id: "123"
|
|
797
|
+
},
|
|
798
|
+
creator: {
|
|
799
|
+
name: "John Doe"
|
|
800
|
+
},
|
|
801
|
+
brand: {
|
|
802
|
+
name: "Vodacom Mz",
|
|
803
|
+
photo: "https://companieslogo.com/img/orig/VOD.JO-b42c4c1b.png?t=1603932474"
|
|
804
|
+
},
|
|
805
|
+
evidenceLink: "https://www.youtube.com/watch?v=123",
|
|
806
|
+
reason: "Conte\xFAdo n\xE3o cumpre com as diretrizes da marca."
|
|
807
|
+
};
|
|
808
|
+
var reasonContainer3 = {
|
|
809
|
+
width: "100%",
|
|
810
|
+
padding: "0",
|
|
811
|
+
margin: "30px 0"
|
|
812
|
+
};
|
|
813
|
+
|
|
814
|
+
// emails/creator/order-cancelled-creator.tsx
|
|
815
|
+
import { Body as Body11, Container as Container16, Html as Html11, Link as Link14, Preview as Preview11, Text as Text16 } from "@react-email/components";
|
|
816
|
+
import { jsx as jsx18, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
817
|
+
function OrderCancelledCreator(props) {
|
|
818
|
+
return /* @__PURE__ */ jsxs16(Html11, { style: rootStyles, children: [
|
|
819
|
+
/* @__PURE__ */ jsx18(BaseHead, {}),
|
|
820
|
+
/* @__PURE__ */ jsx18(Preview11, { children: "Pedido cancelado \u274C" }),
|
|
821
|
+
/* @__PURE__ */ jsxs16(Body11, { style: { ...main, ...baseContainer }, children: [
|
|
822
|
+
/* @__PURE__ */ jsx18(Header, {}),
|
|
823
|
+
/* @__PURE__ */ jsx18(UserInfo, { photo: `${assetsBasePath}/icons/logo-icon-colored.png`, name: "Promote Team", userType: "brand" /* BRAND */ }),
|
|
824
|
+
/* @__PURE__ */ jsxs16(Container16, { style: { ...baseContentContainer }, children: [
|
|
825
|
+
/* @__PURE__ */ jsxs16(Text16, { style: baseText, children: [
|
|
826
|
+
"Ol\xE1, ",
|
|
827
|
+
props.creator.name,
|
|
828
|
+
","
|
|
829
|
+
] }),
|
|
830
|
+
/* @__PURE__ */ jsxs16(Text16, { style: baseText, children: [
|
|
831
|
+
"Infelizmente o",
|
|
832
|
+
" ",
|
|
833
|
+
/* @__PURE__ */ jsxs16(Link14, { href: appRoutes.creatorOrderDetails(props.order.id), target: "_blank", style: link, children: [
|
|
834
|
+
"pedido #",
|
|
835
|
+
props.order.id
|
|
836
|
+
] }),
|
|
837
|
+
" ",
|
|
838
|
+
"foi cancelado \u274C antes da sua conclus\xE3o.",
|
|
839
|
+
/* @__PURE__ */ jsx18("br", {}),
|
|
840
|
+
"Agradecemos a sua disponibilidade e esperamos que a pr\xF3xima oportunidade seja um sucesso \u{1F44C}\u{1F3FD}\u{1F44C}\u{1F3FD}!"
|
|
841
|
+
] })
|
|
842
|
+
] }),
|
|
843
|
+
props.reason && /* @__PURE__ */ jsx18("div", { style: reasonContainer4, children: /* @__PURE__ */ jsx18(CommentComponent, { title: "Motivo do cancelamento:", comment: props.reason, danger: true }) }),
|
|
844
|
+
/* @__PURE__ */ jsx18(Container16, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx18(Link14, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "150px" }, children: "VER PEDIDO" }) }),
|
|
845
|
+
/* @__PURE__ */ jsx18(Footer, {})
|
|
846
|
+
] })
|
|
847
|
+
] });
|
|
848
|
+
}
|
|
849
|
+
OrderCancelledCreator.PreviewProps = {
|
|
850
|
+
order: {
|
|
851
|
+
id: "123"
|
|
852
|
+
},
|
|
853
|
+
creator: {
|
|
854
|
+
name: "Vanessa Martins"
|
|
855
|
+
},
|
|
856
|
+
reason: "A marca desistiu do pedido."
|
|
857
|
+
};
|
|
858
|
+
var reasonContainer4 = {
|
|
859
|
+
width: "100%",
|
|
860
|
+
padding: "0",
|
|
861
|
+
margin: "30px 0"
|
|
862
|
+
};
|
|
863
|
+
|
|
864
|
+
// emails/creator/order-payment-creator.tsx
|
|
865
|
+
import { Body as Body12, Container as Container17, Html as Html12, Link as Link15, Preview as Preview12, Text as Text17 } from "@react-email/components";
|
|
866
|
+
import { jsx as jsx19, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
867
|
+
function OrderPaymentCreator(props) {
|
|
868
|
+
return /* @__PURE__ */ jsxs17(Html12, { style: rootStyles, children: [
|
|
869
|
+
/* @__PURE__ */ jsx19(BaseHead, {}),
|
|
870
|
+
/* @__PURE__ */ jsx19(Preview12, { children: "Pagamento Liberado \u2705" }),
|
|
871
|
+
/* @__PURE__ */ jsxs17(Body12, { style: { ...main, ...baseContainer }, children: [
|
|
872
|
+
/* @__PURE__ */ jsx19(Header, {}),
|
|
873
|
+
/* @__PURE__ */ jsx19(UserInfo, { photo: `${assetsBasePath}/icons/logo-icon-colored.png`, name: "Promote Team", userType: "brand" /* BRAND */ }),
|
|
874
|
+
/* @__PURE__ */ jsxs17(Container17, { style: { ...baseContentContainer }, children: [
|
|
875
|
+
/* @__PURE__ */ jsxs17(Text17, { style: baseText, children: [
|
|
876
|
+
"Ol\xE1, ",
|
|
877
|
+
props.creator.name,
|
|
878
|
+
" \u{1F38A},"
|
|
879
|
+
] }),
|
|
880
|
+
/* @__PURE__ */ jsxs17(Text17, { style: baseText, children: [
|
|
881
|
+
"Boas Not\xEDcias \u{1F389}, est\xE1 em processamento o pagamento da",
|
|
882
|
+
" ",
|
|
883
|
+
/* @__PURE__ */ jsxs17(Link15, { href: appRoutes.creatorOrderDetails(props.order.id), target: "_blank", style: link, children: [
|
|
884
|
+
"ordem #",
|
|
885
|
+
props.order.id
|
|
886
|
+
] }),
|
|
887
|
+
" "
|
|
888
|
+
] }),
|
|
889
|
+
/* @__PURE__ */ jsx19(Text17, { style: baseText, children: "Espera-se que dentro de 24h o pagamento seja conclu\xEDdo, agradecemos por confiar na Promote." })
|
|
890
|
+
] }),
|
|
891
|
+
/* @__PURE__ */ jsx19(PaymentAmount, { totalAmount: props.totalAmount }),
|
|
892
|
+
/* @__PURE__ */ jsx19(Container17, { style: { ...baseContentContainer, marginTop: "25px" }, children: /* @__PURE__ */ jsx19(Link15, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "150px" }, children: "VER PEDIDO" }) }),
|
|
893
|
+
/* @__PURE__ */ jsx19(Footer, {})
|
|
894
|
+
] })
|
|
895
|
+
] });
|
|
896
|
+
}
|
|
897
|
+
OrderPaymentCreator.PreviewProps = {
|
|
898
|
+
order: {
|
|
899
|
+
id: "123"
|
|
900
|
+
},
|
|
901
|
+
creator: {
|
|
902
|
+
name: "John Doe"
|
|
903
|
+
},
|
|
904
|
+
totalAmount: "1000,00"
|
|
905
|
+
};
|
|
906
|
+
|
|
907
|
+
// emails/creator/new-order-created-creator.tsx
|
|
908
|
+
import { Body as Body13, Container as Container18, Html as Html13, Link as Link16, Preview as Preview13, Text as Text18 } from "@react-email/components";
|
|
909
|
+
import { jsx as jsx20, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
910
|
+
function NewOrderCreatedCreator(props) {
|
|
911
|
+
return /* @__PURE__ */ jsxs18(Html13, { style: rootStyles, children: [
|
|
912
|
+
/* @__PURE__ */ jsx20(BaseHead, {}),
|
|
913
|
+
/* @__PURE__ */ jsx20(Preview13, { children: "Novo Pedido Recebido" }),
|
|
914
|
+
/* @__PURE__ */ jsxs18(Body13, { style: { ...main, ...baseContainer }, children: [
|
|
915
|
+
/* @__PURE__ */ jsx20(Header, {}),
|
|
916
|
+
/* @__PURE__ */ jsx20(UserInfo, { photo: props.brand.photo, name: props.brand.name, userType: "brand" /* BRAND */ }),
|
|
917
|
+
/* @__PURE__ */ jsxs18(Container18, { style: { ...baseContentContainer }, children: [
|
|
918
|
+
/* @__PURE__ */ jsxs18(Text18, { style: baseText, children: [
|
|
919
|
+
"Ol\xE1, ",
|
|
920
|
+
props.creator.name,
|
|
921
|
+
","
|
|
922
|
+
] }),
|
|
923
|
+
/* @__PURE__ */ jsxs18(Text18, { style: baseText, children: [
|
|
924
|
+
"Parab\xE9ns \u{1F389}, voc\xEA recebeu um novo pedido da empresa ",
|
|
925
|
+
/* @__PURE__ */ jsx20("span", { style: { color: colors.primary }, children: props.brand.name }),
|
|
926
|
+
".",
|
|
927
|
+
/* @__PURE__ */ jsx20("br", {}),
|
|
928
|
+
" Por favor, revise os detalhes abaixo \u{1F680}:"
|
|
929
|
+
] })
|
|
930
|
+
] }),
|
|
931
|
+
/* @__PURE__ */ jsx20(Container18, { style: orderDetails2, children: /* @__PURE__ */ jsx20(NewOrderInfo, { orderCreatedAt: props.order.createdAt, packageName: props.package.name, packagePrice: props.package.price }) }),
|
|
932
|
+
/* @__PURE__ */ jsx20(Container18, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx20(Link16, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "120px" }, children: "VER PEDIDO" }) }),
|
|
933
|
+
/* @__PURE__ */ jsx20(Footer, {})
|
|
934
|
+
] })
|
|
935
|
+
] });
|
|
936
|
+
}
|
|
937
|
+
NewOrderCreatedCreator.PreviewProps = {
|
|
938
|
+
package: {
|
|
939
|
+
name: "1 Instagram Post",
|
|
940
|
+
price: "1000.00"
|
|
941
|
+
},
|
|
942
|
+
order: {
|
|
943
|
+
id: "123",
|
|
944
|
+
createdAt: "20 de Agosto, 2021"
|
|
945
|
+
},
|
|
946
|
+
brand: {
|
|
947
|
+
name: "Vodacom Mz",
|
|
948
|
+
photo: "https://companieslogo.com/img/orig/VOD.JO-b42c4c1b.png?t=1603932474"
|
|
949
|
+
},
|
|
950
|
+
creator: {
|
|
951
|
+
name: "Neymar Jr."
|
|
952
|
+
}
|
|
953
|
+
};
|
|
954
|
+
var orderDetails2 = {
|
|
955
|
+
...baseContentContainer,
|
|
956
|
+
marginTop: "30px",
|
|
957
|
+
marginBottom: "40px"
|
|
958
|
+
};
|
|
959
|
+
|
|
960
|
+
// emails/all/welcome.tsx
|
|
961
|
+
import { Body as Body14, Container as Container19, Heading as Heading3, Html as Html14, Img as Img4, Link as Link17, Preview as Preview14, Text as Text19 } from "@react-email/components";
|
|
962
|
+
import { jsx as jsx21, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
963
|
+
function Welcome({ name, userType }) {
|
|
964
|
+
const content2 = {
|
|
965
|
+
["brand" /* BRAND */]: {
|
|
966
|
+
startLink: appRoutes.creatorsList,
|
|
967
|
+
description: " Obrigado por se registrar. Estamos muito felizes por t\xEA-lo a bordo. Explore nossa plataforma e descubra os melhores influenciadores e criadores de conte\xFAdo para suas necessidades de marketing."
|
|
968
|
+
},
|
|
969
|
+
["creator" /* CREATOR */]: {
|
|
970
|
+
startLink: appRoutes.creatorPrivateProfile,
|
|
971
|
+
description: " Obrigado por se registrar. Estamos muito felizes por t\xEA-lo a bordo. Explore nossa plataforma e descubra as melhores marcas para colaborar."
|
|
972
|
+
}
|
|
973
|
+
};
|
|
974
|
+
return /* @__PURE__ */ jsxs19(Html14, { style: rootStyles, children: [
|
|
975
|
+
/* @__PURE__ */ jsx21(BaseHead, {}),
|
|
976
|
+
/* @__PURE__ */ jsx21(Preview14, { children: "Bem-vindo a Promote" }),
|
|
977
|
+
/* @__PURE__ */ jsxs19(Body14, { style: { ...main, ...baseContainer }, children: [
|
|
978
|
+
/* @__PURE__ */ jsxs19(Container19, { style: headContainer, children: [
|
|
979
|
+
/* @__PURE__ */ jsx21(Img4, { src: `${assetsBasePath}/icons/logo-icon.png`, alt: "Promote Logo", style: promoteLogo }),
|
|
980
|
+
/* @__PURE__ */ jsx21(Img4, { src: `${assetsBasePath}/icons/welcome-title.png`, alt: "Promote Logo", style: welcomeImage })
|
|
981
|
+
] }),
|
|
982
|
+
/* @__PURE__ */ jsxs19(Container19, { style: baseContentContainer, children: [
|
|
983
|
+
/* @__PURE__ */ jsxs19(Heading3, { as: "h1", style: title3, children: [
|
|
984
|
+
"Ol\xE1 ",
|
|
985
|
+
name || "{{nome}}",
|
|
986
|
+
" \u{1F389},"
|
|
987
|
+
] }),
|
|
988
|
+
/* @__PURE__ */ jsx21(Text19, { style: textInfo, children: content2[userType]?.description }),
|
|
989
|
+
/* @__PURE__ */ jsxs19(Text19, { style: textInfo, children: [
|
|
990
|
+
"Em caso de qualquer d\xFAvida, entre em conctato connosco atrav\xE9s do e-mail:",
|
|
991
|
+
" ",
|
|
992
|
+
/* @__PURE__ */ jsx21(Link17, { style: link, href: "mailto:help@promote.co.mz", children: "help@promote.co.mz" }),
|
|
993
|
+
" ",
|
|
994
|
+
"\u{1F680}"
|
|
995
|
+
] })
|
|
996
|
+
] }),
|
|
997
|
+
/* @__PURE__ */ jsx21(Container19, { style: baseContentContainer, children: userType && /* @__PURE__ */ jsx21(Link17, { href: content2[userType]?.startLink, style: { ...button, width: "150px" }, children: "COME\xC7AR AGORA" }) }),
|
|
998
|
+
/* @__PURE__ */ jsx21(Footer, {})
|
|
999
|
+
] })
|
|
1000
|
+
] });
|
|
1001
|
+
}
|
|
1002
|
+
Welcome.PreviewProps = {
|
|
1003
|
+
name: "Jo\xE3o ant\xF3nio",
|
|
1004
|
+
userType: "brand" /* BRAND */
|
|
1005
|
+
};
|
|
1006
|
+
var headContainer = {
|
|
1007
|
+
...baseContentContainer,
|
|
1008
|
+
marginBottom: "20px",
|
|
1009
|
+
padding: "20px 0",
|
|
1010
|
+
height: "200px",
|
|
1011
|
+
backgroundColor: colors.primary,
|
|
1012
|
+
borderRadius: "8px",
|
|
1013
|
+
align: "center"
|
|
1014
|
+
};
|
|
1015
|
+
var promoteLogo = {
|
|
1016
|
+
width: "70px",
|
|
1017
|
+
height: "70px",
|
|
1018
|
+
margin: "0 auto",
|
|
1019
|
+
marginBottom: "20px"
|
|
1020
|
+
};
|
|
1021
|
+
var welcomeImage = {
|
|
1022
|
+
width: "auto",
|
|
1023
|
+
height: "30px",
|
|
1024
|
+
margin: "0 auto"
|
|
1025
|
+
};
|
|
1026
|
+
var title3 = {
|
|
1027
|
+
color: colors.primary,
|
|
1028
|
+
fontSize: "22px",
|
|
1029
|
+
fontWeight: "bold",
|
|
1030
|
+
marginTop: "10px",
|
|
1031
|
+
marginBottom: "10px"
|
|
1032
|
+
};
|
|
1033
|
+
var textInfo = {
|
|
1034
|
+
...baseText,
|
|
1035
|
+
marginTop: "20px",
|
|
1036
|
+
marginBottom: "20px"
|
|
1037
|
+
};
|
|
1038
|
+
export {
|
|
1039
|
+
AbortOrderRequest,
|
|
1040
|
+
EvidenceApprovedCreator,
|
|
1041
|
+
EvidencesRejectedCreator,
|
|
1042
|
+
EvidencesSubmittedBrand,
|
|
1043
|
+
NewOrderCreatedBrand,
|
|
1044
|
+
NewOrderCreatedCreator,
|
|
1045
|
+
OrderAcceptedBrand,
|
|
1046
|
+
OrderCancelledBrand,
|
|
1047
|
+
OrderCancelledCreator,
|
|
1048
|
+
OrderEvidencesAcceptedBrand,
|
|
1049
|
+
OrderPaymentCreator,
|
|
1050
|
+
OrderRejectedBrand,
|
|
1051
|
+
RevertPaymentRequestAdmin,
|
|
1052
|
+
USER_ROLES,
|
|
1053
|
+
Welcome,
|
|
1054
|
+
appBaseUrl,
|
|
1055
|
+
appRoutes,
|
|
1056
|
+
assetsBasePath,
|
|
1057
|
+
baseContainer,
|
|
1058
|
+
baseContentContainer,
|
|
1059
|
+
baseText,
|
|
1060
|
+
button,
|
|
1061
|
+
centerBlock,
|
|
1062
|
+
centerText,
|
|
1063
|
+
colors,
|
|
1064
|
+
link,
|
|
1065
|
+
main,
|
|
1066
|
+
rootStyles,
|
|
1067
|
+
socialNetworkLinks
|
|
1068
|
+
};
|