promote-email-templates 0.0.19 → 0.1.1

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.
Files changed (104) hide show
  1. package/.react-email/.eslintrc.js +52 -0
  2. package/.react-email/.prettierignore +3 -0
  3. package/.react-email/.prettierrc.js +8 -0
  4. package/.react-email/license.md +7 -0
  5. package/.react-email/next.config.js +36 -0
  6. package/.react-email/package.json +1 -0
  7. package/.react-email/postcss.config.js +8 -0
  8. package/.react-email/readme.md +44 -0
  9. package/.react-email/src/actions/get-email-path-from-slug.ts +26 -0
  10. package/.react-email/src/actions/get-emails-directory-metadata.spec.ts +73 -0
  11. package/.react-email/src/actions/get-emails-directory-metadata.ts +91 -0
  12. package/.react-email/src/actions/render-email-by-path.tsx +59 -0
  13. package/.react-email/src/app/favicon.ico +0 -0
  14. package/.react-email/src/app/globals.css +35 -0
  15. package/.react-email/src/app/inter.ts +7 -0
  16. package/.react-email/src/app/layout.tsx +36 -0
  17. package/.react-email/src/app/logo.png +0 -0
  18. package/.react-email/src/app/page.tsx +47 -0
  19. package/.react-email/src/app/preview/[...slug]/page.tsx +65 -0
  20. package/.react-email/src/app/preview/[...slug]/preview.tsx +141 -0
  21. package/.react-email/src/app/preview/[...slug]/rendering-error.tsx +40 -0
  22. package/.react-email/src/components/button.tsx +90 -0
  23. package/.react-email/src/components/code-container.tsx +145 -0
  24. package/.react-email/src/components/code.tsx +112 -0
  25. package/.react-email/src/components/heading.tsx +113 -0
  26. package/.react-email/src/components/icons/icon-arrow-down.tsx +16 -0
  27. package/.react-email/src/components/icons/icon-base.tsx +24 -0
  28. package/.react-email/src/components/icons/icon-button.tsx +23 -0
  29. package/.react-email/src/components/icons/icon-check.tsx +19 -0
  30. package/.react-email/src/components/icons/icon-clipboard.tsx +40 -0
  31. package/.react-email/src/components/icons/icon-download.tsx +19 -0
  32. package/.react-email/src/components/icons/icon-file.tsx +19 -0
  33. package/.react-email/src/components/icons/icon-folder-open.tsx +19 -0
  34. package/.react-email/src/components/icons/icon-folder.tsx +18 -0
  35. package/.react-email/src/components/icons/icon-hide-sidebar.tsx +23 -0
  36. package/.react-email/src/components/icons/icon-monitor.tsx +19 -0
  37. package/.react-email/src/components/icons/icon-phone.tsx +26 -0
  38. package/.react-email/src/components/icons/icon-source.tsx +19 -0
  39. package/.react-email/src/components/index.ts +7 -0
  40. package/.react-email/src/components/logo.tsx +64 -0
  41. package/.react-email/src/components/send.tsx +135 -0
  42. package/.react-email/src/components/shell.tsx +115 -0
  43. package/.react-email/src/components/sidebar/index.ts +1 -0
  44. package/.react-email/src/components/sidebar/sidebar-directory-children.tsx +134 -0
  45. package/.react-email/src/components/sidebar/sidebar-directory.tsx +106 -0
  46. package/.react-email/src/components/sidebar/sidebar.tsx +45 -0
  47. package/.react-email/src/components/text.tsx +99 -0
  48. package/.react-email/src/components/tooltip-content.tsx +32 -0
  49. package/.react-email/src/components/tooltip.tsx +19 -0
  50. package/.react-email/src/components/topbar.tsx +161 -0
  51. package/.react-email/src/contexts/emails.tsx +127 -0
  52. package/.react-email/src/hooks/use-hot-reload.ts +35 -0
  53. package/.react-email/src/hooks/use-rendering-metadata.ts +36 -0
  54. package/.react-email/src/utils/cn.ts +6 -0
  55. package/.react-email/src/utils/constants.ts +6 -0
  56. package/.react-email/src/utils/copy-text-to-clipboard.ts +7 -0
  57. package/.react-email/src/utils/emails-directory-absolute-path.ts +34 -0
  58. package/.react-email/src/utils/get-email-component.ts +108 -0
  59. package/.react-email/src/utils/improve-error-with-sourcemap.ts +55 -0
  60. package/.react-email/src/utils/index.ts +5 -0
  61. package/.react-email/src/utils/language-map.ts +7 -0
  62. package/.react-email/src/utils/static-node-modules-for-vm.ts +92 -0
  63. package/.react-email/src/utils/types/as.ts +26 -0
  64. package/.react-email/src/utils/types/email-template.ts +8 -0
  65. package/.react-email/src/utils/types/error-object.ts +11 -0
  66. package/.react-email/src/utils/types/hot-reload-change.ts +6 -0
  67. package/.react-email/src/utils/types/hot-reload-event.ts +6 -0
  68. package/.react-email/src/utils/unreachable.ts +8 -0
  69. package/.react-email/tailwind.config.ts +94 -0
  70. package/dist/index.d.mts +238 -83
  71. package/dist/index.d.ts +238 -83
  72. package/dist/index.js +364 -105
  73. package/dist/index.mjs +360 -105
  74. package/package.json +1 -1
  75. package/emails/admin/abort-order-request.tsx +0 -58
  76. package/emails/admin/index.ts +0 -2
  77. package/emails/admin/revert-payment-request-admin.tsx +0 -54
  78. package/emails/all/index.ts +0 -1
  79. package/emails/all/welcome.tsx +0 -104
  80. package/emails/brand/evidences-accepted-brand.tsx +0 -59
  81. package/emails/brand/evidences-submitted-brand.tsx +0 -65
  82. package/emails/brand/index.ts +0 -6
  83. package/emails/brand/new-order-created-brand.tsx +0 -74
  84. package/emails/brand/order-accepted-brand.tsx +0 -63
  85. package/emails/brand/order-cancelled-brand.tsx +0 -68
  86. package/emails/brand/order-rejected-brand.tsx +0 -79
  87. package/emails/creator/evidences-approved-creator.tsx +0 -62
  88. package/emails/creator/evidences-rejected-creator.tsx +0 -74
  89. package/emails/creator/index.ts +0 -5
  90. package/emails/creator/new-order-created-creator.tsx +0 -70
  91. package/emails/creator/order-cancelled-creator.tsx +0 -69
  92. package/emails/creator/order-payment-creator.tsx +0 -58
  93. package/emails/index.ts +0 -5
  94. package/emails/shared/components/base-head.tsx +0 -19
  95. package/emails/shared/components/comment-component.tsx +0 -32
  96. package/emails/shared/components/footer.tsx +0 -84
  97. package/emails/shared/components/header.tsx +0 -24
  98. package/emails/shared/components/new-order-info.tsx +0 -60
  99. package/emails/shared/components/payment-amount.tsx +0 -37
  100. package/emails/shared/components/user-Info.tsx +0 -55
  101. package/emails/shared/index.ts +0 -3
  102. package/emails/shared/styles.ts +0 -72
  103. package/emails/shared/types.ts +0 -179
  104. package/emails/shared/values.ts +0 -19
package/dist/index.mjs CHANGED
@@ -46,7 +46,7 @@ var button = {
46
46
  display: "block",
47
47
  color: colors.white,
48
48
  padding: "15px 20px",
49
- width: "auto",
49
+ width: "fit-content",
50
50
  borderRadius: "8px",
51
51
  justifyContent: "center",
52
52
  margin: "0 auto",
@@ -71,16 +71,19 @@ import { Container, Img, Link } from "@react-email/components";
71
71
 
72
72
  // emails/shared/values.ts
73
73
  var appBaseUrl = `https://promote.co.mz`;
74
- var assetsBasePath = `https://s3.us-east-2.amazonaws.com/promote-mz.com/assets`;
74
+ var assetsBasePath = `https://s3.us-east-2.amazonaws.com/promote-co-mz/assets`;
75
75
  var appRoutes = {
76
76
  homePageRoute: `${appBaseUrl}/home`,
77
77
  creatorsList: `${appBaseUrl}/content-creators`,
78
78
  creatorPrivateProfile: `${appBaseUrl}/content-creators/profile`,
79
79
  termsAndConditions: `${appBaseUrl}/terms-and-conditions`,
80
+ jobsList: `${appBaseUrl}/jobs`,
80
81
  creatorOrderDetails: (orderId) => `${appBaseUrl}/content-creators/profile/orders/${orderId}`,
81
82
  brandOrderDetails: (orderId) => `${appBaseUrl}/brands/orders/${orderId}`,
83
+ brandJobDetails: (jobId) => `${appBaseUrl}/brands/jobs/${jobId}`,
82
84
  adminOrderDetails: (orderId) => `${appBaseUrl}/admin/orders/${orderId}`,
83
- creatorPublicProfile: (username) => `${appBaseUrl}/content-creators/${username}`
85
+ creatorPublicProfile: (username) => `${appBaseUrl}/content-creators/${username}`,
86
+ brandConversation: (conversationPath, chatRoomId) => `${appBaseUrl}/${conversationPath}?chatRoomId=${chatRoomId}`
84
87
  };
85
88
  var socialNetworkLinks = {
86
89
  linkedin: "https://www.linkedin.com/company/promotemz",
@@ -380,7 +383,7 @@ import { jsx as jsx9, jsxs as jsxs7 } from "react/jsx-runtime";
380
383
  function EvidencesSubmittedBrand(props) {
381
384
  return /* @__PURE__ */ jsxs7(Html4, { style: rootStyles, children: [
382
385
  /* @__PURE__ */ jsx9(BaseHead, {}),
383
- /* @__PURE__ */ jsx9(Preview4, { children: "Evid\xEAncias submetidas \u{1F195}" }),
386
+ /* @__PURE__ */ jsx9(Preview4, { children: "Materiais de Entrega submetidos \u{1F195}" }),
384
387
  /* @__PURE__ */ jsxs7(Body4, { style: { ...main, ...baseContainer }, children: [
385
388
  /* @__PURE__ */ jsx9(Header, {}),
386
389
  /* @__PURE__ */ jsx9(UserInfo, { photo: props.creator.photo, name: props.creator.name, userType: "creator" /* CREATOR */, username: props.creator.username }),
@@ -395,19 +398,19 @@ function EvidencesSubmittedBrand(props) {
395
398
  " ",
396
399
  /* @__PURE__ */ jsx9(Link7, { href: appRoutes.creatorPublicProfile(props.creator.username), target: "_blank", style: link, children: props.creator.name }),
397
400
  " ",
398
- "submeteu novas evid\xEAncias para o seu",
401
+ "submeteu novo material de entrega para o seu",
399
402
  " ",
400
403
  /* @__PURE__ */ jsx9(Link7, { href: appRoutes.brandOrderDetails(props.order.id), target: "_blank", style: link, children: "pedido. \u{1F680}" }),
401
404
  " ",
402
405
  /* @__PURE__ */ jsx9("br", {}),
403
- " Por favor, verifique as evid\xEAncias submetidas e ",
406
+ " Por favor, verifique os materiais de entrega submetidos e ",
404
407
  /* @__PURE__ */ jsx9("b", { children: "aprove \u2705" }),
405
408
  " ou ",
406
409
  /* @__PURE__ */ jsx9("b", { children: "rejeite \u274C" }),
407
410
  " o trabalho."
408
411
  ] })
409
412
  ] }),
410
- /* @__PURE__ */ jsx9(Container8, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx9(Link7, { href: appRoutes.brandOrderDetails(props.order.id), style: { ...button, width: "150px" }, children: "VER EVID\xCANCIAS" }) }),
413
+ /* @__PURE__ */ jsx9(Container8, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx9(Link7, { href: appRoutes.brandOrderDetails(props.order.id), style: { ...button, width: "150px" }, children: "VER MATERIAL" }) }),
411
414
  /* @__PURE__ */ jsx9(Footer, {})
412
415
  ] })
413
416
  ] });
@@ -438,7 +441,7 @@ import { jsx as jsx10, jsxs as jsxs8 } from "react/jsx-runtime";
438
441
  function NewOrderInfo(props) {
439
442
  return /* @__PURE__ */ jsxs8(Section2, { children: [
440
443
  /* @__PURE__ */ jsxs8(Row2, { style: rowItem, children: [
441
- /* @__PURE__ */ jsx10(Column2, { children: /* @__PURE__ */ jsx10(Text8, { style: leftText, children: "Paconte:" }) }),
444
+ /* @__PURE__ */ jsx10(Column2, { children: /* @__PURE__ */ jsx10(Text8, { style: leftText, children: "Pacote:" }) }),
442
445
  /* @__PURE__ */ jsx10(Column2, { align: "right", children: /* @__PURE__ */ jsx10(Text8, { style: rightText, children: props.packageName }) })
443
446
  ] }),
444
447
  /* @__PURE__ */ jsxs8(Row2, { style: rowItem, children: [
@@ -715,33 +718,166 @@ var reasonContainer2 = {
715
718
  margin: "30px 0"
716
719
  };
717
720
 
718
- // emails/creator/evidences-approved-creator.tsx
721
+ // emails/brand/new-job-created-brand.tsx
719
722
  import { Body as Body9, Container as Container14, Html as Html9, Link as Link12, Preview as Preview9, Text as Text14 } from "@react-email/components";
720
723
  import { jsx as jsx16, jsxs as jsxs14 } from "react/jsx-runtime";
721
- function EvidenceApprovedCreator(props) {
724
+ function NewJobCreatedBrand(props) {
722
725
  return /* @__PURE__ */ jsxs14(Html9, { style: rootStyles, children: [
723
726
  /* @__PURE__ */ jsx16(BaseHead, {}),
724
- /* @__PURE__ */ jsx16(Preview9, { children: "Evid\xEAncia aprovada \u2705" }),
727
+ /* @__PURE__ */ jsx16(Preview9, { children: "Novo Job Publicado" }),
725
728
  /* @__PURE__ */ jsxs14(Body9, { style: { ...main, ...baseContainer }, children: [
726
729
  /* @__PURE__ */ jsx16(Header, {}),
727
- /* @__PURE__ */ jsx16(UserInfo, { photo: props.brand.photo, name: props.brand.name, userType: "brand" /* BRAND */ }),
728
730
  /* @__PURE__ */ jsxs14(Container14, { style: { ...baseContentContainer }, children: [
729
731
  /* @__PURE__ */ jsxs14(Text14, { style: baseText, children: [
732
+ "Ol\xE1, ",
733
+ props.brand.name,
734
+ ","
735
+ ] }),
736
+ /* @__PURE__ */ jsxs14(Text14, { style: baseText, children: [
737
+ "Parab\xE9ns \u{1F389}, publicou com sucesso o novo job para a campanha ",
738
+ " ",
739
+ /* @__PURE__ */ jsxs14("span", { style: link, children: [
740
+ props.campaign.name,
741
+ "."
742
+ ] }),
743
+ /* @__PURE__ */ jsx16("br", {}),
744
+ " Por favor, revise os detalhes abaixo \u{1F680}:"
745
+ ] })
746
+ ] }),
747
+ /* @__PURE__ */ jsx16(Container14, { style: jobDetails, children: /* @__PURE__ */ jsx16(NewOrderInfo, { orderCreatedAt: props.job.createdAt, packageName: props.campaign.name, packagePrice: props.job.jobCommission }) }),
748
+ /* @__PURE__ */ jsx16(Container14, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx16(Link12, { href: appRoutes.brandJobDetails(props.job.id), style: { ...button, width: "120px" }, children: "VER JOB" }) }),
749
+ /* @__PURE__ */ jsx16(Footer, {})
750
+ ] })
751
+ ] });
752
+ }
753
+ NewJobCreatedBrand.PreviewProps = {
754
+ brand: {
755
+ name: "Vodacom Mz"
756
+ },
757
+ campaign: {
758
+ name: "Megas ate dormir",
759
+ description: "Ganhe megas so por publicar uma foto com a vodacom"
760
+ },
761
+ job: {
762
+ id: "1",
763
+ createdAt: "20 de Agosto, 2021",
764
+ jobCommission: "1000"
765
+ }
766
+ };
767
+ var jobDetails = {
768
+ ...baseContentContainer,
769
+ marginTop: "30px",
770
+ marginBottom: "40px"
771
+ };
772
+
773
+ // emails/brand/new-job-application-received-brand.tsx
774
+ import { Body as Body10, Container as Container15, Html as Html10, Link as Link13, Preview as Preview10, Text as Text15 } from "@react-email/components";
775
+ import { jsx as jsx17, jsxs as jsxs15 } from "react/jsx-runtime";
776
+ function NewJobApplicationsReceivedBrand(props) {
777
+ return /* @__PURE__ */ jsxs15(Html10, { style: rootStyles, children: [
778
+ /* @__PURE__ */ jsx17(BaseHead, {}),
779
+ /* @__PURE__ */ jsx17(Preview10, { children: "Nova Candidatura Recebida para o Job" }),
780
+ /* @__PURE__ */ jsxs15(Body10, { style: { ...main, ...baseContainer }, children: [
781
+ /* @__PURE__ */ jsx17(Header, {}),
782
+ /* @__PURE__ */ jsxs15(Container15, { style: { ...baseContentContainer }, children: [
783
+ /* @__PURE__ */ jsxs15(Text15, { style: baseText, children: [
784
+ "Ol\xE1, ",
785
+ props.brand.name,
786
+ ","
787
+ ] }),
788
+ /* @__PURE__ */ jsxs15(Text15, { style: baseText, children: [
789
+ "Voc\xEA recebeu uma nova candidatura para o job da campanha",
790
+ " ",
791
+ /* @__PURE__ */ jsxs15("span", { style: link, children: [
792
+ props.campaign.name,
793
+ "."
794
+ ] }),
795
+ /* @__PURE__ */ jsx17("br", {}),
796
+ " Revise os detalhes da candidatura abaixo \u{1F680}:"
797
+ ] })
798
+ ] }),
799
+ /* @__PURE__ */ jsx17(
800
+ UserInfo,
801
+ {
802
+ photo: props.creatorCandidate.photo,
803
+ name: props.creatorCandidate.name,
804
+ userType: "creator" /* CREATOR */,
805
+ username: props.creatorCandidate.username
806
+ }
807
+ ),
808
+ /* @__PURE__ */ jsxs15(Container15, { style: jobDetails2, children: [
809
+ /* @__PURE__ */ jsxs15(Text15, { style: baseText, children: [
810
+ /* @__PURE__ */ jsx17("strong", { children: "Or\xE7amento desejado:" }),
811
+ " ",
812
+ props.jobApplication.desired_budget ? `MZN ${props.jobApplication.desired_budget}` : "N\xE3o informado"
813
+ ] }),
814
+ /* @__PURE__ */ jsxs15(Text15, { style: baseText, children: [
815
+ /* @__PURE__ */ jsx17("strong", { children: "Observa\xE7\xF5es:" }),
816
+ " ",
817
+ props.jobApplication.observations || "Nenhuma observa\xE7\xE3o"
818
+ ] })
819
+ ] }),
820
+ /* @__PURE__ */ jsx17(Container15, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx17(Link13, { href: appRoutes.brandJobDetails(props.job.id), style: { ...button }, children: "VER CANDIDATURA" }) }),
821
+ /* @__PURE__ */ jsx17(Footer, {})
822
+ ] })
823
+ ] });
824
+ }
825
+ NewJobApplicationsReceivedBrand.PreviewProps = {
826
+ brand: {
827
+ name: "Vodacom Mz"
828
+ },
829
+ campaign: {
830
+ name: "Megas at\xE9 Dormir",
831
+ description: "Ganhe megas s\xF3 por publicar uma foto com a Vodacom"
832
+ },
833
+ job: {
834
+ id: "1",
835
+ jobCommission: "1000"
836
+ },
837
+ jobApplication: {
838
+ id: "1",
839
+ desired_budget: 1500,
840
+ observations: "Gostaria de discutir mais sobre os requisitos da campanha."
841
+ },
842
+ creatorCandidate: {
843
+ name: "Jo\xE3o Silva",
844
+ photo: "https://s3.us-east-2.amazonaws.com/promote-mz.com/images/creator-photo.jpg",
845
+ username: "joaosilva"
846
+ }
847
+ };
848
+ var jobDetails2 = {
849
+ ...baseContentContainer,
850
+ marginTop: "30px",
851
+ marginBottom: "40px"
852
+ };
853
+
854
+ // emails/creator/evidences-approved-creator.tsx
855
+ import { Body as Body11, Container as Container16, Html as Html11, Link as Link14, Preview as Preview11, Text as Text16 } from "@react-email/components";
856
+ import { jsx as jsx18, jsxs as jsxs16 } from "react/jsx-runtime";
857
+ function EvidenceApprovedCreator(props) {
858
+ return /* @__PURE__ */ jsxs16(Html11, { style: rootStyles, children: [
859
+ /* @__PURE__ */ jsx18(BaseHead, {}),
860
+ /* @__PURE__ */ jsx18(Preview11, { children: "Material de Entrega aprovado \u2705" }),
861
+ /* @__PURE__ */ jsxs16(Body11, { style: { ...main, ...baseContainer }, children: [
862
+ /* @__PURE__ */ jsx18(Header, {}),
863
+ /* @__PURE__ */ jsx18(UserInfo, { photo: props.brand.photo, name: props.brand.name, userType: "brand" /* BRAND */ }),
864
+ /* @__PURE__ */ jsxs16(Container16, { style: { ...baseContentContainer }, children: [
865
+ /* @__PURE__ */ jsxs16(Text16, { style: baseText, children: [
730
866
  "Ol\xE1, ",
731
867
  props.creator.name,
732
868
  " \u{1F38A},"
733
869
  ] }),
734
- /* @__PURE__ */ jsxs14(Text14, { style: baseText, children: [
735
- "Actualiza\xE7\xF5es, a",
870
+ /* @__PURE__ */ jsxs16(Text16, { style: baseText, children: [
871
+ "Actualiza\xE7\xF5es, o",
736
872
  " ",
737
- /* @__PURE__ */ jsx16(Link12, { href: appRoutes.creatorOrderDetails(props.evidenceLink), target: "_blank", style: link, children: "evid\xEAncia" }),
873
+ /* @__PURE__ */ jsx18(Link14, { href: appRoutes.creatorOrderDetails(props.evidenceLink), target: "_blank", style: link, children: "material de entrega" }),
738
874
  " ",
739
- "que submeteste foi aprovada pela marca \u{1F389}."
875
+ "que submeteste foi aprovado pela marca \u{1F389}."
740
876
  ] }),
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" })
877
+ /* @__PURE__ */ jsx18(Text16, { 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
878
  ] }),
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, {})
879
+ /* @__PURE__ */ jsx18(Container16, { style: { ...baseContentContainer, marginTop: "25px" }, children: /* @__PURE__ */ jsx18(Link14, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "150px" }, children: "VER PEDIDO" }) }),
880
+ /* @__PURE__ */ jsx18(Footer, {})
745
881
  ] })
746
882
  ] });
747
883
  }
@@ -760,34 +896,34 @@ EvidenceApprovedCreator.PreviewProps = {
760
896
  };
761
897
 
762
898
  // 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";
899
+ import { Body as Body12, Container as Container17, Html as Html12, Link as Link15, Preview as Preview12, Text as Text17 } from "@react-email/components";
900
+ import { jsx as jsx19, jsxs as jsxs17 } from "react/jsx-runtime";
765
901
  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: [
902
+ return /* @__PURE__ */ jsxs17(Html12, { style: rootStyles, children: [
903
+ /* @__PURE__ */ jsx19(BaseHead, {}),
904
+ /* @__PURE__ */ jsx19(Preview12, { children: "Evi\xEAncia rejeitada \u274C" }),
905
+ /* @__PURE__ */ jsxs17(Body12, { style: { ...main, ...baseContainer }, children: [
906
+ /* @__PURE__ */ jsx19(Header, {}),
907
+ /* @__PURE__ */ jsx19(UserInfo, { photo: props.brand.photo, name: props.brand.name, userType: "brand" /* BRAND */ }),
908
+ /* @__PURE__ */ jsxs17(Container17, { style: { ...baseContentContainer }, children: [
909
+ /* @__PURE__ */ jsxs17(Text17, { style: baseText, children: [
774
910
  "Ol\xE1, ",
775
911
  props.creator.name,
776
912
  ","
777
913
  ] }),
778
- /* @__PURE__ */ jsxs15(Text15, { style: baseText, children: [
779
- "A",
914
+ /* @__PURE__ */ jsxs17(Text17, { style: baseText, children: [
915
+ "O",
780
916
  " ",
781
- /* @__PURE__ */ jsx17(Link13, { href: props.evidenceLink, target: "_blank", style: link, children: "evid\xEAncia" }),
917
+ /* @__PURE__ */ jsx19(Link15, { href: props.evidenceLink, target: "_blank", style: link, children: "material de entrega" }),
782
918
  " ",
783
919
  "foi rejeitada \u274C pela marca.",
784
- /* @__PURE__ */ jsx17("br", {}),
920
+ /* @__PURE__ */ jsx19("br", {}),
785
921
  "Por favor, reveja o motivo da rejei\xE7\xE3o e submeta novamente."
786
922
  ] })
787
923
  ] }),
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, {})
924
+ props.reason && /* @__PURE__ */ jsx19("div", { style: reasonContainer3, children: /* @__PURE__ */ jsx19(CommentComponent, { title: "Motivo da rejei\xE7\xE3o:", comment: props.reason, danger: true }) }),
925
+ /* @__PURE__ */ jsx19(Container17, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx19(Link15, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "200px" }, children: "VER PEDIDO" }) }),
926
+ /* @__PURE__ */ jsx19(Footer, {})
791
927
  ] })
792
928
  ] });
793
929
  }
@@ -812,37 +948,37 @@ var reasonContainer3 = {
812
948
  };
813
949
 
814
950
  // 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";
951
+ import { Body as Body13, Container as Container18, Html as Html13, Link as Link16, Preview as Preview13, Text as Text18 } from "@react-email/components";
952
+ import { jsx as jsx20, jsxs as jsxs18 } from "react/jsx-runtime";
817
953
  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: [
954
+ return /* @__PURE__ */ jsxs18(Html13, { style: rootStyles, children: [
955
+ /* @__PURE__ */ jsx20(BaseHead, {}),
956
+ /* @__PURE__ */ jsx20(Preview13, { children: "Pedido cancelado \u274C" }),
957
+ /* @__PURE__ */ jsxs18(Body13, { style: { ...main, ...baseContainer }, children: [
958
+ /* @__PURE__ */ jsx20(Header, {}),
959
+ /* @__PURE__ */ jsx20(UserInfo, { photo: `${assetsBasePath}/icons/logo-icon-colored.png`, name: "Promote Team", userType: "brand" /* BRAND */ }),
960
+ /* @__PURE__ */ jsxs18(Container18, { style: { ...baseContentContainer }, children: [
961
+ /* @__PURE__ */ jsxs18(Text18, { style: baseText, children: [
826
962
  "Ol\xE1, ",
827
963
  props.creator.name,
828
964
  ","
829
965
  ] }),
830
- /* @__PURE__ */ jsxs16(Text16, { style: baseText, children: [
966
+ /* @__PURE__ */ jsxs18(Text18, { style: baseText, children: [
831
967
  "Infelizmente o",
832
968
  " ",
833
- /* @__PURE__ */ jsxs16(Link14, { href: appRoutes.creatorOrderDetails(props.order.id), target: "_blank", style: link, children: [
969
+ /* @__PURE__ */ jsxs18(Link16, { href: appRoutes.creatorOrderDetails(props.order.id), target: "_blank", style: link, children: [
834
970
  "pedido #",
835
971
  props.order.id
836
972
  ] }),
837
973
  " ",
838
974
  "foi cancelado \u274C antes da sua conclus\xE3o.",
839
- /* @__PURE__ */ jsx18("br", {}),
975
+ /* @__PURE__ */ jsx20("br", {}),
840
976
  "Agradecemos a sua disponibilidade e esperamos que a pr\xF3xima oportunidade seja um sucesso \u{1F44C}\u{1F3FD}\u{1F44C}\u{1F3FD}!"
841
977
  ] })
842
978
  ] }),
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, {})
979
+ props.reason && /* @__PURE__ */ jsx20("div", { style: reasonContainer4, children: /* @__PURE__ */ jsx20(CommentComponent, { title: "Motivo do cancelamento:", comment: props.reason, danger: true }) }),
980
+ /* @__PURE__ */ jsx20(Container18, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx20(Link16, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "150px" }, children: "VER PEDIDO" }) }),
981
+ /* @__PURE__ */ jsx20(Footer, {})
846
982
  ] })
847
983
  ] });
848
984
  }
@@ -862,35 +998,35 @@ var reasonContainer4 = {
862
998
  };
863
999
 
864
1000
  // 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";
1001
+ import { Body as Body14, Container as Container19, Html as Html14, Link as Link17, Preview as Preview14, Text as Text19 } from "@react-email/components";
1002
+ import { jsx as jsx21, jsxs as jsxs19 } from "react/jsx-runtime";
867
1003
  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: [
1004
+ return /* @__PURE__ */ jsxs19(Html14, { style: rootStyles, children: [
1005
+ /* @__PURE__ */ jsx21(BaseHead, {}),
1006
+ /* @__PURE__ */ jsx21(Preview14, { children: "Pagamento Liberado \u2705" }),
1007
+ /* @__PURE__ */ jsxs19(Body14, { style: { ...main, ...baseContainer }, children: [
1008
+ /* @__PURE__ */ jsx21(Header, {}),
1009
+ /* @__PURE__ */ jsx21(UserInfo, { photo: `${assetsBasePath}/icons/logo-icon-colored.png`, name: "Promote Team", userType: "brand" /* BRAND */ }),
1010
+ /* @__PURE__ */ jsxs19(Container19, { style: { ...baseContentContainer }, children: [
1011
+ /* @__PURE__ */ jsxs19(Text19, { style: baseText, children: [
876
1012
  "Ol\xE1, ",
877
1013
  props.creator.name,
878
1014
  " \u{1F38A},"
879
1015
  ] }),
880
- /* @__PURE__ */ jsxs17(Text17, { style: baseText, children: [
1016
+ /* @__PURE__ */ jsxs19(Text19, { style: baseText, children: [
881
1017
  "Boas Not\xEDcias \u{1F389}, est\xE1 em processamento o pagamento da",
882
1018
  " ",
883
- /* @__PURE__ */ jsxs17(Link15, { href: appRoutes.creatorOrderDetails(props.order.id), target: "_blank", style: link, children: [
1019
+ /* @__PURE__ */ jsxs19(Link17, { href: appRoutes.creatorOrderDetails(props.order.id), target: "_blank", style: link, children: [
884
1020
  "ordem #",
885
1021
  props.order.id
886
1022
  ] }),
887
1023
  " "
888
1024
  ] }),
889
- /* @__PURE__ */ jsx19(Text17, { style: baseText, children: "Espera-se que dentro de 24h o pagamento seja conclu\xEDdo, agradecemos por confiar na Promote." })
1025
+ /* @__PURE__ */ jsx21(Text19, { style: baseText, children: "Espera-se que dentro de 24h o pagamento seja conclu\xEDdo, agradecemos por confiar na Promote." })
890
1026
  ] }),
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, {})
1027
+ /* @__PURE__ */ jsx21(PaymentAmount, { totalAmount: props.totalAmount }),
1028
+ /* @__PURE__ */ jsx21(Container19, { style: { ...baseContentContainer, marginTop: "25px" }, children: /* @__PURE__ */ jsx21(Link17, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "150px" }, children: "VER PEDIDO" }) }),
1029
+ /* @__PURE__ */ jsx21(Footer, {})
894
1030
  ] })
895
1031
  ] });
896
1032
  }
@@ -905,32 +1041,32 @@ OrderPaymentCreator.PreviewProps = {
905
1041
  };
906
1042
 
907
1043
  // 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";
1044
+ import { Body as Body15, Container as Container20, Html as Html15, Link as Link18, Preview as Preview15, Text as Text20 } from "@react-email/components";
1045
+ import { jsx as jsx22, jsxs as jsxs20 } from "react/jsx-runtime";
910
1046
  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: [
1047
+ return /* @__PURE__ */ jsxs20(Html15, { style: rootStyles, children: [
1048
+ /* @__PURE__ */ jsx22(BaseHead, {}),
1049
+ /* @__PURE__ */ jsx22(Preview15, { children: "Novo Pedido Recebido" }),
1050
+ /* @__PURE__ */ jsxs20(Body15, { style: { ...main, ...baseContainer }, children: [
1051
+ /* @__PURE__ */ jsx22(Header, {}),
1052
+ /* @__PURE__ */ jsx22(UserInfo, { photo: props.brand.photo, name: props.brand.name, userType: "brand" /* BRAND */ }),
1053
+ /* @__PURE__ */ jsxs20(Container20, { style: { ...baseContentContainer }, children: [
1054
+ /* @__PURE__ */ jsxs20(Text20, { style: baseText, children: [
919
1055
  "Ol\xE1, ",
920
1056
  props.creator.name,
921
1057
  ","
922
1058
  ] }),
923
- /* @__PURE__ */ jsxs18(Text18, { style: baseText, children: [
1059
+ /* @__PURE__ */ jsxs20(Text20, { style: baseText, children: [
924
1060
  "Parab\xE9ns \u{1F389}, voc\xEA recebeu um novo pedido da empresa ",
925
- /* @__PURE__ */ jsx20("span", { style: { color: colors.primary }, children: props.brand.name }),
1061
+ /* @__PURE__ */ jsx22("span", { style: { color: colors.primary }, children: props.brand.name }),
926
1062
  ".",
927
- /* @__PURE__ */ jsx20("br", {}),
1063
+ /* @__PURE__ */ jsx22("br", {}),
928
1064
  " Por favor, revise os detalhes abaixo \u{1F680}:"
929
1065
  ] })
930
1066
  ] }),
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, {})
1067
+ /* @__PURE__ */ jsx22(Container20, { style: orderDetails2, children: /* @__PURE__ */ jsx22(NewOrderInfo, { orderCreatedAt: props.order.createdAt, packageName: props.package.name, packagePrice: props.package.price }) }),
1068
+ /* @__PURE__ */ jsx22(Container20, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx22(Link18, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "120px" }, children: "VER PEDIDO" }) }),
1069
+ /* @__PURE__ */ jsx22(Footer, {})
934
1070
  ] })
935
1071
  ] });
936
1072
  }
@@ -957,51 +1093,112 @@ var orderDetails2 = {
957
1093
  marginBottom: "40px"
958
1094
  };
959
1095
 
1096
+ // emails/creator/new-job-application-unapproved-creator.tsx
1097
+ import { Body as Body16, Container as Container21, Html as Html16, Link as Link19, Preview as Preview16, Text as Text21 } from "@react-email/components";
1098
+ import { jsx as jsx23, jsxs as jsxs21 } from "react/jsx-runtime";
1099
+ function NewJobApplicationUnapprovedCreator(props) {
1100
+ return /* @__PURE__ */ jsxs21(Html16, { style: rootStyles, children: [
1101
+ /* @__PURE__ */ jsx23(BaseHead, {}),
1102
+ /* @__PURE__ */ jsx23(Preview16, { children: "Actualiza\xE7\xE3o sobre sua candidatura ao job" }),
1103
+ /* @__PURE__ */ jsxs21(Body16, { style: { ...main, ...baseContainer }, children: [
1104
+ /* @__PURE__ */ jsx23(Header, {}),
1105
+ /* @__PURE__ */ jsxs21(Container21, { style: { ...baseContentContainer }, children: [
1106
+ /* @__PURE__ */ jsxs21(Text21, { style: baseText2, children: [
1107
+ "Ol\xE1, ",
1108
+ props.creator.name,
1109
+ ","
1110
+ ] }),
1111
+ /* @__PURE__ */ jsxs21(Text21, { style: baseText2, children: [
1112
+ "Infelizmente, sua candidatura para o job da campanha",
1113
+ " ",
1114
+ /* @__PURE__ */ jsx23("span", { style: link, children: props.campaign.name }),
1115
+ " n\xE3o foi aprovada.",
1116
+ /* @__PURE__ */ jsx23("br", {}),
1117
+ "Agradecemos por seu interesse e participa\xE7\xE3o!"
1118
+ ] }),
1119
+ props.jobApplication.rejectionReason && /* @__PURE__ */ jsxs21(Text21, { style: baseText2, children: [
1120
+ /* @__PURE__ */ jsx23("strong", { children: "Motivo:" }),
1121
+ " ",
1122
+ props.jobApplication.rejectionReason
1123
+ ] }),
1124
+ /* @__PURE__ */ jsx23(Text21, { style: baseText2, children: "N\xE3o desanime! Continue acompanhando outras oportunidades que possam surgir na plataforma. \u{1F680}" })
1125
+ ] }),
1126
+ /* @__PURE__ */ jsx23(Container21, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx23(Link19, { href: appRoutes.jobsList, style: { ...button }, children: "VER OUTRAS OPORTUNIDADES" }) }),
1127
+ /* @__PURE__ */ jsx23(Footer, {})
1128
+ ] })
1129
+ ] });
1130
+ }
1131
+ NewJobApplicationUnapprovedCreator.PreviewProps = {
1132
+ creator: {
1133
+ name: "K\xE1tia Vanessa",
1134
+ email: "katia@example.com"
1135
+ },
1136
+ campaign: {
1137
+ name: "Megas at\xE9 Dormir",
1138
+ description: "Ganhe megas s\xF3 por publicar uma foto com a Vodacom"
1139
+ },
1140
+ jobApplication: {
1141
+ id: "1",
1142
+ rejectionReason: "N\xE3o atingiu os requisitos esperados para o job."
1143
+ }
1144
+ };
1145
+ var baseText2 = {
1146
+ fontSize: "16px",
1147
+ lineHeight: "24px",
1148
+ color: "#333"
1149
+ };
1150
+
960
1151
  // 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";
1152
+ import { Body as Body17, Container as Container22, Heading as Heading3, Html as Html17, Img as Img4, Link as Link20, Preview as Preview17, Text as Text22 } from "@react-email/components";
1153
+ import { jsx as jsx24, jsxs as jsxs22 } from "react/jsx-runtime";
963
1154
  function Welcome({ name, userType }) {
964
1155
  const content2 = {
965
1156
  ["brand" /* BRAND */]: {
966
1157
  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."
1158
+ description: `Agora fazes parte da Promote, a primeira plataforma de Conte\xFAdo Gerado pelo Usu\xE1rio (UGC) em Mo\xE7ambique.
1159
+ Como Marca, podes conectar-te com criadores e escolher os que melhor se alinham \xE0 tua vis\xE3o para criar o conte\xFAdo ideal.
1160
+
1161
+ Agradecemos pelo teu registo e vamos manter-te informado sobre atualiza\xE7\xF5es e o lan\xE7amento oficial.`
968
1162
  },
969
1163
  ["creator" /* CREATOR */]: {
970
1164
  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."
1165
+ description: `Parab\xE9ns! Agora fazes parte da Promote, a primeira plataforma de Conte\xFAdo Gerado pelo Usu\xE1rio (UGC) em Mo\xE7ambique.
1166
+ Como Criador, vais poder conectar-te com marcas e ag\xEAncias, mostrar o teu talento e candidatar-te a diversos projectos.
1167
+
1168
+ Agradecemos pelo teu registo e vamos manter-te informado sobre novidades e o lan\xE7amento oficial.`
972
1169
  }
973
1170
  };
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 })
1171
+ return /* @__PURE__ */ jsxs22(Html17, { style: rootStyles, children: [
1172
+ /* @__PURE__ */ jsx24(BaseHead, {}),
1173
+ /* @__PURE__ */ jsx24(Preview17, { children: "Bem-vindo \xE0 Promote" }),
1174
+ /* @__PURE__ */ jsxs22(Body17, { style: { ...main, ...baseContainer }, children: [
1175
+ /* @__PURE__ */ jsxs22(Container22, { style: headContainer, children: [
1176
+ /* @__PURE__ */ jsx24(Img4, { src: `${assetsBasePath}/icons/logo-icon.png`, alt: "Promote Logo", style: promoteLogo }),
1177
+ /* @__PURE__ */ jsx24(Img4, { src: `${assetsBasePath}/icons/welcome-title.png`, alt: "Bem-vindo \xE0 Promote", style: welcomeImage })
981
1178
  ] }),
982
- /* @__PURE__ */ jsxs19(Container19, { style: baseContentContainer, children: [
983
- /* @__PURE__ */ jsxs19(Heading3, { as: "h1", style: title3, children: [
1179
+ /* @__PURE__ */ jsxs22(Container22, { style: baseContentContainer, children: [
1180
+ /* @__PURE__ */ jsxs22(Heading3, { as: "h1", style: title3, children: [
984
1181
  "Ol\xE1 ",
985
1182
  name || "{{nome}}",
986
1183
  " \u{1F389},"
987
1184
  ] }),
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:",
1185
+ /* @__PURE__ */ jsx24(Text22, { style: textInfo, children: content2[userType]?.description }),
1186
+ /* @__PURE__ */ jsxs22(Text22, { style: textInfo, children: [
1187
+ "Se tiveres alguma d\xFAvida ou sugest\xE3o, n\xE3o hesites em contactar-nos atrav\xE9s do e-mail:",
991
1188
  " ",
992
- /* @__PURE__ */ jsx21(Link17, { style: link, href: "mailto:help@promote.co.mz", children: "help@promote.co.mz" }),
1189
+ /* @__PURE__ */ jsx24(Link20, { style: link, href: "mailto:help@promote.co.mz", children: "help@promote.co.mz" }),
993
1190
  " ",
994
1191
  "\u{1F680}"
995
1192
  ] })
996
1193
  ] }),
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, {})
1194
+ /* @__PURE__ */ jsx24(Container22, { style: baseContentContainer, children: userType && /* @__PURE__ */ jsx24(Link20, { href: content2[userType]?.startLink, style: { ...button, width: "150px" }, children: "COME\xC7AR AGORA" }) }),
1195
+ /* @__PURE__ */ jsx24(Footer, {})
999
1196
  ] })
1000
1197
  ] });
1001
1198
  }
1002
1199
  Welcome.PreviewProps = {
1003
- name: "Jo\xE3o ant\xF3nio",
1004
- userType: "brand" /* BRAND */
1200
+ name: "Jo\xE3o Ant\xF3nio",
1201
+ userType: "creator" /* CREATOR */
1005
1202
  };
1006
1203
  var headContainer = {
1007
1204
  ...baseContentContainer,
@@ -1033,13 +1230,71 @@ var title3 = {
1033
1230
  var textInfo = {
1034
1231
  ...baseText,
1035
1232
  marginTop: "20px",
1233
+ marginBottom: "20px",
1234
+ textAlign: "justify",
1235
+ whiteSpace: "pre-line"
1236
+ };
1237
+
1238
+ // emails/all/new-message-notification.tsx
1239
+ import { Body as Body18, Container as Container23, Html as Html18, Link as Link21, Preview as Preview18, Text as Text23 } from "@react-email/components";
1240
+ import { jsx as jsx25, jsxs as jsxs23 } from "react/jsx-runtime";
1241
+ function NewMessageNotification(props) {
1242
+ return /* @__PURE__ */ jsxs23(Html18, { style: rootStyles, children: [
1243
+ /* @__PURE__ */ jsx25(BaseHead, {}),
1244
+ /* @__PURE__ */ jsx25(Preview18, { children: "Nova mensagem recebida \u{1F195}" }),
1245
+ /* @__PURE__ */ jsxs23(Body18, { style: { ...main, ...baseContainer }, children: [
1246
+ /* @__PURE__ */ jsx25(Header, {}),
1247
+ /* @__PURE__ */ jsx25(UserInfo, { photo: props.sender.photo, name: props.sender.name, userType: props.sender.userType, username: props.sender.username }),
1248
+ /* @__PURE__ */ jsxs23(Container23, { style: { ...baseContentContainer }, children: [
1249
+ /* @__PURE__ */ jsxs23(Text23, { style: baseText, children: [
1250
+ "Ol\xE1, ",
1251
+ props.recipient.name,
1252
+ ","
1253
+ ] }),
1254
+ /* @__PURE__ */ jsxs23(Text23, { style: baseText, children: [
1255
+ "Voc\xEA recebeu uma nova mensagem de ",
1256
+ /* @__PURE__ */ jsx25("span", { style: link, children: props.sender.name }),
1257
+ /* @__PURE__ */ jsx25("br", {}),
1258
+ " Veja o conte\xFAdo da mensagem abaixo:"
1259
+ ] })
1260
+ ] }),
1261
+ /* @__PURE__ */ jsx25(Container23, { style: messageContainer, children: /* @__PURE__ */ jsx25(CommentComponent, { title: `Mensagem enviada em ${props.message.createdAt}:`, comment: props.message.content }) }),
1262
+ /* @__PURE__ */ jsx25(Container23, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx25(Link21, { href: `${appRoutes.brandConversation(props.conversationPath, props.chatRoomId)}`, style: { ...button, width: "150px" }, children: "VER CONVERSA" }) }),
1263
+ /* @__PURE__ */ jsx25(Footer, {})
1264
+ ] })
1265
+ ] });
1266
+ }
1267
+ var messageContainer = {
1268
+ ...baseContentContainer,
1269
+ marginTop: "20px",
1036
1270
  marginBottom: "20px"
1037
1271
  };
1272
+ NewMessageNotification.PreviewProps = {
1273
+ recipient: {
1274
+ name: "Jo\xE3o Ant\xF3nio"
1275
+ },
1276
+ sender: {
1277
+ name: "Promote",
1278
+ photo: "https://s3.us-east-2.amazonaws.com/promote-mz.com/images/8c52bb92-4a8b-472f-89cb-0428b90b8b74.jpg",
1279
+ userType: "brand" /* BRAND */,
1280
+ username: "promote"
1281
+ },
1282
+ message: {
1283
+ content: "Ol\xE1, Jo\xE3o Ant\xF3nio, tudo bem? Estou a ver a sua proposta e gostaria de saber se poderia me enviar mais informa\xE7\xF5es sobre o projeto.",
1284
+ createdAt: "10 Janeiro de 2025 \xE0s 14:30"
1285
+ },
1286
+ conversationPath: "/conversations",
1287
+ chatRoomId: "123"
1288
+ };
1038
1289
  export {
1039
1290
  AbortOrderRequest,
1040
1291
  EvidenceApprovedCreator,
1041
1292
  EvidencesRejectedCreator,
1042
1293
  EvidencesSubmittedBrand,
1294
+ NewJobApplicationUnapprovedCreator,
1295
+ NewJobApplicationsReceivedBrand,
1296
+ NewJobCreatedBrand,
1297
+ NewMessageNotification,
1043
1298
  NewOrderCreatedBrand,
1044
1299
  NewOrderCreatedCreator,
1045
1300
  OrderAcceptedBrand,