@sharadox/sharadox-web-library 0.34.0 → 0.35.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/README.md +2 -2
- package/distribution/component/about/index.d.ts +4 -2
- package/distribution/component/about/index.d.ts.map +1 -1
- package/distribution/component/about/index.js +5 -3
- package/distribution/component/about/index.js.map +1 -1
- package/distribution/component/about/index.module.css +1 -1
- package/distribution/component/about/index.module.scss +77 -50
- package/distribution/component/capability/index.module.css +1 -1
- package/distribution/component/capability/index.module.scss +2 -0
- package/distribution/component/hero/index.module.css +1 -1
- package/distribution/component/hero/index.module.scss +13 -4
- package/distribution/component/social-image/index.d.ts +11 -0
- package/distribution/component/social-image/index.d.ts.map +1 -0
- package/distribution/component/social-image/index.js +47 -0
- package/distribution/component/social-image/index.js.map +1 -0
- package/distribution/component/social-image/type.d.ts +8 -0
- package/distribution/component/social-image/type.d.ts.map +1 -0
- package/distribution/component/social-image/type.js +2 -0
- package/distribution/component/social-image/type.js.map +1 -0
- package/distribution/content/mark/index.d.ts +9 -0
- package/distribution/content/mark/index.d.ts.map +1 -0
- package/distribution/content/mark/index.js +12 -0
- package/distribution/content/mark/index.js.map +1 -0
- package/llms.txt +1 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -34,10 +34,10 @@ Everything generic comes from the open-source Sharadox libraries, configured her
|
|
|
34
34
|
- **One source for shared copy:** text used in more than one place lives in its own content module and is imported, never retyped.
|
|
35
35
|
- **`component/`:** the page's branded parts:
|
|
36
36
|
- grid frame, `Cross` marks, navigation (below 1100px its links open in a menu under the bar, in the bar's frosted background, scrolling when it doesn't fit, as on a phone held sideways) and footer (the brand with Start a Project, the services, the studio, the language and style; with Back to top under the style switch; then a centered row of everything legal: the copyright, the dispute notice, the links)
|
|
37
|
-
- hero and its guides (on wide screens a little shorter than the screen, so the service index shows at its bottom), service index, `About` (a sentence lighting up as it scrolls, then the brand online beside the platform that runs the business, with its live feed), and Services: four groups of cards (Web, Desktop & Mobile, Creative, Marketing), each card with its own animated 3D object (`service-object`, in CSS 3D, turning towards the pointer), a description and a button that starts that project; rows of three, with a row of two (or two rows of two) when the count needs it; `ServiceUnlisted`, the invitation for ideas none of them name, is a section of its own placed after the capabilities
|
|
37
|
+
- hero and its guides (on wide screens a little shorter than the screen, so the service index shows at its bottom; the copy in the middle of the space under the bar, the globe centered on it), service index, `About` (a sentence lighting up as it scrolls, then the brand online beside the platform that runs the business, with its live feed), and Services: four groups of cards (Web, Desktop & Mobile, Creative, Marketing), each card with its own animated 3D object (`service-object`, in CSS 3D, turning towards the pointer), a description and a button that starts that project; rows of three, with a row of two (or two rows of two) when the count needs it; `ServiceUnlisted`, the invitation for ideas none of them name, is a section of its own placed after the capabilities
|
|
38
38
|
- capabilities sheet (its column headings stay in view under the bar, and shorter columns run on in empty ruled cells; with what's always included under it), `Faq` (questions that open to their answers, native `details`, with their FAQPage structured data), process (each dot lights as the line reaches it, measured by `process/measure-stops`), contact (the invitation and the direct email over a wide form: the visitor's details, the message and Send on the left, the choices on the right), section indicator (in the margin right of the frame: the rail along the line, ticks and numbers out from it, names to the right, ending at the window's edge when there isn't room; nothing shifts when the section changes; ticks only where the margin is narrow), style switch
|
|
39
39
|
- `Consent`, the Sharadox cookie panel (reopened by the footer's Cookie Preferences), and the footer's legal parts: Portugal's complaints book and the Algarve's consumer dispute notice (CIMAAL)
|
|
40
|
-
- the Sharadox wrapper around the shared globe, structured data, share image, `llmsText()` for `/llms.txt`
|
|
40
|
+
- the Sharadox wrapper around the shared globe, structured data, share image, `renderSocialImage()` (images to post on social media: the mark on black, landscape and portrait, alone or with the hero's three lines; the application serves them at `/<locale>/social/<name>`), `llmsText()` for `/llms.txt`
|
|
41
41
|
- `PrivacyPage`: the privacy policy's body (`content/privacy`, written by `@sharadox/privacy-web-library`), at `/<locale>/privacy`, linked from the footer
|
|
42
42
|
- `License`: the license page's body, rendered from the license's Markdown
|
|
43
43
|
- `NotFound`: the 404 screen, a giant 404 whose zero is the live globe, with the failed request and the way back (put `ServiceIndex base="/<locale>"` under it)
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import type { AboutProperties } from "@sharadox/sharadox-web-library/component/about/type";
|
|
2
2
|
/**
|
|
3
3
|
* Between the hero and the services: a sentence that lights up as it scrolls (the brand everywhere online, and the
|
|
4
|
-
* system that runs the business behind it), then the two halves of it
|
|
5
|
-
*
|
|
4
|
+
* system that runs the business behind it), then the two halves of it, one row each across the frame. The brand,
|
|
5
|
+
* online: what it is, and the five things it's made of in a numbered row. Then, given the most room, the platform
|
|
6
|
+
* that runs the business: what it is beside its live feed (the platform and the team at work), and its three
|
|
7
|
+
* promises in a row under both.
|
|
6
8
|
*/
|
|
7
9
|
export declare function About({ locale }: AboutProperties): import("react").JSX.Element;
|
|
8
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/about/index.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qDAAqD,CAAC;AAE3F
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/about/index.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qDAAqD,CAAC;AAE3F;;;;;;GAMG;AACH,wBAAgB,KAAK,CAAC,EAAE,MAAM,EAAE,EAAE,eAAe,+BAsChD"}
|
|
@@ -10,11 +10,13 @@ import { SECTION } from "@sharadox/sharadox-web-library/content/section";
|
|
|
10
10
|
import styles from "./index.module.css";
|
|
11
11
|
/**
|
|
12
12
|
* Between the hero and the services: a sentence that lights up as it scrolls (the brand everywhere online, and the
|
|
13
|
-
* system that runs the business behind it), then the two halves of it
|
|
14
|
-
*
|
|
13
|
+
* system that runs the business behind it), then the two halves of it, one row each across the frame. The brand,
|
|
14
|
+
* online: what it is, and the five things it's made of in a numbered row. Then, given the most room, the platform
|
|
15
|
+
* that runs the business: what it is beside its live feed (the platform and the team at work), and its three
|
|
16
|
+
* promises in a row under both.
|
|
15
17
|
*/
|
|
16
18
|
export function About({ locale }) {
|
|
17
19
|
const { brand, business } = ABOUT;
|
|
18
|
-
return (_jsxs(Section, { id: SECTION.about.id, className: styles.about, children: [_jsx(Eyebrow, { children: translate(SECTION.about, locale) }), _jsx(ScrollWords, { text: translate(ABOUT.statement, locale), className: styles.statement }), _jsxs("div", { className: styles.panels, children: [_jsxs(Reveal, { className: styles.brand, children: [_jsx(Eyebrow, { children: translate(brand.eyebrow, locale) }), _jsx("h3", { children: translate(brand.title, locale) }), _jsx("p", { children: translate(brand.text, locale) }), _jsx("
|
|
20
|
+
return (_jsxs(Section, { id: SECTION.about.id, className: styles.about, children: [_jsx(Eyebrow, { children: translate(SECTION.about, locale) }), _jsx(ScrollWords, { text: translate(ABOUT.statement, locale), className: styles.statement }), _jsxs("div", { className: styles.panels, children: [_jsxs(Reveal, { className: styles.brand, children: [_jsxs("div", { className: styles.copy, children: [_jsx(Eyebrow, { children: translate(brand.eyebrow, locale) }), _jsx("h3", { children: translate(brand.title, locale) }), _jsx("p", { children: translate(brand.text, locale) })] }), _jsx("ol", { className: styles.parts, children: brand.parts[locale].map((part) => (_jsx("li", { children: part }, part))) })] }), _jsxs(Reveal, { delay: 0.1, className: styles.business, children: [_jsxs("div", { className: styles.copy, children: [_jsx(Eyebrow, { children: translate(business.eyebrow, locale) }), _jsx("h3", { children: translate(business.title, locale) }), _jsx("p", { children: translate(business.text, locale) })] }), _jsx(Feed, { locale: locale }), _jsx("ul", { className: styles.points, children: business.points.map((point) => (_jsxs("li", { children: [_jsx("b", { children: translate(point.title, locale) }), _jsx("span", { children: translate(point.text, locale) })] }, point.title.en))) })] })] })] }));
|
|
19
21
|
}
|
|
20
22
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/about/index.tsx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G,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAC9B,yBACE,sBAAI,SAAS,CAAC,KAAK,CAAC,KAAK,EAAE,MAAM,CAAC,GAAK,EACvC,yBAAO,SAAS,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,CAAC,GAAQ,KAFrC,KAAK,CAAC,KAAK,CAAC,EAAE,CAGlB,CACN,CAAC,GACC,IACE,IACL,IACE,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.about{padding-block:clamp(100px,16vh,180px) clamp(72px,10vw,128px)}.statement{margin-top:24px;font-size:clamp(1.9rem,4.2vw,3.8rem);font-weight:500;letter-spacing:-0.045em;line-height:1.08;max-width:24ch}.panels{display:grid;
|
|
1
|
+
.about{padding-block:clamp(100px,16vh,180px) clamp(72px,10vw,128px)}.statement{margin-top:24px;font-size:clamp(1.9rem,4.2vw,3.8rem);font-weight:500;letter-spacing:-0.045em;line-height:1.08;max-width:24ch}.panels{display:grid;justify-content:stretch;align-items:stretch;gap:1px;margin-top:clamp(56px,8vw,96px);border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--line)}.panels>*{background:var(--background);padding:clamp(24px,3.4vw,48px)}.panels h3{font-size:clamp(1.6rem,2.8vw,2.5rem);letter-spacing:-0.04em;text-wrap:balance}.panels p{color:var(--foreground-2);text-wrap:pretty}.copy{display:grid;justify-content:stretch;justify-items:start;align-content:start;gap:16px}.brand{display:grid;grid-template-columns:minmax(0, 1fr) minmax(0, 1.3fr);align-items:end;gap:clamp(24px,4vw,64px)}@media(max-width: 1000px){.brand{grid-template-columns:1fr}}.parts{display:grid;grid-template-columns:repeat(5, 1fr);align-items:stretch;margin:0;padding:0;list-style:none;counter-reset:part}.parts li{display:grid;align-content:start;justify-items:start;gap:10px;padding:16px 14px 4px;border-left:1px dashed var(--line-2);font-weight:500;letter-spacing:-0.02em;counter-increment:part}.parts li::before{content:counter(part, decimal-leading-zero);font-family:var(--monospace);font-size:11.5px;font-weight:400;color:var(--foreground-3)}@media(max-width: 640px){.parts{grid-template-columns:1fr}.parts li{display:flex;align-items:baseline;justify-content:flex-start;gap:14px;padding:12px 0;border-left:0;border-bottom:1px dashed var(--line-2)}.parts li:last-child{border-bottom:0}}.business{display:grid;grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);grid-template-areas:"copy feed" "points points";align-items:center;gap:clamp(28px,4vw,56px) clamp(24px,4vw,64px);background:radial-gradient(70% 80% at 80% 40%, color-mix(in srgb, var(--foreground) 7%, transparent), transparent 70%),var(--background) !important}.business>.copy{grid-area:copy}.business>:nth-child(2){grid-area:feed}@media(max-width: 1000px){.business{grid-template-columns:1fr;grid-template-areas:"copy" "feed" "points"}}.points{grid-area:points;display:grid;grid-template-columns:repeat(3, 1fr);align-items:start;gap:16px clamp(16px,3vw,40px);margin:0;padding:24px 0 0;border-top:1px dashed var(--line-2);list-style:none}.points li{display:grid;justify-content:stretch;align-content:start;gap:6px}.points b{font-weight:600;letter-spacing:-0.02em}.points span{font-size:14.5px;line-height:1.55;color:var(--foreground-2)}@media(max-width: 700px){.points{grid-template-columns:1fr}}
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
line-height: 1.08;
|
|
13
13
|
max-width: 24ch;
|
|
14
14
|
}
|
|
15
|
-
/* The two halves, as
|
|
15
|
+
/* The two halves, one row each, as cells with hairlines between them. */
|
|
16
16
|
.panels {
|
|
17
17
|
display: grid;
|
|
18
|
-
|
|
18
|
+
justify-content: stretch;
|
|
19
19
|
align-items: stretch;
|
|
20
20
|
gap: 1px;
|
|
21
21
|
margin-top: clamp(56px, 8vw, 96px);
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
background: var(--line);
|
|
26
26
|
> * {
|
|
27
27
|
background: var(--background);
|
|
28
|
-
padding: clamp(24px,
|
|
28
|
+
padding: clamp(24px, 3.4vw, 48px);
|
|
29
29
|
}
|
|
30
30
|
h3 {
|
|
31
|
-
font-size: clamp(1.6rem, 2.
|
|
31
|
+
font-size: clamp(1.6rem, 2.8vw, 2.5rem);
|
|
32
32
|
letter-spacing: -0.04em;
|
|
33
33
|
text-wrap: balance;
|
|
34
34
|
}
|
|
@@ -36,34 +36,42 @@
|
|
|
36
36
|
color: var(--foreground-2);
|
|
37
37
|
text-wrap: pretty;
|
|
38
38
|
}
|
|
39
|
+
}
|
|
40
|
+
/* What a half is: its label, its title and a few lines. */
|
|
41
|
+
.copy {
|
|
42
|
+
display: grid;
|
|
43
|
+
justify-content: stretch;
|
|
44
|
+
justify-items: start;
|
|
45
|
+
align-content: start;
|
|
46
|
+
gap: 16px;
|
|
47
|
+
}
|
|
48
|
+
/* The brand: what it is on the left, the five things it's made of in a numbered row on the right, level with its
|
|
49
|
+
bottom. */
|
|
50
|
+
.brand {
|
|
51
|
+
display: grid;
|
|
52
|
+
grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
|
|
53
|
+
align-items: end;
|
|
54
|
+
gap: clamp(24px, 4vw, 64px);
|
|
39
55
|
@include below(1000px) {
|
|
40
56
|
grid-template-columns: 1fr;
|
|
41
57
|
}
|
|
42
58
|
}
|
|
43
|
-
.
|
|
44
|
-
display: flex;
|
|
45
|
-
flex-direction: column;
|
|
46
|
-
align-items: stretch;
|
|
47
|
-
justify-content: flex-start;
|
|
48
|
-
gap: 16px;
|
|
49
|
-
}
|
|
50
|
-
/* What the brand is made of, as a ruled list that fills the panel's height, numbered like the services. */
|
|
59
|
+
/* Their numbers in a line at the top, whatever wraps under them. */
|
|
51
60
|
.parts {
|
|
52
61
|
display: grid;
|
|
53
|
-
|
|
54
|
-
align-
|
|
55
|
-
|
|
56
|
-
margin: 8px 0 0;
|
|
62
|
+
grid-template-columns: repeat(5, 1fr);
|
|
63
|
+
align-items: stretch;
|
|
64
|
+
margin: 0;
|
|
57
65
|
padding: 0;
|
|
58
66
|
list-style: none;
|
|
59
67
|
counter-reset: part;
|
|
60
68
|
li {
|
|
61
|
-
display:
|
|
62
|
-
align-
|
|
63
|
-
justify-
|
|
64
|
-
gap:
|
|
65
|
-
padding:
|
|
66
|
-
border-
|
|
69
|
+
display: grid;
|
|
70
|
+
align-content: start;
|
|
71
|
+
justify-items: start;
|
|
72
|
+
gap: 10px;
|
|
73
|
+
padding: 16px 14px 4px;
|
|
74
|
+
border-left: 1px dashed var(--line-2);
|
|
67
75
|
font-weight: 500;
|
|
68
76
|
letter-spacing: -0.02em;
|
|
69
77
|
counter-increment: part;
|
|
@@ -74,56 +82,75 @@
|
|
|
74
82
|
font-weight: 400;
|
|
75
83
|
color: var(--foreground-3);
|
|
76
84
|
}
|
|
77
|
-
|
|
78
|
-
|
|
85
|
+
}
|
|
86
|
+
@include below(640px) {
|
|
87
|
+
grid-template-columns: 1fr;
|
|
88
|
+
li {
|
|
89
|
+
display: flex;
|
|
90
|
+
align-items: baseline;
|
|
91
|
+
justify-content: flex-start;
|
|
92
|
+
gap: 14px;
|
|
93
|
+
padding: 12px 0;
|
|
94
|
+
border-left: 0;
|
|
95
|
+
border-bottom: 1px dashed var(--line-2);
|
|
96
|
+
&:last-child {
|
|
97
|
+
border-bottom: 0;
|
|
98
|
+
}
|
|
79
99
|
}
|
|
80
100
|
}
|
|
81
101
|
}
|
|
82
|
-
/* The business
|
|
102
|
+
/* The business, lit from behind as the half that matters most: what it is beside its live feed, its three promises
|
|
103
|
+
in a row under both. */
|
|
83
104
|
.business {
|
|
84
105
|
display: grid;
|
|
85
|
-
grid-template-columns: 1fr 1fr;
|
|
106
|
+
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
|
107
|
+
grid-template-areas:
|
|
108
|
+
"copy feed"
|
|
109
|
+
"points points";
|
|
86
110
|
align-items: center;
|
|
87
|
-
gap: clamp(24px,
|
|
88
|
-
background: radial-gradient(
|
|
89
|
-
|
|
111
|
+
gap: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 64px);
|
|
112
|
+
background: radial-gradient(70% 80% at 80% 40%, tint(7%), transparent 70%), var(--background) !important;
|
|
113
|
+
> .copy {
|
|
114
|
+
grid-area: copy;
|
|
115
|
+
}
|
|
116
|
+
> :nth-child(2) {
|
|
117
|
+
grid-area: feed;
|
|
118
|
+
}
|
|
119
|
+
@include below(1000px) {
|
|
90
120
|
grid-template-columns: 1fr;
|
|
121
|
+
grid-template-areas:
|
|
122
|
+
"copy"
|
|
123
|
+
"feed"
|
|
124
|
+
"points";
|
|
91
125
|
}
|
|
92
126
|
}
|
|
93
|
-
.
|
|
94
|
-
display: grid;
|
|
95
|
-
justify-content: stretch;
|
|
96
|
-
justify-items: start;
|
|
97
|
-
gap: 16px;
|
|
98
|
-
}
|
|
99
|
-
/* Automated, simple, anywhere: three short promises, one per line, each a word and what it means. */
|
|
127
|
+
/* Automated, your team, anywhere: three promises side by side, each a word and a line. */
|
|
100
128
|
.points {
|
|
129
|
+
grid-area: points;
|
|
101
130
|
display: grid;
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
131
|
+
grid-template-columns: repeat(3, 1fr);
|
|
132
|
+
align-items: start;
|
|
133
|
+
gap: 16px clamp(16px, 3vw, 40px);
|
|
134
|
+
margin: 0;
|
|
135
|
+
padding: 24px 0 0;
|
|
106
136
|
border-top: 1px dashed var(--line-2);
|
|
107
137
|
list-style: none;
|
|
108
138
|
li {
|
|
109
139
|
display: grid;
|
|
110
|
-
|
|
111
|
-
align-
|
|
112
|
-
gap:
|
|
140
|
+
justify-content: stretch;
|
|
141
|
+
align-content: start;
|
|
142
|
+
gap: 6px;
|
|
113
143
|
}
|
|
114
144
|
b {
|
|
115
145
|
font-weight: 600;
|
|
116
146
|
letter-spacing: -0.02em;
|
|
117
147
|
}
|
|
118
148
|
span {
|
|
119
|
-
font-size:
|
|
120
|
-
line-height: 1.
|
|
149
|
+
font-size: 14.5px;
|
|
150
|
+
line-height: 1.55;
|
|
121
151
|
color: var(--foreground-2);
|
|
122
152
|
}
|
|
123
|
-
@include below(
|
|
124
|
-
|
|
125
|
-
grid-template-columns: 1fr;
|
|
126
|
-
gap: 2px;
|
|
127
|
-
}
|
|
153
|
+
@include below(700px) {
|
|
154
|
+
grid-template-columns: 1fr;
|
|
128
155
|
}
|
|
129
156
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.heading{align-content:normal;padding:clamp(72px,10vw,128px) var(--padding) 0}.sheet{display:grid;grid-template-columns:repeat(4, 1fr);grid-auto-rows:auto;border-top:1px solid var(--line)}@media(max-width: 960px){.sheet{grid-template-columns:repeat(2, 1fr)}}@media(max-width: 600px){.sheet{grid-template-columns:1fr}}.column{align-items:stretch;justify-content:stretch;position:relative;display:grid;grid-row:span var(--rows);grid-template-rows:subgrid}@media(max-width: 600px){.column{grid-row:auto;grid-template-rows:none}}.column:not(:last-child)::after{content:"";position:absolute;top:0;bottom:0;right:0;width:1px;background:linear-gradient(180deg, var(--line-2) 50%, transparent 0) 0 0/1px 8px repeat-y}.column ul{display:contents}.column li{justify-content:flex-start;position:relative;display:flex;align-items:center;padding:13px 20px;font-size:14.5px;color:var(--foreground-2);transition:color .25s}.column li::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg, var(--line) 50%, transparent 0) 0 0/8px 1px repeat-x}.column li:hover{color:var(--foreground)}@media(max-width: 960px){.column{border-bottom:1px solid var(--line)}.column:nth-child(2n)::after{display:none}}@media(max-width: 600px){.column::after{display:none}}.title{position:sticky;top:64px;z-index:2;background:var(--background);justify-content:stretch;display:grid;gap:6px;padding:22px 20px 18px;font-weight:600;letter-spacing:-0.02em;border-bottom:1px solid var(--line)}.title span{font-size:11.5px;font-weight:400;color:var(--foreground-3)}.included{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:16px 32px;padding:24px var(--padding);border-top:1px solid var(--line)}.included h3{font-size:11.5px;font-weight:400;letter-spacing:.05em;text-transform:uppercase;color:var(--foreground-3)}.included ul{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:12px 28px;margin:0;padding:0;list-style:none}.included li{display:inline-flex;align-items:center;gap:8px;font-size:14px;color:var(--foreground-2)}@media(max-width: 760px){.included{grid-template-columns:1fr;justify-items:start}}.tick{width:15px;height:15px;color:var(--foreground)}.empty{pointer-events:none}@media(max-width: 600px){.empty{display:none !important}}
|
|
1
|
+
.heading{align-content:normal;padding:clamp(72px,10vw,128px) var(--padding) 0}.sheet{display:grid;grid-template-columns:repeat(4, 1fr);grid-auto-rows:auto;border-top:1px solid var(--line)}@media(max-width: 960px){.sheet{grid-template-columns:repeat(2, 1fr)}}@media(max-width: 600px){.sheet{grid-template-columns:1fr}}.column{align-items:stretch;justify-content:stretch;position:relative;display:grid;grid-row:span var(--rows);grid-template-rows:subgrid}@media(max-width: 600px){.column{grid-row:auto;grid-template-rows:none}}.column:not(:last-child)::after{content:"";position:absolute;z-index:3;top:0;bottom:0;right:0;width:1px;background:linear-gradient(180deg, var(--line-2) 50%, transparent 0) 0 0/1px 8px repeat-y}.column ul{display:contents}.column li{justify-content:flex-start;position:relative;display:flex;align-items:center;padding:13px 20px;font-size:14.5px;color:var(--foreground-2);transition:color .25s}.column li::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg, var(--line) 50%, transparent 0) 0 0/8px 1px repeat-x}.column li:hover{color:var(--foreground)}@media(max-width: 960px){.column{border-bottom:1px solid var(--line)}.column:nth-child(2n)::after{display:none}}@media(max-width: 600px){.column::after{display:none}}.title{position:sticky;top:64px;z-index:2;background:var(--background);justify-content:stretch;display:grid;gap:6px;padding:22px 20px 18px;font-weight:600;letter-spacing:-0.02em;border-bottom:1px solid var(--line)}.title span{font-size:11.5px;font-weight:400;color:var(--foreground-3)}.included{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:16px 32px;padding:24px var(--padding);border-top:1px solid var(--line)}.included h3{font-size:11.5px;font-weight:400;letter-spacing:.05em;text-transform:uppercase;color:var(--foreground-3)}.included ul{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:12px 28px;margin:0;padding:0;list-style:none}.included li{display:inline-flex;align-items:center;gap:8px;font-size:14px;color:var(--foreground-2)}@media(max-width: 760px){.included{grid-template-columns:1fr;justify-items:start}}.tick{width:15px;height:15px;color:var(--foreground)}.empty{pointer-events:none}@media(max-width: 600px){.empty{display:none !important}}
|
|
@@ -28,9 +28,11 @@
|
|
|
28
28
|
grid-row: auto;
|
|
29
29
|
grid-template-rows: none;
|
|
30
30
|
}
|
|
31
|
+
/* The line between columns, over the headings too (they stay in view with their own background). */
|
|
31
32
|
&:not(:last-child)::after {
|
|
32
33
|
content: "";
|
|
33
34
|
position: absolute;
|
|
35
|
+
z-index: 3;
|
|
34
36
|
top: 0;
|
|
35
37
|
bottom: 0;
|
|
36
38
|
right: 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.hero{text-align:left;position:relative;min-height:min(100svh,980px);width:min(100% - 2*var(--gutter),var(--maximum-width));margin:0 auto;padding:104px var(--padding) 56px;border-inline:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:24px}@media(min-width: 961px){.hero{min-height:calc(min(100svh,980px) - 140px)
|
|
1
|
+
.hero{text-align:left;position:relative;min-height:min(100svh,980px);width:min(100% - 2*var(--gutter),var(--maximum-width));margin:0 auto;padding:104px var(--padding) 56px;border-inline:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:24px}@media(min-width: 961px){.hero{min-height:calc(min(100svh,980px) - 140px)}}@media(min-width: 901px){.hero{padding-block:calc(64px + 40px) 40px}}@media(max-width: 900px){.hero{grid-template-columns:1fr;padding-top:72px;gap:0}}.copy{position:relative;z-index:2;container-type:inline-size}.eyebrow{padding:6px 12px 6px 10px;border:1px solid var(--line-2);border-radius:99px;background:color-mix(in srgb, var(--background) 60%, transparent);backdrop-filter:blur(6px)}.live{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:live 2.4s infinite}@keyframes live{70%{box-shadow:0 0 0 9px color-mix(in srgb, var(--foreground) 0%, transparent)}100%{box-shadow:0 0 0 0 color-mix(in srgb, var(--foreground) 0%, transparent)}}.title{margin:26px 0 26px;font-size:min(clamp(3rem,7vw,6.4rem),14.6cqi);white-space:nowrap;letter-spacing:-0.06em;line-height:.95}@media(max-width: 900px){.title{margin-top:18px}}.line{display:block;overflow:hidden;padding-bottom:.06em}.lineInner{display:inline-block}.dim{background:linear-gradient(180deg, var(--foreground) 10%, var(--foreground-3) 120%);-webkit-background-clip:text;background-clip:text;color:rgba(0,0,0,0)}.subtitle{max-width:31rem;font-size:clamp(1.05rem,1.4vw,1.2rem);color:var(--foreground-2);line-height:1.55}.actions{justify-content:flex-start;display:flex;flex-wrap:wrap;gap:12px;margin-top:34px}.globe{position:absolute;z-index:1;left:75%;top:calc(50% + 64px/2);width:61.3%;aspect-ratio:1;margin:calc(61.3%/-2) 0 0 calc(61.3%/-2)}@media(max-width: 900px){.globe{position:relative;left:auto;top:auto;order:-1;width:112%;margin:0 -6%;justify-self:center}}.hint{position:absolute;left:50%;bottom:2%;transform:translateX(-50%);font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--foreground-3);pointer-events:none}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
@use "style/token" as *;
|
|
2
2
|
|
|
3
|
+
/* The bar's height, and the room kept above and below the copy within the space under it. */
|
|
4
|
+
$bar: 64px;
|
|
5
|
+
$room: 40px;
|
|
6
|
+
|
|
3
7
|
.hero {
|
|
4
8
|
text-align: left;
|
|
5
9
|
position: relative;
|
|
@@ -16,7 +20,11 @@
|
|
|
16
20
|
the first screen and the four shortcuts show at its bottom. */
|
|
17
21
|
@media (min-width: 961px) {
|
|
18
22
|
min-height: calc(min(100svh, 980px) - 140px);
|
|
19
|
-
|
|
23
|
+
}
|
|
24
|
+
/* The copy sits in the middle of the space between the bar (64px) and the hero's bottom line: equal room above
|
|
25
|
+
and below it. */
|
|
26
|
+
@media (min-width: 901px) {
|
|
27
|
+
padding-block: calc(#{$bar} + #{$room}) #{$room};
|
|
20
28
|
}
|
|
21
29
|
@include below(900px) {
|
|
22
30
|
grid-template-columns: 1fr;
|
|
@@ -95,13 +103,14 @@
|
|
|
95
103
|
$globe-canvas: 61.3%;
|
|
96
104
|
|
|
97
105
|
/* Desktop: the globe body spans the hero's right half, touching the middle guide and the right grid line, centered
|
|
98
|
-
on the
|
|
99
|
-
width), because the entrance animation owns
|
|
106
|
+
on the copy (the middle of the space under the bar, half the bar below the hero's middle); only arcs and glow pass
|
|
107
|
+
the lines. Centered with negative margins (percentages of the hero's width), because the entrance animation owns
|
|
108
|
+
`transform`. */
|
|
100
109
|
.globe {
|
|
101
110
|
position: absolute;
|
|
102
111
|
z-index: 1;
|
|
103
112
|
left: 75%;
|
|
104
|
-
top: 50
|
|
113
|
+
top: calc(50% + #{$bar} / 2);
|
|
105
114
|
width: $globe-canvas;
|
|
106
115
|
aspect-ratio: 1;
|
|
107
116
|
margin: calc(#{$globe-canvas} / -2) 0 0 calc(#{$globe-canvas} / -2);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { SocialImageOptions } from "@sharadox/sharadox-web-library/component/social-image/type";
|
|
2
|
+
/**
|
|
3
|
+
* An image to post on social media, like the profile picture: the mark on black, half the shorter side. With the
|
|
4
|
+
* headline, the hero's three lines in Geist (the last one fading) beside the mark on a landscape image, under it on a
|
|
5
|
+
* portrait one.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* return renderSocialImage({ locale: "en", name: "portrait-headline.png" });
|
|
9
|
+
*/
|
|
10
|
+
export declare function renderSocialImage({ locale, name }: SocialImageOptions): Promise<import("next/og").ImageResponse>;
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/social-image/index.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4DAA4D,CAAC;AAOrG;;;;;;;GAOG;AACH,wBAAsB,iBAAiB,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,kBAAkB,4CAiD3E"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { readFile } from "node:fs/promises";
|
|
3
|
+
import { shareImage } from "@sharadox/metadata-web-library/share-image";
|
|
4
|
+
import { SOCIAL_IMAGES, socialMarkSize } from "@sharadox/metadata-web-library/social-image";
|
|
5
|
+
import { MARK_DATA_URL } from "@sharadox/sharadox-web-library/content/mark";
|
|
6
|
+
import { SLOGAN_LINES } from "@sharadox/sharadox-web-library/content/slogan";
|
|
7
|
+
/** The headline's font, shipped with the library (distribution/asset/font), found relative to this compiled file. */
|
|
8
|
+
const SEMI_BOLD = new URL("../../asset/font/Geist-SemiBold.ttf", import.meta.url);
|
|
9
|
+
/** The hero's last line, fading from white to grey. */
|
|
10
|
+
const DIM = "linear-gradient(180deg, #ffffff 10%, #6b6b6b 120%)";
|
|
11
|
+
/**
|
|
12
|
+
* An image to post on social media, like the profile picture: the mark on black, half the shorter side. With the
|
|
13
|
+
* headline, the hero's three lines in Geist (the last one fading) beside the mark on a landscape image, under it on a
|
|
14
|
+
* portrait one.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* return renderSocialImage({ locale: "en", name: "portrait-headline.png" });
|
|
18
|
+
*/
|
|
19
|
+
export async function renderSocialImage({ locale, name }) {
|
|
20
|
+
const image = SOCIAL_IMAGES[name];
|
|
21
|
+
const { width, height, headline } = image;
|
|
22
|
+
const mark = socialMarkSize(image);
|
|
23
|
+
const landscape = width > height;
|
|
24
|
+
const size = landscape ? 128 : 116;
|
|
25
|
+
const lines = SLOGAN_LINES[locale];
|
|
26
|
+
return shareImage(_jsxs("div", { style: {
|
|
27
|
+
width: "100%",
|
|
28
|
+
height: "100%",
|
|
29
|
+
display: "flex",
|
|
30
|
+
flexDirection: landscape ? "row-reverse" : "column",
|
|
31
|
+
alignItems: "center",
|
|
32
|
+
justifyContent: "center",
|
|
33
|
+
gap: landscape ? 96 : 40,
|
|
34
|
+
background: "#000",
|
|
35
|
+
color: "#fff",
|
|
36
|
+
}, children: [_jsx("img", { src: MARK_DATA_URL, width: mark, height: mark, alt: "" }), headline ? (_jsx("div", { style: {
|
|
37
|
+
display: "flex",
|
|
38
|
+
flexDirection: "column",
|
|
39
|
+
alignItems: landscape ? "flex-start" : "center",
|
|
40
|
+
fontFamily: "Geist",
|
|
41
|
+
fontWeight: 600,
|
|
42
|
+
fontSize: size,
|
|
43
|
+
lineHeight: 0.95,
|
|
44
|
+
letterSpacing: -0.06 * size,
|
|
45
|
+
}, children: lines.map((line, index) => index === lines.length - 1 ? (_jsx("span", { style: { backgroundImage: DIM, backgroundClip: "text", color: "transparent" }, children: line }, line)) : (_jsx("span", { children: line }, line))) })) : null] }), { width, height, fonts: [{ name: "Geist", data: await readFile(SEMI_BOLD), weight: 600 }] });
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/social-image/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,4CAA4C,CAAC;AACxE,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,6CAA6C,CAAC;AAC5F,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,+CAA+C,CAAC;AAG7E,qHAAqH;AACrH,MAAM,SAAS,GAAG,IAAI,GAAG,CAAC,qCAAqC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAClF,uDAAuD;AACvD,MAAM,GAAG,GAAG,oDAAoD,CAAC;AAEjE;;;;;;;GAOG;AACH,MAAM,CAAC,KAAK,UAAU,iBA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AAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CACzB,KAAK,KAAK,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAC3B,eAAiB,KAAK,EAAE,EAAE,eAAe,EAAE,GAAG,EAAE,cAAc,EAAE,MAAM,EAAE,KAAK,EAAE,aAAa,EAAE,YAC3F,IAAI,IADI,IAAI,CAER,CACR,CAAC,CAAC,CAAC,CACF,yBAAkB,IAAI,IAAX,IAAI,CAAe,CAC/B,CACF,GACG,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,EACN,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,EAAE,CAC5F,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { SocialImageName } from "@sharadox/metadata-web-library/social-image";
|
|
2
|
+
import type { Locale } from "@sharadox/sharadox-web-library/content/locale/type";
|
|
3
|
+
export interface SocialImageOptions {
|
|
4
|
+
locale: Locale;
|
|
5
|
+
/** Which image: landscape or portrait, with or without the headline (see `SOCIAL_IMAGES`). */
|
|
6
|
+
name: SocialImageName;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../source/component/social-image/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AACnF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AAEjF,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,8FAA8F;IAC9F,IAAI,EAAE,eAAe,CAAC;CACvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../source/component/social-image/type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Sharadox mark alone (a globe: its outline, one meridian and the equator), white and grey on transparent,
|
|
3
|
+
* filling its square edge to edge (the outline's stroke included). The site's app icon master (src/app/icon.svg) draws
|
|
4
|
+
* the same mark, half its side, on black; social images draw it from here.
|
|
5
|
+
*/
|
|
6
|
+
export declare const MARK_SVG: string;
|
|
7
|
+
/** The mark as a data address, for images drawn from JSX (social and share images). */
|
|
8
|
+
export declare const MARK_DATA_URL: string;
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/mark/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,QAAQ,QAIkD,CAAC;AAExE,uFAAuF;AACvF,eAAO,MAAM,aAAa,QAA0E,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Sharadox mark alone (a globe: its outline, one meridian and the equator), white and grey on transparent,
|
|
3
|
+
* filling its square edge to edge (the outline's stroke included). The site's app icon master (src/app/icon.svg) draws
|
|
4
|
+
* the same mark, half its side, on black; social images draw it from here.
|
|
5
|
+
*/
|
|
6
|
+
export const MARK_SVG = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="128 128 256 256">' +
|
|
7
|
+
'<circle cx="256" cy="256" r="117" fill="none" stroke="#fff" stroke-width="22"/>' +
|
|
8
|
+
'<ellipse cx="256" cy="256" rx="51.6" ry="117" fill="none" stroke="#bfbfbf" stroke-width="16.5"/>' +
|
|
9
|
+
'<path d="M142 256h228" stroke="#bfbfbf" stroke-width="16.5"/></svg>';
|
|
10
|
+
/** The mark as a data address, for images drawn from JSX (social and share images). */
|
|
11
|
+
export const MARK_DATA_URL = `data:image/svg+xml;base64,${Buffer.from(MARK_SVG).toString("base64")}`;
|
|
12
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/mark/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,CAAC,MAAM,QAAQ,GACnB,oEAAoE;IACpE,iFAAiF;IACjF,kGAAkG;IAClG,qEAAqE,CAAC;AAExE,uFAAuF;AACvF,MAAM,CAAC,MAAM,aAAa,GAAG,6BAA6B,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC"}
|
package/llms.txt
CHANGED
|
@@ -37,3 +37,4 @@
|
|
|
37
37
|
- 0.32.0: About (component/about, content/about) replaces Statement and Touchpoint ("One System", both removed): the sentence lighting up on scroll (your brand everywhere online, and the system that runs your business behind it), then the brand online (a numbered list) beside the platform that runs the business (automated, simple, anywhere) with a live feed ticking events in while the place it's viewed from changes. SECTION.about replaces SECTION.touchpoints in navigation, footer and indicator. Services title: "Pick where to start." Section ids: #about, #web, #desktop-and-mobile, #creative, #marketing (service group keys web and desktop-and-mobile). Capabilities: longer lists in every column (Web adds custom business management systems, AI search optimization, AI assistants and automations, payments, integrations, languages, analytics, domains and security, privacy and accessibility) and an Always Included row (icon-web-library ^0.3.0 check). Process: each dot lights when the line reaches it (process/measure-stops); on phones the line grows from the top. Hero leaves room for the service index on wide screens. Section indicator sits outside the frame's right line (ticks only under 1400px). Rebranding: a divider sways across one star, the dated version on its left, the reimagined one on its right. ServiceUnlisted title as big as a section heading. Footer legal row: the dispute notice, the links under it
|
|
38
38
|
- 0.33.0: About: the platform is also for teams who work by hand. Its text covers the office to the warehouse floor, with jobs reaching people as tasks on their phone; the points are Automated, Your team and Anywhere. The feed mixes the platform's own events with people's ("John packed the order", "Mary loaded the van", shown by their initial) and is headed Live. The brand panel has its own Brand label. ServiceUnlisted is no longer inside Services: it's a section of its own (h2), placed by the page after the capabilities. New Faq (component/faq, content/faq, SECTION.faq "Questions", #faq): ten questions in native details that ease open, a sticky heading with Ask Us, and FAQPage JSON-LD rendered with it (only on the page that shows it). In navigation, indicator and footer. Always Included: domain, hosting and accounts taken care of (or in your name), and everything legal done as the law requires. The footer's legal row is centered. Eyebrow states its alignment (starts on the left). Page order: hero, service index, about, services, capabilities, unlisted, marquee, process, faq, contact
|
|
39
39
|
- 0.34.0: Section indicator mirrored, in the margin right of the frame (from just past its line to the window's edge): the rail along the line; per row a tick in a fixed 34px slot (so nothing shifts when the section changes), the number, and the name to the right, ending at the window's edge when it doesn't fit ("safe" alignment, right to left). Smaller name pills in a narrower margin (container query); no pills where even those can't fit (the link's title names it). Capabilities: column headings stick under the bar; shorter columns run on in empty ruled cells (hidden on phones). Footer: Back to top under the style switch; the legal row (centered) starts with the copyright; no bottom row. FAQ: the legal answer says every country has its own rules, and that we find out what's mandatory wherever the client does business
|
|
40
|
+
- 0.35.0: component/social-image renderSocialImage({ locale, name }) (metadata-web-library ^0.6.0 SOCIAL_IMAGES: landscape 1920×1080 and portrait 1080×1920, each also with the headline): the mark on black (half the shorter side), with the headline the hero's three lines in Geist (the last fading) beside it (landscape) or under it (portrait); content/mark MARK_SVG and MARK_DATA_URL (the mark alone, edge to edge). Hero: the copy sits in the middle of the space between the bar and the hero's bottom line, and the globe is centered on it. Capabilities: the lines between columns run over the sticky headings. About: one row per half: the brand (what it is, then its five parts in a numbered row), then the business (what it is beside the live feed, its three promises in a row under both)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sharadox/sharadox-web-library",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.35.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",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"@sharadox/internationalization-web-library": "^0.2.3",
|
|
63
63
|
"@sharadox/legal-web-library": "^0.1.0",
|
|
64
64
|
"@sharadox/menu-web-library": "^0.1.0",
|
|
65
|
-
"@sharadox/metadata-web-library": "^0.
|
|
65
|
+
"@sharadox/metadata-web-library": "^0.6.0",
|
|
66
66
|
"@sharadox/pointer-web-library": "^0.1.0",
|
|
67
67
|
"@sharadox/privacy-web-library": "^0.1.1",
|
|
68
68
|
"@sharadox/scroll-web-library": "^0.4.2",
|