@sharadox/sharadox-web-library 0.45.0 → 0.46.0
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/distribution/action/send-contact/index.d.ts +3 -2
- package/distribution/action/send-contact/index.d.ts.map +1 -1
- package/distribution/action/send-contact/index.js +5 -3
- package/distribution/action/send-contact/index.js.map +1 -1
- package/distribution/content/contact/index.d.ts +27 -19
- package/distribution/content/contact/index.d.ts.map +1 -1
- package/distribution/content/contact/index.js +2 -0
- package/distribution/content/contact/index.js.map +1 -1
- package/distribution/content/email-design/index.d.ts +9 -0
- package/distribution/content/email-design/index.d.ts.map +1 -0
- package/distribution/content/email-design/index.js +39 -0
- package/distribution/content/email-design/index.js.map +1 -0
- package/distribution/content/email-logo/index.d.ts +4 -4
- package/distribution/content/email-logo/index.js +4 -4
- package/distribution/content/email-logo/index.js.map +1 -1
- package/distribution/utility/sharadox-email/index.d.ts +14 -0
- package/distribution/utility/sharadox-email/index.d.ts.map +1 -0
- package/distribution/utility/sharadox-email/index.js +18 -0
- package/distribution/utility/sharadox-email/index.js.map +1 -0
- package/llms.txt +1 -0
- package/package.json +3 -3
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
* The contact form's work, called by the application's server action (which adds the visitor's IP address). It
|
|
3
3
|
* emails contact@sharadox.com from contact@web.sharadox.com, on the sending subdomain (`EMAIL_SENDER_ADDRESS`, through
|
|
4
4
|
* Amazon SES over SMTP: `EMAIL_SERVER_*`) as "Sharadox Web Application", with the subject
|
|
5
|
-
* "Sharadox Web Application · Contact · Name (Company)" and the visitor as reply-to. The email
|
|
6
|
-
*
|
|
5
|
+
* "Sharadox Web Application · Contact · Name (Company)" and the visitor as reply-to. The email, in Sharadox's design
|
|
6
|
+
* (SHARADOX_EMAIL), holds every detail, the message, a button to answer, the form's page, the language, the time
|
|
7
|
+
* and the IP. A visitor who
|
|
7
8
|
* left an email gets an automatic reply in their language. It needs a name, an email or a phone, at least one choice
|
|
8
9
|
* and a message of at least `CONTACT.minimumMessageLength` characters. Each address may send 5 messages an hour and
|
|
9
10
|
* everyone together 50 emails a day, which caps what a flood can cost.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/action/send-contact/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/action/send-contact/index.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,WAAW,gHAYtB,CAAC"}
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { createContactAction } from "@sharadox/form-web-library/contact-action";
|
|
2
2
|
import { EMAIL_LOGO } from "@sharadox/sharadox-web-library/content/email-logo";
|
|
3
|
+
import { SHARADOX_EMAIL } from "@sharadox/sharadox-web-library/content/email-design";
|
|
3
4
|
import { CONTACT } from "@sharadox/sharadox-web-library/content/contact";
|
|
4
5
|
import { SITE } from "@sharadox/sharadox-web-library/content/site";
|
|
5
6
|
/**
|
|
6
7
|
* The contact form's work, called by the application's server action (which adds the visitor's IP address). It
|
|
7
8
|
* emails contact@sharadox.com from contact@web.sharadox.com, on the sending subdomain (`EMAIL_SENDER_ADDRESS`, through
|
|
8
9
|
* Amazon SES over SMTP: `EMAIL_SERVER_*`) as "Sharadox Web Application", with the subject
|
|
9
|
-
* "Sharadox Web Application · Contact · Name (Company)" and the visitor as reply-to. The email
|
|
10
|
-
*
|
|
10
|
+
* "Sharadox Web Application · Contact · Name (Company)" and the visitor as reply-to. The email, in Sharadox's design
|
|
11
|
+
* (SHARADOX_EMAIL), holds every detail, the message, a button to answer, the form's page, the language, the time
|
|
12
|
+
* and the IP. A visitor who
|
|
11
13
|
* left an email gets an automatic reply in their language. It needs a name, an email or a phone, at least one choice
|
|
12
14
|
* and a message of at least `CONTACT.minimumMessageLength` characters. Each address may send 5 messages an hour and
|
|
13
15
|
* everyone together 50 emails a day, which caps what a flood can cost.
|
|
@@ -17,7 +19,7 @@ export const sendContact = createContactAction({
|
|
|
17
19
|
company: CONTACT.sender,
|
|
18
20
|
site: "sharadox.com",
|
|
19
21
|
logo: async () => ({ ...EMAIL_LOGO, content: Buffer.from(EMAIL_LOGO.content, "base64") }),
|
|
20
|
-
|
|
22
|
+
design: SHARADOX_EMAIL,
|
|
21
23
|
acknowledgement: CONTACT.acknowledgement,
|
|
22
24
|
choices: Object.fromEntries(CONTACT.needs.options.map((need) => [need.key, need.en])),
|
|
23
25
|
// The same rules the form checks before sending.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/action/send-contact/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAChF,OAAO,EAAE,UAAU,EAAE,MAAM,mDAAmD,CAAC;AAC/E,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,EAAE,IAAI,EAAE,MAAM,6CAA6C,CAAC;AAEnE
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/action/send-contact/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAChF,OAAO,EAAE,UAAU,EAAE,MAAM,mDAAmD,CAAC;AAC/E,OAAO,EAAE,cAAc,EAAE,MAAM,qDAAqD,CAAC;AACrF,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,EAAE,IAAI,EAAE,MAAM,6CAA6C,CAAC;AAEnE;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,mBAAmB,CAAC;IAC7C,EAAE,EAAE,IAAI,CAAC,KAAK;IACd,OAAO,EAAE,OAAO,CAAC,MAAM;IACvB,IAAI,EAAE,cAAc;IACpB,IAAI,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC,EAAE,GAAG,UAAU,EAAE,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,OAAO,EAAE,QAAQ,CAAC,EAAE,CAAC;IACzF,MAAM,EAAE,cAAc;IACtB,eAAe,EAAE,OAAO,CAAC,eAAe;IACxC,OAAO,EAAE,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC;IACrF,iDAAiD;IACjD,KAAK,EAAE,gBAAgB;IACvB,aAAa,EAAE,IAAI;IACnB,oBAAoB,EAAE,OAAO,CAAC,oBAAoB;CACnD,CAAC,CAAC"}
|
|
@@ -11,6 +11,10 @@ export declare const CONTACT: {
|
|
|
11
11
|
readonly heading: (name: string) => string;
|
|
12
12
|
readonly paragraphs: readonly ["Your message reached us, and we'll get back to you shortly, usually within one working day.", "Anything to add? Just reply to this email."];
|
|
13
13
|
readonly messageLabel: "Your message";
|
|
14
|
+
readonly button: {
|
|
15
|
+
readonly label: "Visit sharadox.com";
|
|
16
|
+
readonly href: "https://sharadox.com";
|
|
17
|
+
};
|
|
14
18
|
};
|
|
15
19
|
readonly pt: {
|
|
16
20
|
readonly subject: "Sharadox · Recebemos a sua mensagem";
|
|
@@ -18,6 +22,10 @@ export declare const CONTACT: {
|
|
|
18
22
|
readonly heading: (name: string) => string;
|
|
19
23
|
readonly paragraphs: readonly ["A sua mensagem chegou até nós, e respondemos em breve, normalmente num dia útil.", "Quer acrescentar alguma coisa? Basta responder a este email."];
|
|
20
24
|
readonly messageLabel: "A sua mensagem";
|
|
25
|
+
readonly button: {
|
|
26
|
+
readonly label: "Visitar sharadox.com";
|
|
27
|
+
readonly href: "https://sharadox.com/pt";
|
|
28
|
+
};
|
|
21
29
|
};
|
|
22
30
|
};
|
|
23
31
|
readonly title: {
|
|
@@ -56,7 +64,7 @@ export declare const CONTACT: {
|
|
|
56
64
|
};
|
|
57
65
|
/** One choice per service card, grouped like the services, then "Something Else". `en` is also how they appear in the email. */
|
|
58
66
|
readonly groups: {
|
|
59
|
-
key: "web" | "desktop-and-mobile" | "creative"
|
|
67
|
+
key: "marketing" | "web" | "desktop-and-mobile" | "creative";
|
|
60
68
|
title: {
|
|
61
69
|
readonly en: "Web";
|
|
62
70
|
readonly pt: "Web";
|
|
@@ -73,75 +81,75 @@ export declare const CONTACT: {
|
|
|
73
81
|
options: ({
|
|
74
82
|
en: "Website";
|
|
75
83
|
pt: "Website";
|
|
76
|
-
key: "
|
|
84
|
+
key: "branding" | "e-commerce" | "merchandise" | "website" | "platform" | "hosting" | "professional-email" | "progressive-web-application" | "android-application" | "ios-application" | "rebranding" | "branding-design" | "print-design" | "product-launch" | "lead-generation" | "sales-generation" | "brand-awareness" | "social-media-strategy";
|
|
77
85
|
} | {
|
|
78
86
|
en: "Platform";
|
|
79
87
|
pt: "Plataforma";
|
|
80
|
-
key: "
|
|
88
|
+
key: "branding" | "e-commerce" | "merchandise" | "website" | "platform" | "hosting" | "professional-email" | "progressive-web-application" | "android-application" | "ios-application" | "rebranding" | "branding-design" | "print-design" | "product-launch" | "lead-generation" | "sales-generation" | "brand-awareness" | "social-media-strategy";
|
|
81
89
|
} | {
|
|
82
90
|
en: "E-commerce";
|
|
83
91
|
pt: "E-commerce";
|
|
84
|
-
key: "
|
|
92
|
+
key: "branding" | "e-commerce" | "merchandise" | "website" | "platform" | "hosting" | "professional-email" | "progressive-web-application" | "android-application" | "ios-application" | "rebranding" | "branding-design" | "print-design" | "product-launch" | "lead-generation" | "sales-generation" | "brand-awareness" | "social-media-strategy";
|
|
85
93
|
} | {
|
|
86
94
|
en: "Hosting";
|
|
87
95
|
pt: "Alojamento";
|
|
88
|
-
key: "
|
|
96
|
+
key: "branding" | "e-commerce" | "merchandise" | "website" | "platform" | "hosting" | "professional-email" | "progressive-web-application" | "android-application" | "ios-application" | "rebranding" | "branding-design" | "print-design" | "product-launch" | "lead-generation" | "sales-generation" | "brand-awareness" | "social-media-strategy";
|
|
89
97
|
} | {
|
|
90
98
|
en: "Professional Email";
|
|
91
99
|
pt: "Email Profissional";
|
|
92
|
-
key: "
|
|
100
|
+
key: "branding" | "e-commerce" | "merchandise" | "website" | "platform" | "hosting" | "professional-email" | "progressive-web-application" | "android-application" | "ios-application" | "rebranding" | "branding-design" | "print-design" | "product-launch" | "lead-generation" | "sales-generation" | "brand-awareness" | "social-media-strategy";
|
|
93
101
|
} | {
|
|
94
102
|
en: "PWA";
|
|
95
103
|
pt: "PWA";
|
|
96
|
-
key: "
|
|
104
|
+
key: "branding" | "e-commerce" | "merchandise" | "website" | "platform" | "hosting" | "professional-email" | "progressive-web-application" | "android-application" | "ios-application" | "rebranding" | "branding-design" | "print-design" | "product-launch" | "lead-generation" | "sales-generation" | "brand-awareness" | "social-media-strategy";
|
|
97
105
|
} | {
|
|
98
106
|
en: "Android App";
|
|
99
107
|
pt: "App Android";
|
|
100
|
-
key: "
|
|
108
|
+
key: "branding" | "e-commerce" | "merchandise" | "website" | "platform" | "hosting" | "professional-email" | "progressive-web-application" | "android-application" | "ios-application" | "rebranding" | "branding-design" | "print-design" | "product-launch" | "lead-generation" | "sales-generation" | "brand-awareness" | "social-media-strategy";
|
|
101
109
|
} | {
|
|
102
110
|
en: "iOS App";
|
|
103
111
|
pt: "App iOS";
|
|
104
|
-
key: "
|
|
112
|
+
key: "branding" | "e-commerce" | "merchandise" | "website" | "platform" | "hosting" | "professional-email" | "progressive-web-application" | "android-application" | "ios-application" | "rebranding" | "branding-design" | "print-design" | "product-launch" | "lead-generation" | "sales-generation" | "brand-awareness" | "social-media-strategy";
|
|
105
113
|
} | {
|
|
106
114
|
en: "Branding";
|
|
107
115
|
pt: "Branding";
|
|
108
|
-
key: "
|
|
116
|
+
key: "branding" | "e-commerce" | "merchandise" | "website" | "platform" | "hosting" | "professional-email" | "progressive-web-application" | "android-application" | "ios-application" | "rebranding" | "branding-design" | "print-design" | "product-launch" | "lead-generation" | "sales-generation" | "brand-awareness" | "social-media-strategy";
|
|
109
117
|
} | {
|
|
110
118
|
en: "Rebranding";
|
|
111
119
|
pt: "Rebranding";
|
|
112
|
-
key: "
|
|
120
|
+
key: "branding" | "e-commerce" | "merchandise" | "website" | "platform" | "hosting" | "professional-email" | "progressive-web-application" | "android-application" | "ios-application" | "rebranding" | "branding-design" | "print-design" | "product-launch" | "lead-generation" | "sales-generation" | "brand-awareness" | "social-media-strategy";
|
|
113
121
|
} | {
|
|
114
122
|
en: "Branding Design";
|
|
115
123
|
pt: "Design de Marca";
|
|
116
|
-
key: "
|
|
124
|
+
key: "branding" | "e-commerce" | "merchandise" | "website" | "platform" | "hosting" | "professional-email" | "progressive-web-application" | "android-application" | "ios-application" | "rebranding" | "branding-design" | "print-design" | "product-launch" | "lead-generation" | "sales-generation" | "brand-awareness" | "social-media-strategy";
|
|
117
125
|
} | {
|
|
118
126
|
en: "Printing";
|
|
119
127
|
pt: "Impressão";
|
|
120
|
-
key: "
|
|
128
|
+
key: "branding" | "e-commerce" | "merchandise" | "website" | "platform" | "hosting" | "professional-email" | "progressive-web-application" | "android-application" | "ios-application" | "rebranding" | "branding-design" | "print-design" | "product-launch" | "lead-generation" | "sales-generation" | "brand-awareness" | "social-media-strategy";
|
|
121
129
|
} | {
|
|
122
130
|
en: "Merchandise";
|
|
123
131
|
pt: "Merchandising";
|
|
124
|
-
key: "
|
|
132
|
+
key: "branding" | "e-commerce" | "merchandise" | "website" | "platform" | "hosting" | "professional-email" | "progressive-web-application" | "android-application" | "ios-application" | "rebranding" | "branding-design" | "print-design" | "product-launch" | "lead-generation" | "sales-generation" | "brand-awareness" | "social-media-strategy";
|
|
125
133
|
} | {
|
|
126
134
|
en: "Launch Campaign";
|
|
127
135
|
pt: "Campanha de Lançamento";
|
|
128
|
-
key: "
|
|
136
|
+
key: "branding" | "e-commerce" | "merchandise" | "website" | "platform" | "hosting" | "professional-email" | "progressive-web-application" | "android-application" | "ios-application" | "rebranding" | "branding-design" | "print-design" | "product-launch" | "lead-generation" | "sales-generation" | "brand-awareness" | "social-media-strategy";
|
|
129
137
|
} | {
|
|
130
138
|
en: "Lead Generation";
|
|
131
139
|
pt: "Geração de Leads";
|
|
132
|
-
key: "
|
|
140
|
+
key: "branding" | "e-commerce" | "merchandise" | "website" | "platform" | "hosting" | "professional-email" | "progressive-web-application" | "android-application" | "ios-application" | "rebranding" | "branding-design" | "print-design" | "product-launch" | "lead-generation" | "sales-generation" | "brand-awareness" | "social-media-strategy";
|
|
133
141
|
} | {
|
|
134
142
|
en: "Sales Generation";
|
|
135
143
|
pt: "Geração de Vendas";
|
|
136
|
-
key: "
|
|
144
|
+
key: "branding" | "e-commerce" | "merchandise" | "website" | "platform" | "hosting" | "professional-email" | "progressive-web-application" | "android-application" | "ios-application" | "rebranding" | "branding-design" | "print-design" | "product-launch" | "lead-generation" | "sales-generation" | "brand-awareness" | "social-media-strategy";
|
|
137
145
|
} | {
|
|
138
146
|
en: "Brand Awareness";
|
|
139
147
|
pt: "Notoriedade de Marca";
|
|
140
|
-
key: "
|
|
148
|
+
key: "branding" | "e-commerce" | "merchandise" | "website" | "platform" | "hosting" | "professional-email" | "progressive-web-application" | "android-application" | "ios-application" | "rebranding" | "branding-design" | "print-design" | "product-launch" | "lead-generation" | "sales-generation" | "brand-awareness" | "social-media-strategy";
|
|
141
149
|
} | {
|
|
142
150
|
en: "Social Media Strategy";
|
|
143
151
|
pt: "Estratégia para Redes Sociais";
|
|
144
|
-
key: "
|
|
152
|
+
key: "branding" | "e-commerce" | "merchandise" | "website" | "platform" | "hosting" | "professional-email" | "progressive-web-application" | "android-application" | "ios-application" | "rebranding" | "branding-design" | "print-design" | "product-launch" | "lead-generation" | "sales-generation" | "brand-awareness" | "social-media-strategy";
|
|
145
153
|
})[];
|
|
146
154
|
}[];
|
|
147
155
|
/** For visitors who aren't sure, or need something the services don't name. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/contact/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iDAAiD,CAAC;AAEtF,qCAAqC;AACrC,eAAO,MAAM,OAAO;IAClB,sGAAsG;;IAEtG,mGAAmG;;;;;qCAK/E,MAAM
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/contact/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iDAAiD,CAAC;AAEtF,qCAAqC;AACrC,eAAO,MAAM,OAAO;IAClB,sGAAsG;;IAEtG,mGAAmG;;;;;qCAK/E,MAAM;;;;;;;;;;;qCAWN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiB1B,wDAAwD;;;;;;;;;;;;;;QAKtD,gIAAgI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAMhI,+EAA+E;;;;;;;;;;;;;;;;;QAS/E,gCAAgC;0BAK3B,SAAS;YAAE,GAAG,EAAE,OAAO,CAAC;YAAC,EAAE,EAAE,MAAM,CAAC;YAAC,EAAE,EAAE,MAAM,CAAA;SAAE,EAAE;;;;;;;;;;;;;;;;;;IAS1D,kDAAkD;;IAElD,sGAAsG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8B9F,CAAC;AAEX,wFAAwF;AACxF,MAAM,MAAM,OAAO,GAAG,cAAc,GAAG,QAAQ,GAAG,YAAY,CAAC"}
|
|
@@ -14,6 +14,7 @@ export const CONTACT = {
|
|
|
14
14
|
"Anything to add? Just reply to this email.",
|
|
15
15
|
],
|
|
16
16
|
messageLabel: "Your message",
|
|
17
|
+
button: { label: "Visit sharadox.com", href: "https://sharadox.com" },
|
|
17
18
|
},
|
|
18
19
|
pt: {
|
|
19
20
|
subject: "Sharadox · Recebemos a sua mensagem",
|
|
@@ -24,6 +25,7 @@ export const CONTACT = {
|
|
|
24
25
|
"Quer acrescentar alguma coisa? Basta responder a este email.",
|
|
25
26
|
],
|
|
26
27
|
messageLabel: "A sua mensagem",
|
|
28
|
+
button: { label: "Visitar sharadox.com", href: "https://sharadox.com/pt" },
|
|
27
29
|
},
|
|
28
30
|
},
|
|
29
31
|
title: { en: "Let's make it simple.", pt: "Vamos simplificar." },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/contact/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAG3E,qCAAqC;AACrC,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,sGAAsG;IACtG,MAAM,EAAE,UAAU;IAClB,mGAAmG;IACnG,eAAe,EAAE;QACf,EAAE,EAAE;YACF,OAAO,EAAE,qCAAqC;YAC9C,OAAO,EAAE,kBAAkB;YAC3B,OAAO,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,cAAc,IAAI,GAAG;YAChD,UAAU,EAAE;gBACV,6FAA6F;gBAC7F,4CAA4C;aAC7C;YACD,YAAY,EAAE,cAAc;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/contact/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAG3E,qCAAqC;AACrC,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,sGAAsG;IACtG,MAAM,EAAE,UAAU;IAClB,mGAAmG;IACnG,eAAe,EAAE;QACf,EAAE,EAAE;YACF,OAAO,EAAE,qCAAqC;YAC9C,OAAO,EAAE,kBAAkB;YAC3B,OAAO,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,cAAc,IAAI,GAAG;YAChD,UAAU,EAAE;gBACV,6FAA6F;gBAC7F,4CAA4C;aAC7C;YACD,YAAY,EAAE,cAAc;YAC5B,MAAM,EAAE,EAA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E,yEAAyE;KAC9E;IACD,kDAAkD;IAClD,oBAAoB,EAAE,EAAE;IACxB,sGAAsG;IACtG,QAAQ,EAAE;QACR,IAAI,EAAE,EAAE,EAAE,EAAE,2BAA2B,EAAE,EAAE,EAAE,qBAAqB,EAAE;QACpE,KAAK,EAAE;YACL,EAAE,EAAE,yDAAyD;YAC7D,EAAE,EAAE,6DAA6D;SAClE;QACD,KAAK,EAAE,EAAE,EAAE,EAAE,gCAAgC,EAAE,EAAE,EAAE,gCAAgC,EAAE;QACrF,KAAK,EAAE,EAAE,EAAE,EAAE,uCAAuC,EAAE,EAAE,EAAE,mCAAmC,EAAE;QAC/F,KAAK,EAAE,EAAE,EAAE,EAAE,6BAA6B,EAAE,EAAE,EAAE,+BAA+B,EAAE;QACjF,OAAO,EAAE;YACP,EAAE,EAAE,gDAAgD;YACpD,EAAE,EAAE,oDAAoD;SACzD;KACF;IACD,MAAM,EAAE;QACN,OAAO,EAAE;YACP,EAAE,EAAE,0FAA0F;YAC9F,EAAE,EAAE,8EAA8E;SACnF;QACD,cAAc,EAAE;YACd,EAAE,EAAE,iEAAiE;YACrE,EAAE,EAAE,uDAAuD;SAC5D;QACD,MAAM,EAAE;YACN,EAAE,EAAE,iEAAiE;YACrE,EAAE,EAAE,yDAAyD;SAC9D;KACF;IACD,MAAM,EAAE,EAAE,EAAE,EAAE,yBAAyB,EAAE,EAAE,EAAE,4BAA4B,EAAE;CACnE,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { EmailDesign } from "@sharadox/email-web-library";
|
|
2
|
+
/**
|
|
3
|
+
* Sharadox's look for every email it sends, the website's own: black, the globe mark and the name, a hairline fading
|
|
4
|
+
* at its ends, Geist's monospace capitals for eyebrows and labels, dashed rules between details, a white pill for the
|
|
5
|
+
* one thing to do, all inside the grid's frame with a "+" at each corner. Font stacks only (no web fonts, which
|
|
6
|
+
* would tell a font service the email was opened): Geist where the reader has it, the device's own sans otherwise.
|
|
7
|
+
*/
|
|
8
|
+
export declare const SHARADOX_EMAIL: EmailDesign;
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/email-design/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAG/D;;;;;GAKG;AACH,eAAO,MAAM,cAAc,EAAE,WA8B5B,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { SITE } from "@sharadox/sharadox-web-library/content/site";
|
|
2
|
+
/**
|
|
3
|
+
* Sharadox's look for every email it sends, the website's own: black, the globe mark and the name, a hairline fading
|
|
4
|
+
* at its ends, Geist's monospace capitals for eyebrows and labels, dashed rules between details, a white pill for the
|
|
5
|
+
* one thing to do, all inside the grid's frame with a "+" at each corner. Font stacks only (no web fonts, which
|
|
6
|
+
* would tell a font service the email was opened): Geist where the reader has it, the device's own sans otherwise.
|
|
7
|
+
*/
|
|
8
|
+
export const SHARADOX_EMAIL = {
|
|
9
|
+
name: SITE.name,
|
|
10
|
+
logo: { width: 30, height: 30 },
|
|
11
|
+
wordmark: true,
|
|
12
|
+
align: "left",
|
|
13
|
+
colors: {
|
|
14
|
+
page: "#000000",
|
|
15
|
+
card: "#000000",
|
|
16
|
+
edge: "#262626",
|
|
17
|
+
text: "#ffffff",
|
|
18
|
+
muted: "#a3a3a3",
|
|
19
|
+
quiet: "#737373",
|
|
20
|
+
rule: "#2e2e2e",
|
|
21
|
+
accent: "#ffffff",
|
|
22
|
+
box: "#0a0a0a",
|
|
23
|
+
onAccent: "#000000",
|
|
24
|
+
headerRule: "linear-gradient(90deg, #000000, #3a3a3a 20%, #3a3a3a 80%, #000000)",
|
|
25
|
+
},
|
|
26
|
+
fonts: {
|
|
27
|
+
heading: "Geist, -apple-system, 'SF Pro Display', 'Segoe UI', Helvetica, Arial, sans-serif",
|
|
28
|
+
body: "Geist, -apple-system, 'SF Pro Text', 'Segoe UI', Helvetica, Arial, sans-serif",
|
|
29
|
+
label: "'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace",
|
|
30
|
+
},
|
|
31
|
+
heading: { size: 34, weight: 600, letterSpacing: "-0.04em", lineHeight: 1.1 },
|
|
32
|
+
label: { size: 11, letterSpacing: "0.06em" },
|
|
33
|
+
rule: "dashed",
|
|
34
|
+
radius: 0,
|
|
35
|
+
crosses: true,
|
|
36
|
+
button: { radius: 999, uppercase: false, letterSpacing: "0" },
|
|
37
|
+
signature: [{ text: "Algarve, Portugal" }, { text: new URL(SITE.url).host, href: SITE.url }],
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/email-design/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,6CAA6C,CAAC;AAEnE;;;;;GAKG;AACH,MAAM,CAAC,MAAM,cAAc,GAAgB;IACzC,IAAI,EAAE,IAAI,CAAC,IAAI;IACf,IAAI,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE;IAC/B,QAAQ,EAAE,IAAI;IACd,KAAK,EAAE,MAAM;IACb,MAAM,EAAE;QACN,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,SAAS;QAChB,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,SAAS;QACf,MAAM,EAAE,SAAS;QACjB,GAAG,EAAE,SAAS;QACd,QAAQ,EAAE,SAAS;QACnB,UAAU,EAAE,oEAAoE;KACjF;IACD,KAAK,EAAE;QACL,OAAO,EAAE,kFAAkF;QAC3F,IAAI,EAAE,+EAA+E;QACrF,KAAK,EAAE,mEAAmE;KAC3E;IACD,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,aAAa,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,EAAE;IAC7E,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,aAAa,EAAE,QAAQ,EAAE;IAC5C,IAAI,EAAE,QAAQ;IACd,MAAM,EAAE,CAAC;IACT,OAAO,EAAE,IAAI;IACb,MAAM,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,SAAS,EAAE,KAAK,EAAE,aAAa,EAAE,GAAG,EAAE;IAC7D,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,mBAAmB,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC;CAC7F,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The
|
|
3
|
-
*
|
|
4
|
-
* always readable there). Shown
|
|
2
|
+
* The mark at the top of every email Sharadox sends: the app icon's globe (src/app/icon.svg of the application) in
|
|
3
|
+
* white on nothing, rendered to a 60 pixel PNG and kept here as base64 so it travels with the code into any server
|
|
4
|
+
* bundle (a file next to the code isn't always readable there). Shown 30 pixels wide, sharp on dense screens.
|
|
5
5
|
*/
|
|
6
6
|
export declare const EMAIL_LOGO: {
|
|
7
|
-
readonly content: "
|
|
7
|
+
readonly content: "iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAACXBIWXMAAAsTAAALEwEAmpwYAAAG2ElEQVRoge1ba2wVRRS+vERRUWMswfgAESkPReIPDWCMitE//kaeEtCoMYgmCvrDVI0PjDHxl9HEaHhpuBiQV5X27sze2AqF0ktjW1OpCGqB9IeotLcFevuZA3vD9nRm99y920IKX7JJ0ztzzvl2ZmfmzHyTSMQAAEMBzAbwOYCTYDh69CiqqqqgtTY+1dXVZ8sY0AkgCeBJAMPjiLUoABgJ4HkAh0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8
|
readonly contentType: "image/png";
|
|
9
9
|
readonly filename: "sharadox.png";
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The
|
|
3
|
-
*
|
|
4
|
-
* always readable there). Shown
|
|
2
|
+
* The mark at the top of every email Sharadox sends: the app icon's globe (src/app/icon.svg of the application) in
|
|
3
|
+
* white on nothing, rendered to a 60 pixel PNG and kept here as base64 so it travels with the code into any server
|
|
4
|
+
* bundle (a file next to the code isn't always readable there). Shown 30 pixels wide, sharp on dense screens.
|
|
5
5
|
*/
|
|
6
6
|
export const EMAIL_LOGO = {
|
|
7
|
-
content: "
|
|
7
|
+
content: "iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAACXBIWXMAAAsTAAALEwEAmpwYAAAG2ElEQVRoge1ba2wVRRS+vERRUWMswfgAESkPReIPDWCMitE//kaeEtCoMYgmCvrDVI0PjDHxl9HEaHhpuBiQV5X27sze2AqF0ktjW1OpCGqB9IeotLcFevuZA3vD9nRm99y920IKX7JJ0ztzzvl2ZmfmzHyTSMQAAEMBzAbwOYCTYDh69CiqqqqgtTY+1dXVZ8sY0AkgCeBJAMPjiLUoABgJ4HkAh0zRdnd3o6GhwUqUP42NjWfrWPAbgOfI54UgOgTAUgCttuhyuRwymYyYbP6hOlQ3AH8BWEIxDBTZ6QCqEQJTy6bTaTQ3N6Otra2THvqb/mdqaQF+BHB3f7fqCgCnwiJpbW01kT1cX1//ALdbV1c303XdI7w82RCgC8Dy/iA7GsAWQQC5jo6OKtd1uxiBlnQ6PdZmf9euXSVKqV/9dVzXPdXe3v4T2RT4/RbAtXGRHQNgf4jD0wDWApistd7oD1wpldVaTwvzk0ql7lFKdbK6XwOY4I3+5CMItQBKiiU7HkBLiKMfAEyk8lrre5VSPax1X5X6U0qtZIR76EV4sUwCUBESy0EA44pp2ZYA4ycAzGUBJ1nAv9TW1o6Q+kwmk1fwrk09hsU1D8A/IaRLonyzdQFG91L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R5hR6m5YUoF+AwbZGFw5Feh2leYZLzmfBfWNceoOPSVAjZOwH8a+Ew33YgTnI+m0hkVAELfPFqTXogHpSYALgaQMYSu7ZOZaRd9GQCJpCswChBcl13cn9LHrTWpQGSh3JLzJ00iAU6I+0i7NgQIGqpjZrVCLKwmgCypNaz4QWRQ0+7aEMlgGt4Hfpu+0u2pLVebunGOwPiTIqdkqhLIPyaECZMU0otKJSw4ziLBcK0iQHfLLwjlj6NEka6xJusbSABSS9CXFiqtW4Om0r88LaNDjLC3ximHttoTGgGcFNBZPMgoWYIaXiailKfIrYn6lLTsKGQyytxvRWUComFyN6eKAYAbqQTxRBHOe8yxhSS/LKgOx3HmR7mx3XdGZResh6y3ksE1lp0G37sK1o+zL7pTSEOzxLPZrO7uUBcKXUoKI+tqKi4mQ9UZCObze6xZD0cGwv+ZiUg7WLAPB14BYBk/plMZhZd+fHZG1pfX/9gOp3+k5e3XOsxzbOyqScqSLvoyfkCQRc1ol7yaGpqkpDVoYuKuOAtQxd5CrdYr/EcOHAg7BoPJQILB+wajx+UgXh7Ry1xXdQKIHvQE6qIp7lEf0FyFY+u29mI0m/Hjh0zkczGfRXvf4JE4J0hmjoeAAAAAElFTkSuQmCC",
|
|
8
8
|
contentType: "image/png",
|
|
9
9
|
filename: "sharadox.png",
|
|
10
10
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/email-logo/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/email-logo/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,OAAO,EACL,04EAA04E;IAC54E,WAAW,EAAE,WAAW;IACxB,QAAQ,EAAE,cAAc;CAChB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type EmailContent, type InlineImage } from "@sharadox/email-web-library";
|
|
2
|
+
/**
|
|
3
|
+
* Any email Sharadox sends, in its own design (`SHARADOX_EMAIL`): give what it says, send it with
|
|
4
|
+
* `sharadoxEmailImages()` so its mark shows without loading anything.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* await sender.send({ from, to, subject, text,
|
|
8
|
+
* html: sharadoxEmail({ language: "en", preview, eyebrow: "Invoice", heading: "Your invoice is ready" }),
|
|
9
|
+
* inlineImages: sharadoxEmailImages() });
|
|
10
|
+
*/
|
|
11
|
+
export declare const sharadoxEmail: (content: EmailContent) => string;
|
|
12
|
+
/** The images a Sharadox email carries: its mark, as the inline image "logo". */
|
|
13
|
+
export declare const sharadoxEmailImages: () => InlineImage[];
|
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/utility/sharadox-email/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,YAAY,EAAE,KAAK,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAI/F;;;;;;;;GAQG;AACH,eAAO,MAAM,aAAa,GAAI,SAAS,YAAY,WAA+C,CAAC;AAEnG,iFAAiF;AACjF,eAAO,MAAM,mBAAmB,QAAO,WAAW,EAEjD,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { emailLayout } from "@sharadox/email-web-library";
|
|
2
|
+
import { EMAIL_LOGO } from "@sharadox/sharadox-web-library/content/email-logo";
|
|
3
|
+
import { SHARADOX_EMAIL } from "@sharadox/sharadox-web-library/content/email-design";
|
|
4
|
+
/**
|
|
5
|
+
* Any email Sharadox sends, in its own design (`SHARADOX_EMAIL`): give what it says, send it with
|
|
6
|
+
* `sharadoxEmailImages()` so its mark shows without loading anything.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* await sender.send({ from, to, subject, text,
|
|
10
|
+
* html: sharadoxEmail({ language: "en", preview, eyebrow: "Invoice", heading: "Your invoice is ready" }),
|
|
11
|
+
* inlineImages: sharadoxEmailImages() });
|
|
12
|
+
*/
|
|
13
|
+
export const sharadoxEmail = (content) => emailLayout(content, SHARADOX_EMAIL, true);
|
|
14
|
+
/** The images a Sharadox email carries: its mark, as the inline image "logo". */
|
|
15
|
+
export const sharadoxEmailImages = () => [
|
|
16
|
+
{ id: "logo", ...EMAIL_LOGO, content: Buffer.from(EMAIL_LOGO.content, "base64") },
|
|
17
|
+
];
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/utility/sharadox-email/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAuC,MAAM,6BAA6B,CAAC;AAC/F,OAAO,EAAE,UAAU,EAAE,MAAM,mDAAmD,CAAC;AAC/E,OAAO,EAAE,cAAc,EAAE,MAAM,qDAAqD,CAAC;AAErF;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,OAAqB,EAAE,EAAE,CAAC,WAAW,CAAC,OAAO,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;AAEnG,iFAAiF;AACjF,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAkB,EAAE,CAAC;IACtD,EAAE,EAAE,EAAE,MAAM,EAAE,GAAG,UAAU,EAAE,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,OAAO,EAAE,QAAQ,CAAC,EAAE;CAClF,CAAC"}
|
package/llms.txt
CHANGED
|
@@ -48,3 +48,4 @@
|
|
|
48
48
|
- 0.43.0: SOCIAL: Threads https://threads.com/@sharadoxcom, Pinterest without www, LinkedIn in lowercase, Google's mark links to the business profile (a share link, so not in sameAs); GOOGLE_REVIEW, the review form, is a text link after the complaints book in the footer's legal links
|
|
49
49
|
- 0.44.0: About: the statement is "From branding, websites, apps and marketing, to tailored systems that fully automate or drastically simplify your daily operations."; its panel plays only once in view (and starts over each time): a pointer (icon-web-library ^0.5.0 pointer) clicks through Activity (a log, newest on top, each entry a picture of the action with who did it or Automatic), Project (progress, a checklist it ticks, 68% to 72%, the budget) and Client (a paid-of-quoted ring, project bars, tasks done against to do), hovering details to show labels; all one job (Ana Sousa's kitchen at Villa Mar), figures consistent across tabs; with less motion asked for it rests on the full log (feed/script: playFeed, pause)
|
|
50
50
|
- 0.45.0: Portfolio without filters or sorting: each project shows its first screen on a computer and a phone (still), its launch day ("17 November 2026"), place, services (Luis Pires Decor adds Rebranding and Branding Design) and "See the Project" to /portfolio/<key>; title "Work that\nspeaks for itself." with its text under it (SectionHeading takes `text`; a title with a line break keeps it). ProjectPage (component/project-page): a project's own page in the grid frame (intro with story, details, chips and screens; numbered Chapters whose windows show the client website's own components live, given by the site as `chapters`; the visit link only at the end, and the way back); content/portfolio holds the story, chapters (hero, sequence, fabric, work, process, booking) and page labels
|
|
51
|
+
- 0.46.0: Emails in Sharadox's own design: SHARADOX_EMAIL (content/email-design: black, the globe mark and name, a hairline, monospace capitals, dashed rules, a white pill, the grid frame with "+" corners; signature Algarve, Portugal · sharadox.com) for every email Sharadox sends, through sharadoxEmail(content) and sharadoxEmailImages() (utility/sharadox-email); the contact action uses it (form-web-library ^0.5.1, email-web-library ^0.4.0), its notice with a Reply button, its automatic reply with Visit sharadox.com; EMAIL_LOGO is the white globe on transparent, 60 px for 30
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sharadox/sharadox-web-library",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.46.0",
|
|
4
4
|
"description": "Sharadox's own website building blocks: content, components, brand and actions for sharadox-web-application, plus the preview notice and agency credit used on client demos.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "SEE LICENSE IN LICENCA.md",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"dependencies": {
|
|
57
57
|
"@sharadox/animation-web-library": "^0.2.3",
|
|
58
58
|
"@sharadox/consent-web-library": "^0.3.1",
|
|
59
|
-
"@sharadox/form-web-library": "^0.
|
|
59
|
+
"@sharadox/form-web-library": "^0.5.1",
|
|
60
60
|
"@sharadox/globe-web-library": "^0.2.1",
|
|
61
61
|
"@sharadox/icon-web-library": "^0.5.0",
|
|
62
62
|
"@sharadox/internationalization-web-library": "^0.2.3",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"motion": "^12.43.0"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
|
-
"@sharadox/email-web-library": "^0.
|
|
76
|
+
"@sharadox/email-web-library": "^0.4.0",
|
|
77
77
|
"@sharadox/es-lint-configuration-web-library": "^0.1.1",
|
|
78
78
|
"@sharadox/library-build-web-library": "^0.1.1",
|
|
79
79
|
"@sharadox/prettier-configuration-web-library": "^0.1.0",
|