@sharadox/sharadox-web-library 0.54.1-section-alignment.106 → 0.54.2-polish.110
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/CHANGELOG.md +6 -0
- package/distribution/action/send-contact/index.d.ts +4 -4
- package/distribution/action/send-contact/index.js +5 -5
- package/distribution/action/send-contact/index.js.map +1 -1
- package/distribution/component/about/feed/index.d.ts +1 -1
- package/distribution/component/about/feed/index.js +1 -1
- package/distribution/component/about/feed/index.module.css +1 -1
- package/distribution/component/about/feed/index.module.scss +4 -0
- package/distribution/content/contact/index.d.ts +2 -2
- package/distribution/content/contact/index.d.ts.map +1 -1
- package/distribution/content/contact/index.js +2 -2
- package/distribution/content/contact/index.js.map +1 -1
- package/distribution/content/email-design/index.d.ts.map +1 -1
- package/distribution/content/email-design/index.js +1 -0
- package/distribution/content/email-design/index.js.map +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
What changed in each version of `@sharadox/sharadox-web-library`, newest first.
|
|
4
4
|
|
|
5
|
+
## 0.54.2
|
|
6
|
+
|
|
7
|
+
- On phones the About section's live feed stays still (it spans the screen edge to edge there); it still floats on wider screens.
|
|
8
|
+
- The contact email comes from "Sharadox" with the subject "Contact · Name (Company)", in the visitor's language (form-web-library 0.8.0); its header rule has a plain color under its gradient.
|
|
9
|
+
- On the polish builds of the email, form, metadata, animation and pointer libraries.
|
|
10
|
+
|
|
5
11
|
## 0.54.1
|
|
6
12
|
|
|
7
13
|
`Section`'s left text alignment no longer depends on stylesheet order: a section's own class (the 404 page's centered text) always wins. A change in which modules a page imported had moved the 404 paragraph to the left.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
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
|
-
* Amazon SES over SMTP: `EMAIL_SERVER_*`) as "Sharadox
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* and the IP. A visitor who
|
|
4
|
+
* Amazon SES over SMTP: `EMAIL_SERVER_*`) as "Sharadox", with the subject "Contact · Name (Company)" ("Contacto · …"
|
|
5
|
+
* when the visitor used Portuguese) and the visitor as reply-to. The email, in Sharadox's design (SHARADOX_EMAIL) and
|
|
6
|
+
* in the visitor's language, holds every detail, the message, a button to answer, the form's page, the language, the
|
|
7
|
+
* time and the IP. A visitor who
|
|
8
8
|
* left an email gets an automatic reply in their language. It needs a name, an email or a phone, at least one choice
|
|
9
9
|
* and a message of at least `CONTACT.minimumMessageLength` characters. Each address may send 5 messages an hour and
|
|
10
10
|
* everyone together 50 emails a day, which caps what a flood can cost.
|
|
@@ -7,10 +7,10 @@ import { SITE } from "@sharadox/sharadox-web-library/content/site";
|
|
|
7
7
|
/**
|
|
8
8
|
* The contact form's work, called by the application's server action (which adds the visitor's IP address). It
|
|
9
9
|
* emails contact@sharadox.com from contact@web.sharadox.com, on the sending subdomain (`EMAIL_SENDER_ADDRESS`, through
|
|
10
|
-
* Amazon SES over SMTP: `EMAIL_SERVER_*`) as "Sharadox
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* and the IP. A visitor who
|
|
10
|
+
* Amazon SES over SMTP: `EMAIL_SERVER_*`) as "Sharadox", with the subject "Contact · Name (Company)" ("Contacto · …"
|
|
11
|
+
* when the visitor used Portuguese) and the visitor as reply-to. The email, in Sharadox's design (SHARADOX_EMAIL) and
|
|
12
|
+
* in the visitor's language, holds every detail, the message, a button to answer, the form's page, the language, the
|
|
13
|
+
* time and the IP. A visitor who
|
|
14
14
|
* left an email gets an automatic reply in their language. It needs a name, an email or a phone, at least one choice
|
|
15
15
|
* and a message of at least `CONTACT.minimumMessageLength` characters. Each address may send 5 messages an hour and
|
|
16
16
|
* everyone together 50 emails a day, which caps what a flood can cost.
|
|
@@ -22,7 +22,7 @@ export const sendContact = createContactAction({
|
|
|
22
22
|
logo: async () => inlineImage("logo", EMAIL_LOGO),
|
|
23
23
|
design: SHARADOX_EMAIL,
|
|
24
24
|
acknowledgement: CONTACT.acknowledgement,
|
|
25
|
-
choices: Object.fromEntries(CONTACT.needs.options.map((need) => [need.key, need.en])),
|
|
25
|
+
choices: Object.fromEntries(CONTACT.needs.options.map((need) => [need.key, { en: need.en, pt: need.pt }])),
|
|
26
26
|
// The same rules the form checks before sending.
|
|
27
27
|
reach: "email-or-phone",
|
|
28
28
|
requireChoice: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/action/send-contact/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AACvE,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,WAAW,CAAC,MAAM,EAAE,UAAU,CAAC;IACjD,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;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/action/send-contact/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AACvE,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,WAAW,CAAC,MAAM,EAAE,UAAU,CAAC;IACjD,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,EAAE,EAAE,EAAE,IAAI,CAAC,EAAE,EAAE,EAAE,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;IAC1G,iDAAiD;IACjD,KAAK,EAAE,gBAAgB;IACvB,aAAa,EAAE,IAAI;IACnB,oBAAoB,EAAE,OAAO,CAAC,oBAAoB;CACnD,CAAC,CAAC"}
|
|
@@ -5,7 +5,7 @@ import type { FeedProperties } from "@sharadox/sharadox-web-library/component/ab
|
|
|
5
5
|
* them: the log fills, the pointer reads an entry, clicks Project, reads the budget and ticks the next task, clicks
|
|
6
6
|
* Client and reads its charts, then goes back to Activity, over and over. Out of view it stops and starts over; with
|
|
7
7
|
* less motion asked for, it rests on the full log. It is a little aware of the visitor's own pointer too: the panel
|
|
8
|
-
* leans a few degrees towards it and a soft light follows it across, and it floats like the globe. It keeps one
|
|
8
|
+
* leans a few degrees towards it and a soft light follows it across, and it floats like the globe (on phones, where it spans the screen, it stays still). It keeps one
|
|
9
9
|
* height throughout, its tallest tab's: the log never grows it, the oldest entries slipping out under its bottom edge
|
|
10
10
|
* as new ones arrive. A picture, so it's hidden from assistive technology.
|
|
11
11
|
*/
|
|
@@ -50,7 +50,7 @@ function placeOf(root, target) {
|
|
|
50
50
|
* them: the log fills, the pointer reads an entry, clicks Project, reads the budget and ticks the next task, clicks
|
|
51
51
|
* Client and reads its charts, then goes back to Activity, over and over. Out of view it stops and starts over; with
|
|
52
52
|
* less motion asked for, it rests on the full log. It is a little aware of the visitor's own pointer too: the panel
|
|
53
|
-
* leans a few degrees towards it and a soft light follows it across, and it floats like the globe. It keeps one
|
|
53
|
+
* leans a few degrees towards it and a soft light follows it across, and it floats like the globe (on phones, where it spans the screen, it stays still). It keeps one
|
|
54
54
|
* height throughout, its tallest tab's: the log never grows it, the oldest entries slipping out under its bottom edge
|
|
55
55
|
* as new ones arrive. A picture, so it's hidden from assistive technology.
|
|
56
56
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.stage{display:grid;justify-content:stretch;perspective:1400px;animation:float 9s ease-in-out 0s infinite}@media(prefers-reduced-motion: reduce){.stage{animation:none}}@keyframes float{0%,100%{translate:0 0;rotate:0deg}25%{translate:.4% -1.1%;rotate:.6deg}50%{translate:0 -2%;rotate:0deg}75%{translate:-0.4% -1.1%;rotate:-0.6deg}}.feed{box-sizing:border-box;background:color-mix(in srgb, var(--foreground) 9%, var(--background));border:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);position:relative;transform:rotateX(calc(var(--parallax-y, 0) * -3deg)) rotateY(calc(var(--parallax-x, 0) * 4deg))}.feed::after{content:"";position:absolute;inset:0;border-radius:inherit;background:radial-gradient(420px circle at calc(50% + var(--parallax-x, 0) * 50%) calc(50% + var(--parallax-y, 0) * 50%), color-mix(in srgb, var(--foreground) 9%, transparent), transparent 70%);opacity:var(--parallax-hover, 0);pointer-events:none}@media(prefers-reduced-motion: reduce){.feed{transform:none}}.feed{display:grid;justify-content:stretch;gap:14px;padding:18px;border-radius:14px;box-shadow:0 30px 60px -30px color-mix(in srgb, var(--foreground) 35%, transparent)}.header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;padding-bottom:12px;border-bottom:1px dashed var(--line-2);font-family:var(--monospace);font-size:11.5px;letter-spacing:.04em;text-transform:uppercase;color:var(--foreground-2)}.live{display:inline-flex;align-items:center;gap:8px}.live i{width:7px;height:7px;border-radius:50%;background:var(--foreground);box-shadow:0 0 0 0 color-mix(in srgb, var(--foreground) 60%, transparent);animation:feed-live 2.4s infinite}@media(prefers-reduced-motion: reduce){.live i{animation:none}}@keyframes feed-live{70%{box-shadow:0 0 0 8px color-mix(in srgb, var(--foreground) 0%, transparent)}100%{box-shadow:0 0 0 0 color-mix(in srgb, var(--foreground) 0%, transparent)}}.viewing{display:inline-flex;align-items:center;gap:6px}.places{display:inline-grid;justify-items:start}.places b{grid-area:1/1;font-weight:400;color:var(--foreground);opacity:0}.places b:nth-child(1){animation:feed-place 12s cubic-bezier(0.22, 1, 0.36, 1) infinite 0s backwards}@media(prefers-reduced-motion: reduce){.places b:nth-child(1){animation:none}}.places b:nth-child(2){animation:feed-place 12s cubic-bezier(0.22, 1, 0.36, 1) infinite 3s backwards}@media(prefers-reduced-motion: reduce){.places b:nth-child(2){animation:none}}.places b:nth-child(3){animation:feed-place 12s cubic-bezier(0.22, 1, 0.36, 1) infinite 6s backwards}@media(prefers-reduced-motion: reduce){.places b:nth-child(3){animation:none}}.places b:nth-child(4){animation:feed-place 12s cubic-bezier(0.22, 1, 0.36, 1) infinite 9s backwards}@media(prefers-reduced-motion: reduce){.places b:nth-child(4){animation:none}}@media(prefers-reduced-motion: reduce){.places b:first-child{opacity:1}}@keyframes feed-place{0%{opacity:0;transform:translateY(6px)}6%,22%{opacity:1;transform:none}28%,100%{opacity:0;transform:translateY(-6px)}}.feed:not([data-playing]) *{animation-play-state:paused !important}.feed{position:relative;container-type:inline-size}.tabs{position:relative;display:grid;grid-template-columns:repeat(3, 1fr);padding-bottom:8px;border-bottom:1px solid var(--line-2);font-size:12.5px;font-weight:500}.tabs span{padding:4px 0;color:var(--foreground-3);transition:color .3s}.tabs span[data-active]{color:var(--foreground)}.underline{position:absolute;left:0;bottom:-1px;width:33.3333333333%;height:2px;background:var(--foreground);transition:transform .5s cubic-bezier(0.22, 1, 0.36, 1)}.panes{display:grid;justify-content:stretch}.panes>*{grid-area:1/1;align-self:start;opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .45s cubic-bezier(0.22, 1, 0.36, 1),transform .45s cubic-bezier(0.22, 1, 0.36, 1),visibility 0s .45s}.panes>*[data-active]{opacity:1;visibility:visible;transform:none;transition:opacity .45s cubic-bezier(0.22, 1, 0.36, 1) .1s,transform .45s cubic-bezier(0.22, 1, 0.36, 1) .1s}.panes>.log{height:0;min-height:calc(100% + 8px);margin:-4px;padding:4px;overflow:hidden;mask-image:linear-gradient(to bottom, #000 calc(100% - 56px), transparent calc(100% - 4px))}.pointer{position:absolute;top:0;left:0;z-index:3;width:22px;height:22px;pointer-events:none}.pointer svg{width:22px;height:22px;filter:drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45))}.pointer path{fill:var(--foreground);stroke:var(--background);stroke-width:1.4}.ripple{position:absolute;top:-12px;left:-12px;width:30px;height:30px;border:1.5px solid var(--foreground);border-radius:50%}.tip{position:absolute;z-index:2;padding:6px 10px;border-radius:8px;background:var(--foreground);color:var(--background);font-size:12px;font-weight:500;white-space:nowrap;pointer-events:none;box-shadow:0 10px 24px -10px rgba(0,0,0,.6)}.tip::after{content:"";position:absolute;left:50%;bottom:-4px;width:8px;height:8px;margin-left:-4px;background:inherit;transform:rotate(45deg)}.feed [data-target][data-pointed]{outline:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);outline-offset:2px;border-radius:10px}
|
|
1
|
+
.stage{display:grid;justify-content:stretch;perspective:1400px;animation:float 9s ease-in-out 0s infinite}@media(prefers-reduced-motion: reduce){.stage{animation:none}}@keyframes float{0%,100%{translate:0 0;rotate:0deg}25%{translate:.4% -1.1%;rotate:.6deg}50%{translate:0 -2%;rotate:0deg}75%{translate:-0.4% -1.1%;rotate:-0.6deg}}@media(max-width: 640px){.stage{animation:none}}.feed{box-sizing:border-box;background:color-mix(in srgb, var(--foreground) 9%, var(--background));border:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);position:relative;transform:rotateX(calc(var(--parallax-y, 0) * -3deg)) rotateY(calc(var(--parallax-x, 0) * 4deg))}.feed::after{content:"";position:absolute;inset:0;border-radius:inherit;background:radial-gradient(420px circle at calc(50% + var(--parallax-x, 0) * 50%) calc(50% + var(--parallax-y, 0) * 50%), color-mix(in srgb, var(--foreground) 9%, transparent), transparent 70%);opacity:var(--parallax-hover, 0);pointer-events:none}@media(prefers-reduced-motion: reduce){.feed{transform:none}}.feed{display:grid;justify-content:stretch;gap:14px;padding:18px;border-radius:14px;box-shadow:0 30px 60px -30px color-mix(in srgb, var(--foreground) 35%, transparent)}.header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;padding-bottom:12px;border-bottom:1px dashed var(--line-2);font-family:var(--monospace);font-size:11.5px;letter-spacing:.04em;text-transform:uppercase;color:var(--foreground-2)}.live{display:inline-flex;align-items:center;gap:8px}.live i{width:7px;height:7px;border-radius:50%;background:var(--foreground);box-shadow:0 0 0 0 color-mix(in srgb, var(--foreground) 60%, transparent);animation:feed-live 2.4s infinite}@media(prefers-reduced-motion: reduce){.live i{animation:none}}@keyframes feed-live{70%{box-shadow:0 0 0 8px color-mix(in srgb, var(--foreground) 0%, transparent)}100%{box-shadow:0 0 0 0 color-mix(in srgb, var(--foreground) 0%, transparent)}}.viewing{display:inline-flex;align-items:center;gap:6px}.places{display:inline-grid;justify-items:start}.places b{grid-area:1/1;font-weight:400;color:var(--foreground);opacity:0}.places b:nth-child(1){animation:feed-place 12s cubic-bezier(0.22, 1, 0.36, 1) infinite 0s backwards}@media(prefers-reduced-motion: reduce){.places b:nth-child(1){animation:none}}.places b:nth-child(2){animation:feed-place 12s cubic-bezier(0.22, 1, 0.36, 1) infinite 3s backwards}@media(prefers-reduced-motion: reduce){.places b:nth-child(2){animation:none}}.places b:nth-child(3){animation:feed-place 12s cubic-bezier(0.22, 1, 0.36, 1) infinite 6s backwards}@media(prefers-reduced-motion: reduce){.places b:nth-child(3){animation:none}}.places b:nth-child(4){animation:feed-place 12s cubic-bezier(0.22, 1, 0.36, 1) infinite 9s backwards}@media(prefers-reduced-motion: reduce){.places b:nth-child(4){animation:none}}@media(prefers-reduced-motion: reduce){.places b:first-child{opacity:1}}@keyframes feed-place{0%{opacity:0;transform:translateY(6px)}6%,22%{opacity:1;transform:none}28%,100%{opacity:0;transform:translateY(-6px)}}.feed:not([data-playing]) *{animation-play-state:paused !important}.feed{position:relative;container-type:inline-size}.tabs{position:relative;display:grid;grid-template-columns:repeat(3, 1fr);padding-bottom:8px;border-bottom:1px solid var(--line-2);font-size:12.5px;font-weight:500}.tabs span{padding:4px 0;color:var(--foreground-3);transition:color .3s}.tabs span[data-active]{color:var(--foreground)}.underline{position:absolute;left:0;bottom:-1px;width:33.3333333333%;height:2px;background:var(--foreground);transition:transform .5s cubic-bezier(0.22, 1, 0.36, 1)}.panes{display:grid;justify-content:stretch}.panes>*{grid-area:1/1;align-self:start;opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .45s cubic-bezier(0.22, 1, 0.36, 1),transform .45s cubic-bezier(0.22, 1, 0.36, 1),visibility 0s .45s}.panes>*[data-active]{opacity:1;visibility:visible;transform:none;transition:opacity .45s cubic-bezier(0.22, 1, 0.36, 1) .1s,transform .45s cubic-bezier(0.22, 1, 0.36, 1) .1s}.panes>.log{height:0;min-height:calc(100% + 8px);margin:-4px;padding:4px;overflow:hidden;mask-image:linear-gradient(to bottom, #000 calc(100% - 56px), transparent calc(100% - 4px))}.pointer{position:absolute;top:0;left:0;z-index:3;width:22px;height:22px;pointer-events:none}.pointer svg{width:22px;height:22px;filter:drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45))}.pointer path{fill:var(--foreground);stroke:var(--background);stroke-width:1.4}.ripple{position:absolute;top:-12px;left:-12px;width:30px;height:30px;border:1.5px solid var(--foreground);border-radius:50%}.tip{position:absolute;z-index:2;padding:6px 10px;border-radius:8px;background:var(--foreground);color:var(--background);font-size:12px;font-weight:500;white-space:nowrap;pointer-events:none;box-shadow:0 10px 24px -10px rgba(0,0,0,.6)}.tip::after{content:"";position:absolute;left:50%;bottom:-4px;width:8px;height:8px;margin-left:-4px;background:inherit;transform:rotate(45deg)}.feed [data-target][data-pointed]{outline:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);outline-offset:2px;border-radius:10px}
|
|
@@ -13,6 +13,10 @@ $y: var(--parallax-y, 0);
|
|
|
13
13
|
justify-content: stretch;
|
|
14
14
|
perspective: 1400px;
|
|
15
15
|
@include float;
|
|
16
|
+
/* On phones the panel spans the screen, edge to edge: it stays still. */
|
|
17
|
+
@include below(640px) {
|
|
18
|
+
animation: none;
|
|
19
|
+
}
|
|
16
20
|
}
|
|
17
21
|
.feed {
|
|
18
22
|
@include face;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ServiceCardKey } from "@sharadox/sharadox-web-library/content/services";
|
|
2
2
|
/** Contact section and form copy. */
|
|
3
3
|
export declare const CONTACT: {
|
|
4
|
-
/** The company the form's emails come from: "Sharadox
|
|
4
|
+
/** The company the form's emails come from: "Sharadox" (contact@web.sharadox.com). */
|
|
5
5
|
readonly sender: "Sharadox";
|
|
6
6
|
/** The automatic reply a visitor who left an email gets, in their language, with their message. */
|
|
7
7
|
readonly acknowledgement: {
|
|
@@ -71,7 +71,7 @@ export declare const CONTACT: {
|
|
|
71
71
|
readonly en: "What do you need?";
|
|
72
72
|
readonly pt: "Do que precisa?";
|
|
73
73
|
};
|
|
74
|
-
/** One choice per service card, grouped like the services, then "Something Else".
|
|
74
|
+
/** One choice per service card, grouped like the services, then "Something Else". Each appears in the email in the visitor's language. */
|
|
75
75
|
readonly groups: {
|
|
76
76
|
key: "marketing" | "web" | "desktop-and-mobile" | "creative";
|
|
77
77
|
title: {
|
|
@@ -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,
|
|
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,sFAAsF;;IAEtF,mGAAmG;;;;;qCAK/E,MAAM;;;;;;;;;;;qCAWN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiB1B,0EAA0E;;;;;;;;;IAG1E,wDAAwD;;;;;;;;;;;;;;QAKtD,0IAA0I;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAM1I,+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"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SERVICES } from "@sharadox/sharadox-web-library/content/services";
|
|
2
2
|
/** Contact section and form copy. */
|
|
3
3
|
export const CONTACT = {
|
|
4
|
-
/** The company the form's emails come from: "Sharadox
|
|
4
|
+
/** The company the form's emails come from: "Sharadox" (contact@web.sharadox.com). */
|
|
5
5
|
sender: "Sharadox",
|
|
6
6
|
/** The automatic reply a visitor who left an email gets, in their language, with their message. */
|
|
7
7
|
acknowledgement: {
|
|
@@ -44,7 +44,7 @@ export const CONTACT = {
|
|
|
44
44
|
company: { en: "Company (optional)", pt: "Empresa (opcional)" },
|
|
45
45
|
needs: {
|
|
46
46
|
label: { en: "What do you need?", pt: "Do que precisa?" },
|
|
47
|
-
/** One choice per service card, grouped like the services, then "Something Else".
|
|
47
|
+
/** One choice per service card, grouped like the services, then "Something Else". Each appears in the email in the visitor's language. */
|
|
48
48
|
groups: SERVICES.items.map((service) => ({
|
|
49
49
|
key: service.key,
|
|
50
50
|
title: service.title,
|
|
@@ -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,
|
|
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,sFAAsF;IACtF,MAAM,EAAE,UAAU;IAClB,mGAAmG;IACnG,eAAe,EAAE;QACf,EAAE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yBAAyB,EAAE,EAAE,EAAE,4BAA4B,EAAE;CACnE,CAAC"}
|
|
@@ -1 +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,+CAA+C,CAAC;AAGjF;;;;;GAKG;AACH,eAAO,MAAM,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/email-design/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAGjF;;;;;GAKG;AACH,eAAO,MAAM,cAAc,EAAE,WA+B5B,CAAC"}
|
|
@@ -22,6 +22,7 @@ export const SHARADOX_EMAIL = {
|
|
|
22
22
|
box: "#0a0a0a",
|
|
23
23
|
onAccent: "#000000",
|
|
24
24
|
headerRule: "linear-gradient(90deg, #000000, #3a3a3a 20%, #3a3a3a 80%, #000000)",
|
|
25
|
+
headerRuleColor: "#3a3a3a",
|
|
25
26
|
},
|
|
26
27
|
fonts: {
|
|
27
28
|
heading: "Geist, -apple-system, 'SF Pro Display', 'Segoe UI', Helvetica, Arial, sans-serif",
|
|
@@ -1 +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,E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AAG,EAAE,SAAS,EAAE,KAAK,EAAE,aAAa,EAAE,GAAG,EAAE;IAC7D,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC;CAC9D,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sharadox/sharadox-web-library",
|
|
3
|
-
"version": "0.54.
|
|
3
|
+
"version": "0.54.2-polish.110",
|
|
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",
|
|
@@ -55,17 +55,17 @@
|
|
|
55
55
|
},
|
|
56
56
|
"homepage": "https://github.com/Sharadox/sharadox-web-library#readme",
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@sharadox/animation-web-library": "
|
|
58
|
+
"@sharadox/animation-web-library": "0.3.2-polish.26",
|
|
59
59
|
"@sharadox/consent-web-library": "^0.4.0",
|
|
60
|
-
"@sharadox/email-web-library": "
|
|
61
|
-
"@sharadox/form-web-library": "
|
|
60
|
+
"@sharadox/email-web-library": "0.6.0-polish.21",
|
|
61
|
+
"@sharadox/form-web-library": "0.8.0-polish.30",
|
|
62
62
|
"@sharadox/globe-web-library": "^0.2.3",
|
|
63
63
|
"@sharadox/icon-web-library": "^0.6.1",
|
|
64
64
|
"@sharadox/internationalization-web-library": "^0.4.0",
|
|
65
65
|
"@sharadox/legal-web-library": "^0.1.2",
|
|
66
66
|
"@sharadox/menu-web-library": "^0.1.2",
|
|
67
|
-
"@sharadox/metadata-web-library": "
|
|
68
|
-
"@sharadox/pointer-web-library": "
|
|
67
|
+
"@sharadox/metadata-web-library": "0.11.0-polish.35",
|
|
68
|
+
"@sharadox/pointer-web-library": "0.3.2-polish.12",
|
|
69
69
|
"@sharadox/privacy-web-library": "^0.1.3",
|
|
70
70
|
"@sharadox/scroll-web-library": "^0.7.1",
|
|
71
71
|
"@sharadox/style-web-library": "^0.3.0",
|