@sharadox/sharadox-web-library 0.48.0 → 0.49.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/component/about/feed/index.d.ts +4 -3
- package/distribution/component/about/feed/index.d.ts.map +1 -1
- package/distribution/component/about/feed/index.js +5 -4
- package/distribution/component/about/feed/index.js.map +1 -1
- package/distribution/component/about/feed/index.module.css +1 -1
- package/distribution/component/about/feed/index.module.scss +13 -1
- package/distribution/component/about/feed/type.d.ts +2 -0
- package/distribution/component/about/feed/type.d.ts.map +1 -1
- package/distribution/component/about/index.js +1 -1
- 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 +13 -1
- package/distribution/component/contact/form/index.d.ts.map +1 -1
- package/distribution/component/contact/form/index.js +7 -3
- package/distribution/component/contact/form/index.js.map +1 -1
- package/distribution/component/contact/form/index.module.css +1 -1
- package/distribution/component/contact/form/index.module.scss +25 -1
- package/distribution/component/globe/index.module.css +1 -1
- package/distribution/component/globe/index.module.scss +5 -22
- package/distribution/component/portfolio/project/index.js +1 -1
- package/distribution/component/portfolio/project/index.js.map +1 -1
- package/distribution/component/portfolio/screens/index.d.ts +2 -1
- package/distribution/component/portfolio/screens/index.d.ts.map +1 -1
- package/distribution/component/portfolio/screens/index.js +2 -1
- package/distribution/component/portfolio/screens/index.js.map +1 -1
- package/distribution/component/portfolio/screens/index.module.css +1 -1
- package/distribution/component/portfolio/screens/index.module.scss +2 -0
- package/distribution/component/project-page/chapter/index.d.ts +3 -2
- package/distribution/component/project-page/chapter/index.d.ts.map +1 -1
- package/distribution/component/project-page/chapter/index.js +5 -4
- package/distribution/component/project-page/chapter/index.js.map +1 -1
- package/distribution/component/project-page/chapter/index.module.css +1 -1
- package/distribution/component/project-page/chapter/index.module.scss +4 -3
- package/distribution/component/project-page/index.d.ts +3 -2
- package/distribution/component/project-page/index.d.ts.map +1 -1
- package/distribution/component/project-page/index.js +4 -3
- package/distribution/component/project-page/index.js.map +1 -1
- package/distribution/component/project-page/index.module.css +1 -1
- package/distribution/component/project-page/index.module.scss +0 -4
- package/distribution/component/service-index/index.module.css +1 -1
- package/distribution/component/service-index/index.module.scss +3 -2
- package/distribution/content/contact/index.d.ts +9 -0
- package/distribution/content/contact/index.d.ts.map +1 -1
- package/distribution/content/contact/index.js +3 -0
- package/distribution/content/contact/index.js.map +1 -1
- package/distribution/content/email-design/index.js +1 -1
- package/distribution/content/email-design/index.js.map +1 -1
- package/distribution/content/portfolio/index.d.ts +15 -8
- package/distribution/content/portfolio/index.d.ts.map +1 -1
- package/distribution/content/portfolio/index.js +11 -6
- package/distribution/content/portfolio/index.js.map +1 -1
- package/distribution/style/object/index.scss +32 -0
- package/distribution/style/token/index.scss +5 -4
- package/package.json +5 -5
|
@@ -5,8 +5,9 @@ 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
|
|
9
|
-
*
|
|
8
|
+
* leans a few degrees towards it and a soft light follows it across, and it floats like the globe. It keeps one
|
|
9
|
+
* height throughout, its tallest tab's: the log never grows it, the oldest entries slipping out under its bottom edge
|
|
10
|
+
* as new ones arrive. A picture, so it's hidden from assistive technology.
|
|
10
11
|
*/
|
|
11
|
-
export declare function Feed({ locale }: FeedProperties): import("react").JSX.Element;
|
|
12
|
+
export declare function Feed({ locale, className }: FeedProperties): import("react").JSX.Element;
|
|
12
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/about/feed/index.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAoC/F
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/about/feed/index.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAoC/F;;;;;;;;;GASG;AACH,wBAAgB,IAAI,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,cAAc,+BAiIzD"}
|
|
@@ -50,10 +50,11 @@ 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
|
|
54
|
-
*
|
|
53
|
+
* leans a few degrees towards it and a soft light follows it across, and it floats like the globe. It keeps one
|
|
54
|
+
* height throughout, its tallest tab's: the log never grows it, the oldest entries slipping out under its bottom edge
|
|
55
|
+
* as new ones arrive. A picture, so it's hidden from assistive technology.
|
|
55
56
|
*/
|
|
56
|
-
export function Feed({ locale }) {
|
|
57
|
+
export function Feed({ locale, className }) {
|
|
57
58
|
const root = useRef(null);
|
|
58
59
|
const stage = useParallax(0.07);
|
|
59
60
|
const [inView, setInView] = useState(false);
|
|
@@ -106,6 +107,6 @@ export function Feed({ locale }) {
|
|
|
106
107
|
if (!pointed.startsWith("tab"))
|
|
107
108
|
panel.querySelector(`[data-target="${pointed}"]`).setAttribute("data-pointed", "");
|
|
108
109
|
}, [pointed, tab, shown]);
|
|
109
|
-
return (_jsx("div", { ref: stage, className: styles.stage, "aria-hidden": true, children: _jsxs("div", { ref: root, className: styles.feed, "data-playing": playing || undefined, children: [_jsxs("div", { className: styles.header, children: [_jsxs("span", { className: styles.live, children: [_jsx("i", {}), translate(feed.live, locale)] }), _jsxs("span", { className: styles.viewing, children: [translate(feed.viewing, locale), _jsx("span", { className: styles.places, children: feed.places[locale].map((place) => (_jsx("b", { children: place }, place))) })] })] }), _jsxs("div", { className: styles.tabs, children: [feed.tabs.map((name, index) => (_jsx("span", { "data-target": `tab-${index}`, "data-active": tab === index || undefined, children: translate(name, locale) }, name.en))), _jsx("i", { className: styles.underline, style: { transform: `translateX(${tab * 100}%)` } })] }), _jsxs("div", { className: styles.panes, children: [_jsx("div", { "data-active": tab === 0 || undefined, children: _jsx(Activity, { locale: locale, shown: shown }) }), _jsx("div", { "data-active": tab === 1 || undefined, children: _jsx(Project, { locale: locale, ticked: ticked }) }), _jsx("div", { "data-active": tab === 2 || undefined, children: _jsx(Client, { locale: locale }) })] }), _jsx(AnimatePresence, { children: tip && (_jsx(motion.div, { className: styles.tip, style: { left: places.tip.x, top: places.tip.y, x: "-50%", y: "-100%" }, initial: { opacity: 0, scale: 0.92 }, animate: { opacity: 1, scale: 1 }, exit: { opacity: 0, scale: 0.96 }, transition: { duration: 0.25, ease: EASE }, children: tipFor(tip, locale) }, tip)) }), _jsxs(motion.div, { className: styles.pointer, initial: false, animate: { x: places.pointer.x, y: places.pointer.y, opacity: pointed ? 1 : 0 }, transition: { duration: 0.8, ease: EASE }, children: [_jsx(AnimatePresence, { children: pressed > 0 && (_jsx(motion.span, { className: styles.ripple, initial: { opacity: 0.9, scale: 0.3 }, animate: { opacity: 0, scale: 1.4 }, transition: { duration: 0.6 } }, pressed)) }), _jsx(Icon, { name: "pointer", strokeWidth: 1.4 })] })] }) }));
|
|
110
|
+
return (_jsx("div", { ref: stage, className: [styles.stage, className].filter(Boolean).join(" "), "aria-hidden": true, children: _jsxs("div", { ref: root, className: styles.feed, "data-playing": playing || undefined, children: [_jsxs("div", { className: styles.header, children: [_jsxs("span", { className: styles.live, children: [_jsx("i", {}), translate(feed.live, locale)] }), _jsxs("span", { className: styles.viewing, children: [translate(feed.viewing, locale), _jsx("span", { className: styles.places, children: feed.places[locale].map((place) => (_jsx("b", { children: place }, place))) })] })] }), _jsxs("div", { className: styles.tabs, children: [feed.tabs.map((name, index) => (_jsx("span", { "data-target": `tab-${index}`, "data-active": tab === index || undefined, children: translate(name, locale) }, name.en))), _jsx("i", { className: styles.underline, style: { transform: `translateX(${tab * 100}%)` } })] }), _jsxs("div", { className: styles.panes, children: [_jsx("div", { className: styles.log, "data-active": tab === 0 || undefined, children: _jsx(Activity, { locale: locale, shown: shown }) }), _jsx("div", { "data-active": tab === 1 || undefined, children: _jsx(Project, { locale: locale, ticked: ticked }) }), _jsx("div", { "data-active": tab === 2 || undefined, children: _jsx(Client, { locale: locale }) })] }), _jsx(AnimatePresence, { children: tip && (_jsx(motion.div, { className: styles.tip, style: { left: places.tip.x, top: places.tip.y, x: "-50%", y: "-100%" }, initial: { opacity: 0, scale: 0.92 }, animate: { opacity: 1, scale: 1 }, exit: { opacity: 0, scale: 0.96 }, transition: { duration: 0.25, ease: EASE }, children: tipFor(tip, locale) }, tip)) }), _jsxs(motion.div, { className: styles.pointer, initial: false, animate: { x: places.pointer.x, y: places.pointer.y, opacity: pointed ? 1 : 0 }, transition: { duration: 0.8, ease: EASE }, children: [_jsx(AnimatePresence, { children: pressed > 0 && (_jsx(motion.span, { className: styles.ripple, initial: { opacity: 0.9, scale: 0.3 }, animate: { opacity: 0, scale: 1.4 }, transition: { duration: 0.6 } }, pressed)) }), _jsx(Icon, { name: "pointer", strokeWidth: 1.4 })] })] }) }));
|
|
110
111
|
}
|
|
111
112
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/about/feed/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,EAAE,QAAQ,EAAsB,MAAM,OAAO,CAAC;AACzF,OAAO,EA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,IAEV,SAAS,EAAE,MAAM,CAAC,MAAM,EACxB,OAAO,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,EACrC,OAAO,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,EACnC,UAAU,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,IAJxB,OAAO,CAKZ,CACH,GACe,EAClB,KAAC,IAAI,IAAC,IAAI,EAAC,SAAS,EAAC,WAAW,EAAE,GAAG,GAAI,IAC9B,IACT,GACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.stage{display:grid;justify-content:stretch;perspective:1400px}.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}.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}}.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}
|
|
@@ -12,6 +12,7 @@ $y: var(--parallax-y, 0);
|
|
|
12
12
|
display: grid;
|
|
13
13
|
justify-content: stretch;
|
|
14
14
|
perspective: 1400px;
|
|
15
|
+
@include float;
|
|
15
16
|
}
|
|
16
17
|
.feed {
|
|
17
18
|
@include face;
|
|
@@ -154,7 +155,8 @@ $y: var(--parallax-y, 0);
|
|
|
154
155
|
background: var(--foreground);
|
|
155
156
|
transition: transform 0.5s $ease;
|
|
156
157
|
}
|
|
157
|
-
/* The panes share one place,
|
|
158
|
+
/* The panes share one place, as tall as the tallest of Project and Client, so the panel keeps its height whatever
|
|
159
|
+
tab shows; the one shown fades in. */
|
|
158
160
|
.panes {
|
|
159
161
|
display: grid;
|
|
160
162
|
justify-content: stretch;
|
|
@@ -178,6 +180,16 @@ $y: var(--parallax-y, 0);
|
|
|
178
180
|
}
|
|
179
181
|
}
|
|
180
182
|
}
|
|
183
|
+
/* The log takes no room of its own: it fills the panes' height, and entries pushed past the bottom fade out under
|
|
184
|
+
it. A few pixels of room around it keep the outline of the entry being read clear of the edge. */
|
|
185
|
+
.panes > .log {
|
|
186
|
+
height: 0;
|
|
187
|
+
min-height: calc(100% + 8px);
|
|
188
|
+
margin: -4px;
|
|
189
|
+
padding: 4px;
|
|
190
|
+
overflow: hidden;
|
|
191
|
+
mask-image: linear-gradient(to bottom, #000 calc(100% - 56px), transparent calc(100% - 4px));
|
|
192
|
+
}
|
|
181
193
|
/* The pointer, solid with a dark edge, and the ring it leaves where it clicks. */
|
|
182
194
|
.pointer {
|
|
183
195
|
position: absolute;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { Locale } from "@sharadox/sharadox-web-library/content/locale/type";
|
|
2
2
|
export interface FeedProperties {
|
|
3
3
|
locale: Locale;
|
|
4
|
+
/** Extra classes for the stage around the panel, to size or place it in the page. */
|
|
5
|
+
className?: string;
|
|
4
6
|
}
|
|
5
7
|
//# sourceMappingURL=type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../source/component/about/feed/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AAEjF,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../source/component/about/feed/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AAEjF,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,qFAAqF;IACrF,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -17,6 +17,6 @@ import styles from "./index.module.css";
|
|
|
17
17
|
*/
|
|
18
18
|
export function About({ locale }) {
|
|
19
19
|
const { brand, business } = ABOUT;
|
|
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))) })] })] })] }));
|
|
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, className: styles.feed }), _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))) })] })] })] }));
|
|
21
21
|
}
|
|
22
22
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/about/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,wCAAwC,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,6CAA6C,CAAC;AAC1E,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,EAAE,KAAK,EAAE,MAAM,8CAA8C,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC;;;;;;GAMG;AACH,MAAM,UAAU,KAAK,CAAC,EAAE,MAAM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,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}}
|
|
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"}}@media(max-width: 640px){.business .feed{margin-inline:calc(-1*clamp(24px, 3.4vw, 48px))}.business .feed>*{border-inline:0;border-radius:0}}.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,6 +12,8 @@
|
|
|
12
12
|
line-height: 1.08;
|
|
13
13
|
max-width: 24ch;
|
|
14
14
|
}
|
|
15
|
+
/* The room inside each half. */
|
|
16
|
+
$room: clamp(24px, 3.4vw, 48px);
|
|
15
17
|
/* The two halves, one row each, as cells with hairlines between them. */
|
|
16
18
|
.panels {
|
|
17
19
|
display: grid;
|
|
@@ -25,7 +27,7 @@
|
|
|
25
27
|
background: var(--line);
|
|
26
28
|
> * {
|
|
27
29
|
background: var(--background);
|
|
28
|
-
padding:
|
|
30
|
+
padding: $room;
|
|
29
31
|
}
|
|
30
32
|
h3 {
|
|
31
33
|
font-size: clamp(1.6rem, 2.8vw, 2.5rem);
|
|
@@ -124,6 +126,16 @@
|
|
|
124
126
|
"points";
|
|
125
127
|
}
|
|
126
128
|
}
|
|
129
|
+
/* On phones the live feed spans the whole half, edge to edge, the half's own border framing it. */
|
|
130
|
+
.business .feed {
|
|
131
|
+
@include below(640px) {
|
|
132
|
+
margin-inline: calc(-1 * #{$room});
|
|
133
|
+
> * {
|
|
134
|
+
border-inline: 0;
|
|
135
|
+
border-radius: 0;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
127
139
|
/* Automated, your team, anywhere: three promises side by side, each a word and a line. */
|
|
128
140
|
.points {
|
|
129
141
|
grid-area: points;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/contact/form/index.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/contact/form/index.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AAIxG;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,EAAE,qBAAqB,+BAuMhF"}
|
|
@@ -13,6 +13,7 @@ import { Chip } from "@sharadox/sharadox-web-library/component/contact/form/chip
|
|
|
13
13
|
import { contactProblems } from "@sharadox/sharadox-web-library/utility/contact-problem";
|
|
14
14
|
import styles from "./index.module.css";
|
|
15
15
|
import { newTab } from "@sharadox/web-library/navigation/new-tab";
|
|
16
|
+
import { PhoneField } from "@sharadox/form-web-library/phone-field";
|
|
16
17
|
/**
|
|
17
18
|
* The enquiry form: name, company, email and phone (one of them is enough), the choices grouped like the services, and
|
|
18
19
|
* a message. On wide screens, the visitor's details, the message and the send button on the left, the choices on the
|
|
@@ -85,8 +86,11 @@ export function ContactForm({ locale, action: sendAction }) {
|
|
|
85
86
|
// The page it was sent from, for the email (shown only when it's on the site's own domain).
|
|
86
87
|
form.elements.namedItem("page").value = location.href;
|
|
87
88
|
}, onChange: (event) => {
|
|
88
|
-
if (problems)
|
|
89
|
-
|
|
90
|
-
|
|
89
|
+
if (!problems)
|
|
90
|
+
return;
|
|
91
|
+
// Read once this change is on screen: the phone's own field fills its hidden input as it renders.
|
|
92
|
+
const form = event.currentTarget;
|
|
93
|
+
setTimeout(() => setProblems(contactProblems(new FormData(form))));
|
|
94
|
+
}, className: styles.form, exit: { opacity: 0, scale: 0.98 }, children: [_jsx("input", { type: "hidden", name: "started-at", defaultValue: "0" }), _jsx("input", { type: "hidden", name: "page", defaultValue: "" }), _jsx("input", { type: "hidden", name: "locale", value: locale }), _jsx("div", { className: styles.honeypot, "aria-hidden": true, children: _jsxs("label", { children: ["Website", _jsx("input", { name: "website", tabIndex: -1, autoComplete: "off" })] }) }), _jsxs("div", { className: styles.about, children: [_jsxs("div", { className: styles.row, children: [_jsxs("label", { className: styles.field, children: [_jsx("span", { children: translate(CONTACT.name, locale) }), _jsx("input", { name: "name", required: true, autoComplete: "name", maxLength: 120, ...described("name") }), problem("name")] }), _jsxs("label", { className: styles.field, children: [_jsx("span", { children: translate(CONTACT.company, locale) }), _jsx("input", { name: "company", autoComplete: "organization", maxLength: 160 })] })] }), _jsxs("label", { className: styles.field, children: [_jsx("span", { children: translate(CONTACT.email, locale) }), _jsx("input", { name: "email", type: "email", autoComplete: "email", maxLength: 200, ...described("reach", "email") }), problem("email")] }), _jsxs("div", { className: styles.field, children: [_jsx("label", { htmlFor: "contact-phone", children: _jsx("span", { children: translate(CONTACT.phone, locale) }) }), _jsx(PhoneField, { name: "phone", locale: locale, defaultCountry: "PT", labels: { country: translate(CONTACT.country, locale), search: translate(CONTACT.search, locale) }, className: styles.phone, inputProps: { id: "contact-phone", ...described("reach", "phone") } }), problem("phone")] }), has("reach") ? problem("reach") : _jsx("span", { className: styles.hint, children: translate(CONTACT.reach, locale) })] }), _jsxs("fieldset", { ref: needs, className: styles.services, "data-invalid": has("needs") || undefined, "aria-describedby": has("needs") ? "contact-needs-problem" : undefined, children: [_jsx("legend", { children: translate(CONTACT.needs.label, locale) }), CONTACT.needs.groups.map((group) => (_jsxs("div", { className: styles.group, role: "group", "aria-label": translate(group.title, locale), children: [_jsx("span", { className: "monospace", children: translate(group.title, locale) }), group.options.map((need) => (_jsx(Chip, { need: need.key, label: need[locale] }, need.key)))] }, group.key))), _jsxs("div", { className: styles.group, role: "group", "aria-label": translate(CONTACT.needs.unsure.title, locale), children: [_jsx("span", { className: "monospace", children: translate(CONTACT.needs.unsure.title, locale) }), CONTACT.needs.unsure.options.map((need) => (_jsx(Chip, { need: need.key, label: need[locale] }, need.key)))] }), problem("needs")] }), _jsxs("label", { className: `${styles.field} ${styles.message}`, children: [_jsx("span", { children: translate(CONTACT.message, locale) }), _jsx("textarea", { name: "message", required: true, rows: 5, minLength: CONTACT.minimumMessageLength, maxLength: 5000, ...described("message") }), problem("message")] }), _jsxs("div", { className: styles.submit, children: [state.status !== "idle" && (_jsx("p", { className: styles.error, role: "alert", children: state.status === "failed" ? (_jsxs(_Fragment, { children: [translate(CONTACT.errors.failed, locale), " ", _jsx("a", { href: `mailto:${SITE.email}`, ...newTab(`mailto:${SITE.email}`), children: SITE.email }), "."] })) : (translate(CONTACT.errors[state.status], locale)) })), _jsx(Button, { size: "block", disabled: pending, arrow: !pending, children: pending ? translate(CONTACT.sending, locale) : translate(CONTACT.send, locale) })] })] }, "form")) }));
|
|
91
95
|
}
|
|
92
96
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/contact/form/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAC7E,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEpE,OAAO,EAAE,MAAM,EAAE,MAAM,iDAAiD,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,EAAE,IAAI,EAAE,MAAM,6CAA6C,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,yCAA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MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAChD,GACC,CACL,EACD,KAAC,MAAM,IAAC,IAAI,EAAC,OAAO,EAAC,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,OAAO,YACpD,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,GACxE,IACL,KA5HF,MAAM,CA6HE,CACf,GACe,CACnB,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.form{justify-content:stretch;align-items:stretch;--pointer-x: -500px;--pointer-y: -500px;position:relative;display:grid;gap:14px;padding:clamp(22px,3vw,34px);border-radius:18px;background:var(--card);border:1px solid var(--line);isolation:isolate}.form::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:radial-gradient(500px circle at var(--pointer-x) var(--pointer-y), color-mix(in srgb, var(--foreground) 5%, transparent), transparent 60%)}@media(min-width: 1000px){.form:not(.done){grid-template-columns:1fr 1fr;grid-template-rows:auto 1fr auto;gap:18px clamp(32px,4vw,56px)}.services{align-content:start;grid-column:2;grid-row:1/-1}.message{grid-template-rows:auto 1fr}.message textarea{height:100%;min-height:140px}}.about,.submit{justify-content:stretch;display:grid;gap:14px}.row{display:grid;grid-template-columns:1fr 1fr;gap:14px}@media(max-width: 860px){.row{grid-template-columns:1fr}}.field{justify-content:stretch;display:grid;align-content:start;gap:7px}.field
|
|
1
|
+
.form{justify-content:stretch;align-items:stretch;--pointer-x: -500px;--pointer-y: -500px;position:relative;display:grid;gap:14px;padding:clamp(22px,3vw,34px);border-radius:18px;background:var(--card);border:1px solid var(--line);isolation:isolate}.form::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:radial-gradient(500px circle at var(--pointer-x) var(--pointer-y), color-mix(in srgb, var(--foreground) 5%, transparent), transparent 60%)}@media(min-width: 1000px){.form:not(.done){grid-template-columns:1fr 1fr;grid-template-rows:auto 1fr auto;gap:18px clamp(32px,4vw,56px)}.services{align-content:start;grid-column:2;grid-row:1/-1}.message{grid-template-rows:auto 1fr}.message textarea{height:100%;min-height:140px}}.about,.submit{justify-content:stretch;display:grid;gap:14px}.row{display:grid;grid-template-columns:1fr 1fr;gap:14px}@media(max-width: 860px){.row{grid-template-columns:1fr}}.field{justify-content:stretch;display:grid;align-content:start;gap:7px}.field>span,.field>label>span{font-size:13px;color:var(--foreground-2)}.field input,.field textarea{width:100%;font:inherit;font-size:15px;color:var(--foreground);background:var(--background);border:1px solid var(--line-2);border-radius:12px;padding:13px 14px;transition:border-color .25s,box-shadow .25s;resize:vertical}.field input:focus,.field textarea:focus{outline:none;border-color:color-mix(in srgb, var(--foreground) 50%, transparent);box-shadow:0 0 0 4px color-mix(in srgb, var(--foreground) 6%, transparent)}.phone{--phone-field-line: var(--line-2);--phone-field-accent: var(--foreground);--phone-field-surface: var(--background);--phone-field-popover: var(--background);--phone-field-radius: 12px;font-size:15px}.phone>button{min-height:48px;color:var(--foreground)}.phone [role=listbox]{font-size:14px;color:var(--foreground-2)}.field .phone input[type=search]{padding:9px 12px;border-radius:9px;font-size:14px}.services{display:grid;gap:12px;margin:4px 0 2px;padding:0;border:0}.services legend{float:left;padding:0;width:100%;margin-bottom:9px;font-size:13px;color:var(--foreground-2)}.honeypot{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.error{font-size:14px;color:var(--error)}.error a{text-decoration:underline}.done{min-height:380px;place-items:center;text-align:center;align-content:center;gap:18px}.done p{max-width:30ch;color:var(--foreground-2)}.check{width:56px;height:56px;fill:none;stroke:var(--foreground);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.check path{stroke-dasharray:40;stroke-dashoffset:40;animation:draw .8s .2s var(--ease) forwards}@keyframes draw{to{stroke-dashoffset:0}}.group{justify-content:flex-start;display:flex;flex-wrap:wrap;align-items:center;gap:8px}.group>span{flex-basis:100%;font-size:11px;letter-spacing:.05em;text-transform:uppercase;color:var(--foreground-3)}.problem{font-size:13px;color:var(--error) !important}.hint{margin-top:-6px;font-size:13px;color:var(--foreground-3)}.field input[aria-invalid],.field textarea[aria-invalid]{border-color:var(--error)}.services[data-invalid] .group label>span{border-color:color-mix(in srgb, var(--error) 55%, transparent)}
|
|
@@ -61,7 +61,8 @@
|
|
|
61
61
|
display: grid;
|
|
62
62
|
align-content: start;
|
|
63
63
|
gap: 7px;
|
|
64
|
-
span
|
|
64
|
+
> span,
|
|
65
|
+
> label > span {
|
|
65
66
|
font-size: 13px;
|
|
66
67
|
color: var(--foreground-2);
|
|
67
68
|
}
|
|
@@ -86,6 +87,29 @@
|
|
|
86
87
|
}
|
|
87
88
|
}
|
|
88
89
|
}
|
|
90
|
+
/* The phone: a country picker (flag and calling code) beside a box for the digits, in the form's own colors. */
|
|
91
|
+
.phone {
|
|
92
|
+
--phone-field-line: var(--line-2);
|
|
93
|
+
--phone-field-accent: var(--foreground);
|
|
94
|
+
--phone-field-surface: var(--background);
|
|
95
|
+
--phone-field-popover: var(--background);
|
|
96
|
+
--phone-field-radius: 12px;
|
|
97
|
+
font-size: 15px;
|
|
98
|
+
> button {
|
|
99
|
+
min-height: 48px;
|
|
100
|
+
color: var(--foreground);
|
|
101
|
+
}
|
|
102
|
+
[role="listbox"] {
|
|
103
|
+
font-size: 14px;
|
|
104
|
+
color: var(--foreground-2);
|
|
105
|
+
}
|
|
106
|
+
/* The search box inside the list keeps its own, smaller look. */
|
|
107
|
+
.field & input[type="search"] {
|
|
108
|
+
padding: 9px 12px;
|
|
109
|
+
border-radius: 9px;
|
|
110
|
+
font-size: 14px;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
89
113
|
.services {
|
|
90
114
|
display: grid;
|
|
91
115
|
gap: 12px;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.globe{--globe-glow: var(--foreground);--globe-surface: var(--background);position:absolute;inset:0;will-change:
|
|
1
|
+
.globe{--globe-glow: var(--foreground);--globe-surface: var(--background);position:absolute;inset:0;will-change:translate,rotate;animation:float 9s ease-in-out 0s infinite}@media(prefers-reduced-motion: reduce){.globe{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}}
|
|
@@ -1,28 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
@use "style/object" as *;
|
|
2
|
+
|
|
3
|
+
/* The shared globe's halo and fallback follow the Sharadox style. It floats (the shared float). */
|
|
3
4
|
.globe {
|
|
4
5
|
--globe-glow: var(--foreground);
|
|
5
6
|
--globe-surface: var(--background);
|
|
6
7
|
position: absolute;
|
|
7
8
|
inset: 0;
|
|
8
|
-
will-change:
|
|
9
|
-
|
|
10
|
-
@media (prefers-reduced-motion: reduce) {
|
|
11
|
-
animation: none;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
@keyframes float {
|
|
15
|
-
0%,
|
|
16
|
-
100% {
|
|
17
|
-
transform: translate3d(0, 0, 0) rotate(0deg);
|
|
18
|
-
}
|
|
19
|
-
25% {
|
|
20
|
-
transform: translate3d(0.4%, -1.1%, 0) rotate(0.6deg);
|
|
21
|
-
}
|
|
22
|
-
50% {
|
|
23
|
-
transform: translate3d(0, -2%, 0) rotate(0deg);
|
|
24
|
-
}
|
|
25
|
-
75% {
|
|
26
|
-
transform: translate3d(-0.4%, -1.1%, 0) rotate(-0.6deg);
|
|
27
|
-
}
|
|
9
|
+
will-change: translate, rotate;
|
|
10
|
+
@include float;
|
|
28
11
|
}
|
|
@@ -13,6 +13,6 @@ import styles from "./index.module.css";
|
|
|
13
13
|
export function Project({ project, index, locale }) {
|
|
14
14
|
const { details } = PORTFOLIO;
|
|
15
15
|
const launched = launchDate(project.date, locale);
|
|
16
|
-
return (_jsxs("article", { className: styles.project, "aria-labelledby": `project-${project.key}`, children: [_jsx(Screens, { project: project, label: `${project.client} ${translate(PORTFOLIO.screens, locale)}` }), _jsxs("div", { className: styles.story, children: [_jsxs("p", { className: `monospace ${styles.top}`, children: [_jsx("span", { children: String(index + 1).padStart(2, "0") }), _jsx("time", { dateTime: project.date, children: launched })] }), _jsxs("h3", { id: `project-${project.key}`, children: [_jsx("span", { className: styles.client, children: project.
|
|
16
|
+
return (_jsxs("article", { className: styles.project, "aria-labelledby": `project-${project.key}`, children: [_jsx(Screens, { project: project, label: `${project.client} ${translate(PORTFOLIO.screens, locale)}` }), _jsxs("div", { className: styles.story, children: [_jsxs("p", { className: `monospace ${styles.top}`, children: [_jsx("span", { children: String(index + 1).padStart(2, "0") }), _jsx("time", { dateTime: project.date, children: launched })] }), _jsxs("h3", { id: `project-${project.key}`, children: [_jsx("span", { className: styles.client, children: project.title }), translate(project.name, locale)] }), _jsx("p", { className: styles.text, children: translate(project.text, locale) }), _jsxs("dl", { className: styles.details, children: [_jsxs("div", { children: [_jsx("dt", { children: translate(details.client, locale) }), _jsx("dd", { children: project.client })] }), _jsxs("div", { children: [_jsx("dt", { children: translate(details.place, locale) }), _jsx("dd", { children: translate(project.place, locale) })] }), _jsxs("div", { children: [_jsx("dt", { children: translate(details.launched, locale) }), _jsx("dd", { children: launched })] })] }), _jsxs("div", { className: styles.services, children: [_jsx("span", { className: `monospace ${styles.label}`, children: translate(details.services, locale) }), _jsx("ul", { children: project.services.map((service) => (_jsx("li", { children: serviceName(service, locale) }, service))) })] }), _jsx(Button, { href: `/${locale}${PORTFOLIO.path}/${project.key}`, arrow: true, className: styles.open, children: translate(PORTFOLIO.open, locale) })] })] }));
|
|
17
17
|
}
|
|
18
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/portfolio/project/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE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,IAC7B,EACL,YAAG,SAAS,EAAE,MAAM,CAAC,IAAI,YAAG,SAAS,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,GAAK,EAChE,cAAI,SAAS,EAAE,MAAM,CAAC,OAAO,aAC3B,0BACE,uBAAK,SAAS,CAAC,OAAO,CAAC,MAAM,EAAE,MAAM,CAAC,GAAM,EAC5C,uBAAK,OAAO,CAAC,MAAM,GAAM,IACrB,EACN,0BACE,uBAAK,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,GAAM,EAC3C,uBAAK,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,GAAM,IACvC,EACN,0BACE,uBAAK,SAAS,CAAC,OAAO,CAAC,QAAQ,EAAE,MAAM,CAAC,GAAM,EAC9C,uBAAK,QAAQ,GAAM,IACf,IACH,EACL,eAAK,SAAS,EAAE,MAAM,CAAC,QAAQ,aAC7B,eAAM,SAAS,EAAE,aAAa,MAAM,CAAC,KAAK,EAAE,YAAG,SAAS,CAAC,OAAO,CAAC,QAAQ,EAAE,MAAM,CAAC,GAAQ,EAC1F,uBACG,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CACjC,uBAAmB,WAAW,CAAC,OAAO,EAAE,MAAM,CAAC,IAAtC,OAAO,CAAqC,CACtD,CAAC,GACC,IACD,EACN,KAAC,MAAM,IAAC,IAAI,EAAE,IAAI,MAAM,GAAG,SAAS,CAAC,IAAI,IAAI,OAAO,CAAC,GAAG,EAAE,EAAE,KAAK,QAAC,SAAS,EAAE,MAAM,CAAC,IAAI,YACrF,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,MAAM,CAAC,GAC3B,IACL,IACE,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -3,7 +3,8 @@ import type { ScreensProperties } from "@sharadox/sharadox-web-library/component
|
|
|
3
3
|
* The project's first screen, on a computer and on a phone: a browser window, slightly turned, with a phone standing
|
|
4
4
|
* in front of it. Under the pointer the whole scene turns to face it and follows it in depth: the phone, nearer,
|
|
5
5
|
* moves more than the window, the glow behind moves the other way, and a soft glare slides across both screens. The
|
|
6
|
-
* window keeps the screenshot's own proportions, so it is never taller than the page it shows.
|
|
6
|
+
* window keeps the screenshot's own proportions, so it is never taller than the page it shows. At rest it floats, like
|
|
7
|
+
* the globe.
|
|
7
8
|
*/
|
|
8
9
|
export declare function Screens({ project, label, priority }: ScreensProperties): import("react").JSX.Element;
|
|
9
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/portfolio/screens/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iEAAiE,CAAC;AAEzG
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/portfolio/screens/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iEAAiE,CAAC;AAEzG;;;;;;GAMG;AACH,wBAAgB,OAAO,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,iBAAiB,+BA4CtE"}
|
|
@@ -7,7 +7,8 @@ import styles from "./index.module.css";
|
|
|
7
7
|
* The project's first screen, on a computer and on a phone: a browser window, slightly turned, with a phone standing
|
|
8
8
|
* in front of it. Under the pointer the whole scene turns to face it and follows it in depth: the phone, nearer,
|
|
9
9
|
* moves more than the window, the glow behind moves the other way, and a soft glare slides across both screens. The
|
|
10
|
-
* window keeps the screenshot's own proportions, so it is never taller than the page it shows.
|
|
10
|
+
* window keeps the screenshot's own proportions, so it is never taller than the page it shows. At rest it floats, like
|
|
11
|
+
* the globe.
|
|
11
12
|
*/
|
|
12
13
|
export function Screens({ project, label, priority }) {
|
|
13
14
|
const { computer, phone } = project.screens;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/portfolio/screens/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,KAAK,MAAM,YAAY,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AACrE,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/portfolio/screens/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,KAAK,MAAM,YAAY,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AACrE,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC;;;;;;GAMG;AACH,MAAM,UAAU,OAAO,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAqB;IACrE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC,OAAO,CAAC;IAC5C,MAAM,MAAM,GAAG,IAAI,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC;IACzC,MAAM,KAAK,GAAG,WAAW,CAAiB,IAAI,CAAC,CAAC;IAChD,OAAO,CACL,eAAK,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,CAAC,KAAK,EAAE,IAAI,EAAC,KAAK,gBAAa,KAAK,aACpE,cAAK,SAAS,EAAE,MAAM,CAAC,IAAI,wBAAgB,EAC3C,eAAK,SAAS,EAAE,MAAM,CAAC,KAAK,kCAC1B,eAAK,SAAS,EAAE,MAAM,CAAC,OAAO,aAC5B,eAAK,SAAS,EAAE,MAAM,CAAC,GAAG,aACxB,gBAAM,SAAS,EAAE,MAAM,CAAC,IAAI,aAC1B,aAAK,EACL,aAAK,EACL,aAAK,IACA,EACP,eAAM,SAAS,EAAE,aAAa,MAAM,CAAC,OAAO,EAAE,YAAG,MAAM,GAAQ,IAC3D,EACN,cAAK,SAAS,EAAE,MAAM,CAAC,QAAQ,EAAE,KAAK,EAAE,EAAE,WAAW,EAAE,GAAG,QAAQ,CAAC,KAAK,MAAM,QAAQ,CAAC,MAAM,EAAE,EAAE,YAC/F,KAAC,KAAK,IACJ,GAAG,EAAE,QAAQ,CAAC,GAAG,EACjB,KAAK,EAAE,QAAQ,CAAC,KAAK,EACrB,MAAM,EAAE,QAAQ,CAAC,MAAM,EACvB,GAAG,EAAC,EAAE,EACN,KAAK,EAAC,iCAAiC,EACvC,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,MAAM,CAAC,IAAI,GACtB,GACE,IACF,EACN,cAAK,SAAS,EAAE,MAAM,CAAC,KAAK,YAC1B,cAAK,SAAS,EAAE,MAAM,CAAC,QAAQ,YAC7B,KAAC,KAAK,IACJ,GAAG,EAAE,KAAK,CAAC,GAAG,EACd,KAAK,EAAE,KAAK,CAAC,KAAK,EAClB,MAAM,EAAE,KAAK,CAAC,MAAM,EACpB,GAAG,EAAC,EAAE,EACN,KAAK,EAAC,OAAO,EACb,SAAS,EAAE,MAAM,CAAC,IAAI,GACtB,GACE,GACF,IACF,IACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.stage{position:relative;display:grid;align-content:center;justify-content:stretch;padding:clamp(28px,5vw,64px) clamp(28px,7vw,96px) clamp(48px,7vw,88px) clamp(20px,4vw,48px);perspective:1600px}.glow{position:absolute;inset:10% 6% 0;background:radial-gradient(closest-side, color-mix(in srgb, var(--foreground) 35%, transparent), transparent);filter:blur(40px);opacity:calc(.5 + .3*var(--parallax-hover, 0));transform:translate(calc(var(--parallax-x, 0) * -36px), calc(var(--parallax-y, 0) * -24px));pointer-events:none}.scene{position:relative;display:grid;justify-content:stretch;transform-style:preserve-3d;transform:rotateX(calc(var(--parallax-y, 0) * -6deg)) rotateY(calc(var(--parallax-x, 0) * 9deg))}.browser,.phone{position:relative;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);overflow:hidden;box-shadow:0 40px 80px -40px color-mix(in srgb, var(--foreground) 35%, transparent),0 1px 0 color-mix(in srgb, var(--foreground) 20%, transparent) inset}.browser::after,.phone::after{content:"";position:absolute;inset:0;z-index:2;background:linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.09) 46%, rgba(255, 255, 255, 0.03) 54%, transparent 70%);background-size:250% 100%;background-position:calc(50% - var(--parallax-x, 0)*40%) 0;opacity:var(--parallax-hover, 0);pointer-events:none}.browser{display:grid;grid-template-rows:auto auto;align-self:center;justify-content:stretch;border-radius:14px;transform-origin:left center;transform:rotateY(calc(8deg * (1 - var(--parallax-hover, 0)))) rotateX(calc(2deg * (1 - var(--parallax-hover, 0))))}.bar{display:grid;grid-template-columns:auto 1fr auto;gap:12px;padding:10px 14px;border-bottom:1px solid var(--line-2)}.bar::after{content:"";width:42px}.dots{display:flex;gap:6px}.dots i{width:9px;height:9px;border-radius:50%;background:color-mix(in srgb, var(--foreground) 20%, transparent)}.address{justify-self:center;padding:4px 14px;border:1px solid var(--line-2);border-radius:99px;background:color-mix(in srgb, var(--foreground) 10%, var(--background));font-size:11px;color:var(--foreground-2)}.phone{position:absolute;right:clamp(-28px,-2vw,-8px);bottom:clamp(-40px,-3vw,-16px);width:clamp(96px,24%,190px);padding:5px;border-radius:26px;transform:translate3d(calc(var(--parallax-x, 0) * 16px), calc(var(--parallax-y, 0) * 10px), 70px) rotateY(calc(-10deg * (1 - var(--parallax-hover, 0)) + var(--parallax-x, 0) * 4deg))}.phone .viewport{aspect-ratio:9/19.5;border-radius:21px}.viewport{position:relative;overflow:hidden;background:var(--background)}.page{display:block;width:100%;height:100%;object-fit:cover;object-position:top}@media(prefers-reduced-motion: reduce){.scene,.browser,.phone,.glow{transform:none}}
|
|
1
|
+
.stage{position:relative;display:grid;align-content:center;justify-content:stretch;padding:clamp(28px,5vw,64px) clamp(28px,7vw,96px) clamp(48px,7vw,88px) clamp(20px,4vw,48px);perspective:1600px}.glow{position:absolute;inset:10% 6% 0;background:radial-gradient(closest-side, color-mix(in srgb, var(--foreground) 35%, transparent), transparent);filter:blur(40px);opacity:calc(.5 + .3*var(--parallax-hover, 0));transform:translate(calc(var(--parallax-x, 0) * -36px), calc(var(--parallax-y, 0) * -24px));pointer-events:none}.scene{position:relative;display:grid;justify-content:stretch;animation:float 9s ease-in-out 0s infinite}@media(prefers-reduced-motion: reduce){.scene{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}}.scene{transform-style:preserve-3d;transform:rotateX(calc(var(--parallax-y, 0) * -6deg)) rotateY(calc(var(--parallax-x, 0) * 9deg))}.browser,.phone{position:relative;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);overflow:hidden;box-shadow:0 40px 80px -40px color-mix(in srgb, var(--foreground) 35%, transparent),0 1px 0 color-mix(in srgb, var(--foreground) 20%, transparent) inset}.browser::after,.phone::after{content:"";position:absolute;inset:0;z-index:2;background:linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.09) 46%, rgba(255, 255, 255, 0.03) 54%, transparent 70%);background-size:250% 100%;background-position:calc(50% - var(--parallax-x, 0)*40%) 0;opacity:var(--parallax-hover, 0);pointer-events:none}.browser{display:grid;grid-template-rows:auto auto;align-self:center;justify-content:stretch;border-radius:14px;transform-origin:left center;transform:rotateY(calc(8deg * (1 - var(--parallax-hover, 0)))) rotateX(calc(2deg * (1 - var(--parallax-hover, 0))))}.bar{display:grid;grid-template-columns:auto 1fr auto;gap:12px;padding:10px 14px;border-bottom:1px solid var(--line-2)}.bar::after{content:"";width:42px}.dots{display:flex;gap:6px}.dots i{width:9px;height:9px;border-radius:50%;background:color-mix(in srgb, var(--foreground) 20%, transparent)}.address{justify-self:center;padding:4px 14px;border:1px solid var(--line-2);border-radius:99px;background:color-mix(in srgb, var(--foreground) 10%, var(--background));font-size:11px;color:var(--foreground-2)}.phone{position:absolute;right:clamp(-28px,-2vw,-8px);bottom:clamp(-40px,-3vw,-16px);width:clamp(96px,24%,190px);padding:5px;border-radius:26px;transform:translate3d(calc(var(--parallax-x, 0) * 16px), calc(var(--parallax-y, 0) * 10px), 70px) rotateY(calc(-10deg * (1 - var(--parallax-hover, 0)) + var(--parallax-x, 0) * 4deg))}.phone .viewport{aspect-ratio:9/19.5;border-radius:21px}.viewport{position:relative;overflow:hidden;background:var(--background)}.page{display:block;width:100%;height:100%;object-fit:cover;object-position:top}@media(prefers-reduced-motion: reduce){.scene,.browser,.phone,.glow{transform:none}}
|
|
@@ -28,10 +28,12 @@ $hover: var(--parallax-hover, 0);
|
|
|
28
28
|
transform: translate(calc(#{$x} * -36px), calc(#{$y} * -24px));
|
|
29
29
|
pointer-events: none;
|
|
30
30
|
}
|
|
31
|
+
/* The whole scene floats, like the globe, under its tilt towards the pointer. */
|
|
31
32
|
.scene {
|
|
32
33
|
position: relative;
|
|
33
34
|
display: grid;
|
|
34
35
|
justify-content: stretch;
|
|
36
|
+
@include float;
|
|
35
37
|
transform-style: preserve-3d;
|
|
36
38
|
transform: rotateX(calc(#{$y} * -6deg)) rotateY(calc(#{$x} * 9deg));
|
|
37
39
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { ChapterProperties } from "@sharadox/sharadox-web-library/component/project-page/chapter/type";
|
|
2
2
|
/**
|
|
3
|
-
* One part of a project we're proud of: its number and name, what it is, and a few details of how it works,
|
|
4
|
-
* website's own component
|
|
3
|
+
* One part of a project we're proud of: its number and name, what it is, and a few details of how it works, in the
|
|
4
|
+
* frame; then the website's own component across the whole width of the page, as wide as on the site itself, under a
|
|
5
|
+
* bar with a live dot and the site's address.
|
|
5
6
|
*/
|
|
6
7
|
export declare function Chapter({ number, title, text, points, detailsLabel, live, children }: ChapterProperties): import("react").JSX.Element;
|
|
7
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/project-page/chapter/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oEAAoE,CAAC;AAE5G
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/project-page/chapter/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oEAAoE,CAAC;AAE5G;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,iBAAiB,+BAuCvG"}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { Reveal } from "@sharadox/animation-web-library/reveal";
|
|
3
3
|
import { Icon } from "@sharadox/icon-web-library/icon";
|
|
4
4
|
import { Section } from "@sharadox/sharadox-web-library/component/section";
|
|
5
5
|
import styles from "./index.module.css";
|
|
6
6
|
/**
|
|
7
|
-
* One part of a project we're proud of: its number and name, what it is, and a few details of how it works,
|
|
8
|
-
* website's own component
|
|
7
|
+
* One part of a project we're proud of: its number and name, what it is, and a few details of how it works, in the
|
|
8
|
+
* frame; then the website's own component across the whole width of the page, as wide as on the site itself, under a
|
|
9
|
+
* bar with a live dot and the site's address.
|
|
9
10
|
*/
|
|
10
11
|
export function Chapter({ number, title, text, points, detailsLabel, live, children }) {
|
|
11
|
-
return (_jsxs(Section, { padded: false, children:
|
|
12
|
+
return (_jsxs(_Fragment, { children: [_jsx(Section, { padded: false, children: _jsxs(Reveal, { className: styles.copy, children: [_jsx("span", { className: `monospace ${styles.number}`, children: String(number).padStart(2, "0") }), _jsx("h2", { children: title }), _jsxs("div", { className: styles.about, children: [_jsx("p", { children: text }), _jsxs("div", { className: styles.details, children: [_jsx("span", { className: "monospace", children: detailsLabel }), _jsx("ul", { children: points.map((point) => (_jsxs("li", { children: [_jsx(Icon, { name: "check", strokeWidth: 1.6 }), point] }, point))) })] })] })] }) }), _jsxs("div", { className: styles.window, children: [_jsxs("div", { className: `monospace ${styles.bar}`, children: [_jsxs("span", { className: styles.dots, "aria-hidden": true, children: [_jsx("i", {}), _jsx("i", {}), _jsx("i", {})] }), _jsxs("span", { className: styles.live, children: [_jsx("i", { "aria-hidden": true }), live] })] }), _jsx("div", { className: styles.stage, children: children })] })] }));
|
|
12
13
|
}
|
|
13
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/project-page/chapter/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,wCAAwC,CAAC;AAChE,OAAO,EAAE,IAAI,EAAE,MAAM,iCAAiC,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/project-page/chapter/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,wCAAwC,CAAC;AAChE,OAAO,EAAE,IAAI,EAAE,MAAM,iCAAiC,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC;;;;GAIG;AACH,MAAM,UAAU,OAAO,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAqB;IACtG,OAAO,CACL,8BACE,KAAC,OAAO,IAAC,MAAM,EAAE,KAAK,YACpB,MAAC,MAAM,IAAC,SAAS,EAAE,MAAM,CAAC,IAAI,aAC5B,eAAM,SAAS,EAAE,aAAa,MAAM,CAAC,MAAM,EAAE,YAAG,MAAM,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,GAAQ,EACvF,uBAAK,KAAK,GAAM,EAChB,eAAK,SAAS,EAAE,MAAM,CAAC,KAAK,aAC1B,sBAAI,IAAI,GAAK,EACb,eAAK,SAAS,EAAE,MAAM,CAAC,OAAO,aAC5B,eAAM,SAAS,EAAC,WAAW,YAAE,YAAY,GAAQ,EACjD,uBACG,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CACrB,yBACE,KAAC,IAAI,IAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAE,GAAG,GAAI,EACtC,KAAK,KAFC,KAAK,CAGT,CACN,CAAC,GACC,IACD,IACF,IACC,GACD,EACV,eAAK,SAAS,EAAE,MAAM,CAAC,MAAM,aAC3B,eAAK,SAAS,EAAE,aAAa,MAAM,CAAC,GAAG,EAAE,aACvC,gBAAM,SAAS,EAAE,MAAM,CAAC,IAAI,kCAC1B,aAAK,EACL,aAAK,EACL,aAAK,IACA,EACP,gBAAM,SAAS,EAAE,MAAM,CAAC,IAAI,aAC1B,kCAAiB,EAChB,IAAI,IACA,IACH,EACN,cAAK,SAAS,EAAE,MAAM,CAAC,KAAK,YAAG,QAAQ,GAAO,IAC1C,IACL,CACJ,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.copy{display:grid;grid-template-columns:auto minmax(0, 1fr) minmax(0, 1.25fr);align-items:baseline;gap:12px 24px;padding:clamp(40px,6vw,80px) var(--padding) clamp(28px,4vw,44px);text-align:left}.copy h2{font-size:clamp(1.8rem,3.4vw,2.8rem);line-height:1.05;text-wrap:balance}@media(max-width: 900px){.copy{grid-template-columns:auto minmax(0, 1fr)}.copy .about{grid-column:1/-1}}.about{display:grid;justify-content:stretch;gap:22px}.about p{color:var(--foreground-2);line-height:1.65;text-wrap:pretty}.details{display:grid;justify-content:stretch;gap:12px;padding-top:18px;border-top:1px dashed var(--line-2)}.details>span{font-size:11.5px;letter-spacing:.04em;text-transform:uppercase;color:var(--foreground-3)}.details ul{display:grid;gap:10px;margin:0;padding:0;list-style:none}.details li{display:grid;grid-template-columns:auto minmax(0, 1fr);align-items:baseline;gap:10px;font-size:15px;line-height:1.55;color:var(--foreground-2);text-wrap:pretty}.details li svg{position:relative;top:2px;color:var(--foreground)}.number{font-size:12px;color:var(--foreground-3)}.window{border-
|
|
1
|
+
.copy{display:grid;grid-template-columns:auto minmax(0, 1fr) minmax(0, 1.25fr);align-items:baseline;gap:12px 24px;padding:clamp(40px,6vw,80px) var(--padding) clamp(28px,4vw,44px);text-align:left}.copy h2{font-size:clamp(1.8rem,3.4vw,2.8rem);line-height:1.05;text-wrap:balance}@media(max-width: 900px){.copy{grid-template-columns:auto minmax(0, 1fr)}.copy .about{grid-column:1/-1}}.about{display:grid;justify-content:stretch;gap:22px}.about p{color:var(--foreground-2);line-height:1.65;text-wrap:pretty}.details{display:grid;justify-content:stretch;gap:12px;padding-top:18px;border-top:1px dashed var(--line-2)}.details>span{font-size:11.5px;letter-spacing:.04em;text-transform:uppercase;color:var(--foreground-3)}.details ul{display:grid;gap:10px;margin:0;padding:0;list-style:none}.details li{display:grid;grid-template-columns:auto minmax(0, 1fr);align-items:baseline;gap:10px;font-size:15px;line-height:1.55;color:var(--foreground-2);text-wrap:pretty}.details li svg{position:relative;top:2px;color:var(--foreground)}.number{font-size:12px;color:var(--foreground-3)}.window{border-block:1px solid var(--line)}.bar{display:flex;align-items:center;justify-content:space-between;padding:10px calc(max(var(--gutter),(100% - var(--maximum-width))/2) + var(--padding));border-bottom:1px solid var(--line-2);background:color-mix(in srgb, var(--foreground) 9%, var(--background));font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:var(--foreground-3)}.dots{display:flex;gap:6px}.dots i{width:9px;height:9px;border-radius:50%;background:color-mix(in srgb, var(--foreground) 20%, transparent)}.live{display:flex;align-items:center;gap:8px}.live i{width:7px;height:7px;border-radius:50%;background:var(--foreground);box-shadow:0 0 0 3px color-mix(in srgb, var(--foreground) 20%, transparent);animation:chapter-live 2s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.live i{animation:none}}@keyframes chapter-live{50%{opacity:.45}}.stage{position:relative;min-width:0}
|
|
@@ -71,15 +71,16 @@
|
|
|
71
71
|
font-size: 12px;
|
|
72
72
|
color: var(--foreground-3);
|
|
73
73
|
}
|
|
74
|
-
/* The live part,
|
|
74
|
+
/* The live part, across the whole page between hairlines, as wide as on its own site. */
|
|
75
75
|
.window {
|
|
76
|
-
border-
|
|
76
|
+
border-block: 1px solid var(--line);
|
|
77
77
|
}
|
|
78
78
|
.bar {
|
|
79
79
|
display: flex;
|
|
80
80
|
align-items: center;
|
|
81
81
|
justify-content: space-between;
|
|
82
|
-
|
|
82
|
+
/* Its ends line up with the frame's content above, however wide the page. */
|
|
83
|
+
padding: 10px calc(max(var(--gutter), (100% - var(--maximum-width)) / 2) + var(--padding));
|
|
83
84
|
border-bottom: 1px solid var(--line-2);
|
|
84
85
|
background: surface($surface);
|
|
85
86
|
font-size: 11px;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type { ProjectPageProperties } from "@sharadox/sharadox-web-library/component/project-page/type";
|
|
2
2
|
/**
|
|
3
|
-
* A project's own page. It opens with the
|
|
3
|
+
* A project's own page. It opens with the project's name and the headline, the whole story, the details, the services we
|
|
4
4
|
* made, and the first screen on a computer and a phone. Then a word on what follows: a few of the parts we're proudest
|
|
5
5
|
* of, chapter by chapter, each explained (what it is, how it works) and then running live in a window, the website's
|
|
6
|
-
* own components
|
|
6
|
+
* own components, across the whole width of the page as on the site itself. At the end, "See it live": the site
|
|
7
|
+
* itself, in a new tab, and the way back.
|
|
7
8
|
*
|
|
8
9
|
* @example
|
|
9
10
|
* <ProjectPage project={PORTFOLIO.projects[0]} locale="en" chapters={{ hero: <Hero locale="en" /> }} />
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/project-page/index.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AAExG
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/project-page/index.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AAExG;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,qBAAqB,+BAuE/E"}
|
|
@@ -12,10 +12,11 @@ import { PORTFOLIO } from "@sharadox/sharadox-web-library/content/portfolio";
|
|
|
12
12
|
import { SECTION } from "@sharadox/sharadox-web-library/content/section";
|
|
13
13
|
import styles from "./index.module.css";
|
|
14
14
|
/**
|
|
15
|
-
* A project's own page. It opens with the
|
|
15
|
+
* A project's own page. It opens with the project's name and the headline, the whole story, the details, the services we
|
|
16
16
|
* made, and the first screen on a computer and a phone. Then a word on what follows: a few of the parts we're proudest
|
|
17
17
|
* of, chapter by chapter, each explained (what it is, how it works) and then running live in a window, the website's
|
|
18
|
-
* own components
|
|
18
|
+
* own components, across the whole width of the page as on the site itself. At the end, "See it live": the site
|
|
19
|
+
* itself, in a new tab, and the way back.
|
|
19
20
|
*
|
|
20
21
|
* @example
|
|
21
22
|
* <ProjectPage project={PORTFOLIO.projects[0]} locale="en" chapters={{ hero: <Hero locale="en" /> }} />
|
|
@@ -24,6 +25,6 @@ export function ProjectPage({ project, locale, chapters }) {
|
|
|
24
25
|
const { details, page } = PORTFOLIO;
|
|
25
26
|
const domain = new URL(project.url).host;
|
|
26
27
|
const shown = project.chapters.filter((chapter) => chapters[chapter.key]);
|
|
27
|
-
return (_jsxs("article", { className: styles.page, children: [_jsxs(Section, { className: styles.intro, padded: false, children: [_jsxs(Reveal, { className: styles.copy, children: [_jsxs(Eyebrow, { children: [translate(SECTION.portfolio, locale), " \u00B7 ", launchDate(project.date, locale)] }), _jsxs("h1", { children: [_jsx("span", { className: styles.client, children: project.
|
|
28
|
+
return (_jsxs("article", { className: styles.page, children: [_jsxs(Section, { className: styles.intro, padded: false, children: [_jsxs(Reveal, { className: styles.copy, children: [_jsxs(Eyebrow, { children: [translate(SECTION.portfolio, locale), " \u00B7 ", launchDate(project.date, locale)] }), _jsxs("h1", { children: [_jsx("span", { className: styles.client, children: project.title }), translate(project.name, locale)] }), _jsx("p", { className: styles.story, children: translate(project.story, locale) }), _jsxs("dl", { className: styles.details, children: [_jsxs("div", { children: [_jsx("dt", { children: translate(details.client, locale) }), _jsx("dd", { children: project.client })] }), _jsxs("div", { children: [_jsx("dt", { children: translate(details.place, locale) }), _jsx("dd", { children: translate(project.place, locale) })] }), _jsxs("div", { children: [_jsx("dt", { children: translate(details.launched, locale) }), _jsx("dd", { children: launchDate(project.date, locale) })] })] }), _jsxs("div", { className: styles.services, children: [_jsx("span", { className: "monospace", children: translate(details.services, locale) }), _jsx("ul", { children: project.services.map((service) => (_jsx("li", { children: serviceName(service, locale) }, service))) })] })] }), _jsx(Screens, { project: project, label: `${project.client} ${translate(PORTFOLIO.screens, locale)}`, priority: true })] }), _jsxs(Section, { className: styles.lead, children: [_jsx(Eyebrow, { children: translate(page.intro.eyebrow, locale) }), _jsx("p", { className: styles.leadText, children: translate(page.intro.text, locale) })] }), shown.map((chapter, index) => (_jsx(Chapter, { number: index + 1, title: translate(chapter.title, locale), text: translate(chapter.text, locale), points: chapter.points.map((point) => translate(point, locale)), detailsLabel: translate(page.details, locale), live: `${translate(page.live, locale)} · ${domain}`, children: chapters[chapter.key] }, chapter.key))), _jsxs(Section, { className: styles.end, children: [_jsx("h2", { children: translate(page.visitTitle, locale) }), _jsxs("div", { className: styles.actions, children: [_jsxs(Button, { href: project.url, arrow: true, children: [translate(page.visit, locale), " ", domain] }), _jsx(Button, { href: `/${locale}#${SECTION.portfolio.id}`, variant: "ghost", children: translate(page.back, locale) })] })] })] }));
|
|
28
29
|
}
|
|
29
30
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/project-page/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,wCAAwC,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,MAAM,EAAE,MAAM,iDAAiD,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,gEAAgE,CAAC;AAC5F,OAAO,EAAE,OAAO,EAAE,MAAM,4DAA4D,CAAC;AACrF,OAAO,EAAE,WAAW,EAAE,MAAM,iEAAiE,CAAC;AAC9F,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,+DAA+D,CAAC;AACxF,OAAO,EAAE,SAAS,EAAE,MAAM,kDAAkD,CAAC;AAC7E,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/project-page/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,wCAAwC,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,MAAM,EAAE,MAAM,iDAAiD,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAA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-
.page{display:grid;grid-template-columns:minmax(0, 1fr)}.intro{display:grid;grid-template-columns:minmax(0, 5fr) minmax(0, 7fr);align-items:center;margin-top:64px}@media(max-width: 1000px){.intro{grid-template-columns:minmax(0, 1fr)}}.copy{display:grid;justify-content:stretch;gap:24px;padding:clamp(40px,6vw,88px) var(--padding);text-align:left}.copy h1{display:grid;gap:14px;font-size:clamp(2.4rem,5vw,4rem);line-height:1;text-wrap:balance}.client{font-size:15px;font-weight:500;letter-spacing:0;color:var(--foreground-2)}.story{color:var(--foreground-2);line-height:1.7;text-wrap:pretty}.details{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));margin:0;border-block:1px dashed var(--line-2)}.details>div{display:grid;justify-content:stretch;align-content:start;gap:4px;padding:14px 12px 14px 0}.details>div+div{padding-left:12px;border-left:1px dashed var(--line-2)}.details dt{font-family:var(--monospace);font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:var(--foreground-3)}.details dd{margin:0;font-size:14px}.services{display:grid;justify-content:stretch;gap:10px}.services>span{font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:var(--foreground-3)}.services ul{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px;margin:0;padding:0;list-style:none}.services li{padding:6px 12px;border:1px solid var(--line-2);border-radius:99px;background:color-mix(in srgb, var(--foreground) 10%, var(--background));font-size:13px}.end{display:grid;justify-items:center;gap:28px;text-align:center}.end h2{max-width:22ch;text-wrap:balance}.actions{display:flex;flex-wrap:wrap;gap:12px}.lead{display:grid;justify-items:start;gap:18px;border-top:1px solid var(--line);text-align:left}.lead .leadText{max-width:52ch;font-size:clamp(1.25rem,2.2vw,1.75rem);font-weight:500;line-height:1.3;letter-spacing:-0.03em;text-wrap:pretty}
|
|
1
|
+
.page{display:grid;grid-template-columns:minmax(0, 1fr)}.intro{display:grid;grid-template-columns:minmax(0, 5fr) minmax(0, 7fr);align-items:center;margin-top:64px}@media(max-width: 1000px){.intro{grid-template-columns:minmax(0, 1fr)}}.copy{display:grid;justify-content:stretch;gap:24px;padding:clamp(40px,6vw,88px) var(--padding);text-align:left}.copy h1{display:grid;gap:14px;font-size:clamp(2.4rem,5vw,4rem);line-height:1;text-wrap:balance}.client{font-size:15px;font-weight:500;letter-spacing:0;color:var(--foreground-2)}.story{color:var(--foreground-2);line-height:1.7;text-wrap:pretty}.details{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));margin:0;border-block:1px dashed var(--line-2)}.details>div{display:grid;justify-content:stretch;align-content:start;gap:4px;padding:14px 12px 14px 0}.details>div+div{padding-left:12px;border-left:1px dashed var(--line-2)}.details dt{font-family:var(--monospace);font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:var(--foreground-3)}.details dd{margin:0;font-size:14px}.services{display:grid;justify-content:stretch;gap:10px}.services>span{font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:var(--foreground-3)}.services ul{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px;margin:0;padding:0;list-style:none}.services li{padding:6px 12px;border:1px solid var(--line-2);border-radius:99px;background:color-mix(in srgb, var(--foreground) 10%, var(--background));font-size:13px}.end{display:grid;justify-items:center;gap:28px;text-align:center}.end h2{max-width:22ch;text-wrap:balance}.actions{display:flex;flex-wrap:wrap;gap:12px}.lead{display:grid;justify-items:start;gap:18px;border-top:1px solid var(--line);text-align:left}.lead .leadText{max-width:52ch;font-size:clamp(1.25rem,2.2vw,1.75rem);font-weight:500;line-height:1.3;letter-spacing:-0.03em;text-wrap:pretty}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.index{align-items:stretch;text-align:left;position:relative;width:min(100% - 2*var(--gutter),var(--maximum-width));margin:0 auto;display:grid;grid-template-columns:repeat(4, 1fr);border:1px solid var(--line)}@media(max-width: 960px){.index{grid-template-columns:repeat(2, 1fr)}}.cell{animation:rise .9s cubic-bezier(0.22, 1, 0.36, 1) both}:global(:root[data-soft-navigation]) .cell{animation-duration:0s !important;animation-delay:0s !important}.cell:not(:last-of-type)::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}@media(max-width: 960px){.cell:nth-of-type(even)::after{display:none}.cell:nth-of-type(-n + 2){
|
|
1
|
+
.index{align-items:stretch;text-align:left;position:relative;width:min(100% - 2*var(--gutter),var(--maximum-width));margin:0 auto;display:grid;grid-template-columns:repeat(4, 1fr);border:1px solid var(--line)}@media(max-width: 960px){.index{grid-template-columns:repeat(2, 1fr)}}.cell{animation:rise .9s cubic-bezier(0.22, 1, 0.36, 1) both}:global(:root[data-soft-navigation]) .cell{animation-duration:0s !important;animation-delay:0s !important}.cell:not(:last-of-type)::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}@media(max-width: 960px){.cell:nth-of-type(even)::after{display:none}.cell:nth-of-type(-n + 2){background:linear-gradient(90deg, var(--line-2) 50%, transparent 0) 0 100%/8px 1px repeat-x}}@keyframes rise{from{opacity:0;transform:translateY(10px)}}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
grid-template-columns: repeat(2, 1fr);
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
/* Each shortcut rises in, one after another; dashed lines stand between them,
|
|
16
|
+
/* Each shortcut rises in, one after another; dashed lines stand between them, across and down alike. */
|
|
17
17
|
.cell {
|
|
18
18
|
animation: rise 0.9s $ease both;
|
|
19
19
|
@include skip-entrance;
|
|
@@ -30,8 +30,9 @@
|
|
|
30
30
|
&:nth-of-type(even)::after {
|
|
31
31
|
display: none;
|
|
32
32
|
}
|
|
33
|
+
/* The line under the first row, drawn along each cell's bottom edge. */
|
|
33
34
|
&:nth-of-type(-n + 2) {
|
|
34
|
-
|
|
35
|
+
@include dashed(horizontal, $at: 0 100%);
|
|
35
36
|
}
|
|
36
37
|
}
|
|
37
38
|
}
|
|
@@ -48,6 +48,15 @@ export declare const CONTACT: {
|
|
|
48
48
|
readonly en: "Phone";
|
|
49
49
|
readonly pt: "Telefone";
|
|
50
50
|
};
|
|
51
|
+
/** The phone's country picker: its name, and the box that searches it. */
|
|
52
|
+
readonly country: {
|
|
53
|
+
readonly en: "Country";
|
|
54
|
+
readonly pt: "País";
|
|
55
|
+
};
|
|
56
|
+
readonly search: {
|
|
57
|
+
readonly en: "Search";
|
|
58
|
+
readonly pt: "Procurar";
|
|
59
|
+
};
|
|
51
60
|
/** Under the email and phone: one of them is enough. */
|
|
52
61
|
readonly reach: {
|
|
53
62
|
readonly en: "Leave an email, a phone number, or both.";
|
|
@@ -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;;;;;;;;;;;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"}
|
|
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,0EAA0E;;;;;;;;;IAG1E,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"}
|
|
@@ -36,6 +36,9 @@ export const CONTACT = {
|
|
|
36
36
|
name: { en: "Name", pt: "Nome" },
|
|
37
37
|
email: { en: "Email", pt: "Email" },
|
|
38
38
|
phone: { en: "Phone", pt: "Telefone" },
|
|
39
|
+
/** The phone's country picker: its name, and the box that searches it. */
|
|
40
|
+
country: { en: "Country", pt: "País" },
|
|
41
|
+
search: { en: "Search", pt: "Procurar" },
|
|
39
42
|
/** Under the email and phone: one of them is enough. */
|
|
40
43
|
reach: { en: "Leave an email, a phone number, or both.", pt: "Deixe um email, um telefone, ou ambos." },
|
|
41
44
|
company: { en: "Company (optional)", pt: "Empresa (opcional)" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":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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"}
|
|
@@ -34,6 +34,6 @@ export const SHARADOX_EMAIL = {
|
|
|
34
34
|
radius: 0,
|
|
35
35
|
crosses: true,
|
|
36
36
|
button: { radius: 999, uppercase: false, letterSpacing: "0" },
|
|
37
|
-
signature: [{ text:
|
|
37
|
+
signature: [{ text: new URL(SITE.url).host, href: SITE.url }],
|
|
38
38
|
};
|
|
39
39
|
//# sourceMappingURL=index.js.map
|
|
@@ -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,EAAE,SAAS;QACf,KAAK,EAAE,SAAS;QAChB,KAAK,EAAE,SAAS;QAChB,IAAI,E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AAoE;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,IAAI,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC;CAC9D,CAAC"}
|
|
@@ -7,6 +7,11 @@
|
|
|
7
7
|
export declare const PORTFOLIO: {
|
|
8
8
|
/** Where the projects' pages live: `/portfolio/<key>`. */
|
|
9
9
|
readonly path: "/portfolio";
|
|
10
|
+
/** A project page's title ends with the portfolio's name: "<project> · Sharadox Portfolio". */
|
|
11
|
+
readonly pageTitle: {
|
|
12
|
+
readonly en: `${string} Portfolio`;
|
|
13
|
+
readonly pt: `Portef\u00F3lio ${string}`;
|
|
14
|
+
};
|
|
10
15
|
readonly title: {
|
|
11
16
|
readonly en: "Work that\nspeaks for itself.";
|
|
12
17
|
readonly pt: "Trabalho que\nfala por si.";
|
|
@@ -70,10 +75,10 @@ export declare const PORTFOLIO: {
|
|
|
70
75
|
readonly en: "This is a demo, so nothing was sent. On the live site, this request goes straight to the workshop's inbox.";
|
|
71
76
|
readonly pt: "Isto é uma demonstração, por isso nada foi enviado. No site, este pedido segue diretamente para a caixa de correio da oficina.";
|
|
72
77
|
};
|
|
73
|
-
/** The end
|
|
78
|
+
/** The end's title, over the way to the site and the way back. */
|
|
74
79
|
readonly visitTitle: {
|
|
75
|
-
readonly en: "See it live
|
|
76
|
-
readonly pt: "Veja-o ao vivo
|
|
80
|
+
readonly en: "See it live";
|
|
81
|
+
readonly pt: "Veja-o ao vivo";
|
|
77
82
|
};
|
|
78
83
|
readonly visit: {
|
|
79
84
|
readonly en: "Visit";
|
|
@@ -85,11 +90,13 @@ export declare const PORTFOLIO: {
|
|
|
85
90
|
};
|
|
86
91
|
};
|
|
87
92
|
readonly projects: readonly [{
|
|
88
|
-
readonly key: "luis-pires-decor";
|
|
93
|
+
readonly key: "luis-pires-decor-website-and-rebranding";
|
|
94
|
+
/** The project's name, over its headline and in its page's title. */
|
|
95
|
+
readonly title: "Luis Pires Decor Website & Rebranding";
|
|
89
96
|
readonly client: "Luis Pires Decor";
|
|
90
97
|
readonly name: {
|
|
91
|
-
readonly en: "A
|
|
92
|
-
readonly pt: "Um ofício de
|
|
98
|
+
readonly en: "A craft of decades, now easy to find.";
|
|
99
|
+
readonly pt: "Um ofício de décadas, agora fácil de encontrar.";
|
|
93
100
|
};
|
|
94
101
|
readonly text: {
|
|
95
102
|
readonly en: "An upholstery and interiors workshop in the Algarve since 1996. A renewed brand, and a bilingual website built to be found: described for search engines and written so AI assistants understand it, so whoever asks for an upholsterer in the Algarve is pointed its way. Inside, a 3D monogram, a scroll-driven timelapse, a fabric studio, a filterable portfolio and booking requests straight to the workshop's inbox, on its own domain, with professional email and an app customers can install.";
|
|
@@ -111,12 +118,12 @@ export declare const PORTFOLIO: {
|
|
|
111
118
|
/** Its first screen, captured from the live site: on a computer (1440 by 900) and on a phone (390 by 844). */
|
|
112
119
|
readonly screens: {
|
|
113
120
|
readonly computer: {
|
|
114
|
-
readonly src: "/portfolio/luis-pires-decor/computer.webp";
|
|
121
|
+
readonly src: "/portfolio/luis-pires-decor-website-and-rebranding/computer.webp";
|
|
115
122
|
readonly width: 1440;
|
|
116
123
|
readonly height: 900;
|
|
117
124
|
};
|
|
118
125
|
readonly phone: {
|
|
119
|
-
readonly src: "/portfolio/luis-pires-decor/phone.webp";
|
|
126
|
+
readonly src: "/portfolio/luis-pires-decor-website-and-rebranding/phone.webp";
|
|
120
127
|
readonly width: 520;
|
|
121
128
|
readonly height: 1125;
|
|
122
129
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/portfolio/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/portfolio/index.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,eAAO,MAAM,SAAS;IACpB,0DAA0D;;IAE1D,+FAA+F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAa/F,4CAA4C;;;;;IAE5C,6FAA6F;;;;;IAE7F,qFAAqF;;;;;;QAGnF,8EAA8E;;;;;;;;;;;QAQ9E,6CAA6C;;;;;QAE7C,6DAA6D;;;;;QAK7D,kEAAkE;;;;;;;;;;;;;;;;QAQhE,qEAAqE;;;;;;;;;;;QAQrE,wDAAwD;;;;;;;;;QAMxD,yCAAyC;;;;QAWzC,8GAA8G;;;;;;;;;;;;;QAK9G;;;WAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuHC,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SITE } from "@sharadox/sharadox-web-library/content/site";
|
|
1
2
|
/**
|
|
2
3
|
* The portfolio: the work Sharadox has made, newest first, and the words around it. A project's `services` are
|
|
3
4
|
* service card keys (content/services), so its chips use the cards' own names. Its screens are its first screen on a
|
|
@@ -7,6 +8,8 @@
|
|
|
7
8
|
export const PORTFOLIO = {
|
|
8
9
|
/** Where the projects' pages live: `/portfolio/<key>`. */
|
|
9
10
|
path: "/portfolio",
|
|
11
|
+
/** A project page's title ends with the portfolio's name: "<project> · Sharadox Portfolio". */
|
|
12
|
+
pageTitle: { en: `${SITE.name} Portfolio`, pt: `Portefólio ${SITE.name}` },
|
|
10
13
|
title: { en: "Work that\nspeaks for itself.", pt: "Trabalho que\nfala por si." },
|
|
11
14
|
text: {
|
|
12
15
|
en: "Every project, with what we made for it, and the work itself to explore.",
|
|
@@ -40,16 +43,18 @@ export const PORTFOLIO = {
|
|
|
40
43
|
en: "This is a demo, so nothing was sent. On the live site, this request goes straight to the workshop's inbox.",
|
|
41
44
|
pt: "Isto é uma demonstração, por isso nada foi enviado. No site, este pedido segue diretamente para a caixa de correio da oficina.",
|
|
42
45
|
},
|
|
43
|
-
/** The end
|
|
44
|
-
visitTitle: { en: "See it live
|
|
46
|
+
/** The end's title, over the way to the site and the way back. */
|
|
47
|
+
visitTitle: { en: "See it live", pt: "Veja-o ao vivo" },
|
|
45
48
|
visit: { en: "Visit", pt: "Visitar" },
|
|
46
49
|
back: { en: "Back to the Portfolio", pt: "Voltar ao Portefólio" },
|
|
47
50
|
},
|
|
48
51
|
projects: [
|
|
49
52
|
{
|
|
50
|
-
key: "luis-pires-decor",
|
|
53
|
+
key: "luis-pires-decor-website-and-rebranding",
|
|
54
|
+
/** The project's name, over its headline and in its page's title. */
|
|
55
|
+
title: "Luis Pires Decor Website & Rebranding",
|
|
51
56
|
client: "Luis Pires Decor",
|
|
52
|
-
name: { en: "A
|
|
57
|
+
name: { en: "A craft of decades, now easy to find.", pt: "Um ofício de décadas, agora fácil de encontrar." },
|
|
53
58
|
text: {
|
|
54
59
|
en: "An upholstery and interiors workshop in the Algarve since 1996. A renewed brand, and a bilingual website built to be found: described for search engines and written so AI assistants understand it, so whoever asks for an upholsterer in the Algarve is pointed its way. Inside, a 3D monogram, a scroll-driven timelapse, a fabric studio, a filterable portfolio and booking requests straight to the workshop's inbox, on its own domain, with professional email and an app customers can install.",
|
|
55
60
|
pt: "Uma oficina de estofos e decoração no Algarve desde 1996. Uma marca renovada, e um website bilingue feito para ser encontrado: descrito para os motores de busca e escrito para que os assistentes de IA o compreendam, para que quem procura um estofador no Algarve chegue até ela. Lá dentro, um monograma em 3D, um timelapse guiado pelo scroll, um estúdio de tecidos, um portefólio com filtros e pedidos de visita diretos para a caixa de correio da oficina, no seu próprio domínio, com email profissional e uma aplicação que os clientes podem instalar.",
|
|
@@ -73,8 +78,8 @@ export const PORTFOLIO = {
|
|
|
73
78
|
],
|
|
74
79
|
/** Its first screen, captured from the live site: on a computer (1440 by 900) and on a phone (390 by 844). */
|
|
75
80
|
screens: {
|
|
76
|
-
computer: { src: "/portfolio/luis-pires-decor/computer.webp", width: 1440, height: 900 },
|
|
77
|
-
phone: { src: "/portfolio/luis-pires-decor/phone.webp", width: 520, height: 1125 },
|
|
81
|
+
computer: { src: "/portfolio/luis-pires-decor-website-and-rebranding/computer.webp", width: 1440, height: 900 },
|
|
82
|
+
phone: { src: "/portfolio/luis-pires-decor-website-and-rebranding/phone.webp", width: 520, height: 1125 },
|
|
78
83
|
},
|
|
79
84
|
/**
|
|
80
85
|
* Its page's chapters, in order: each is one part of the website we're proud of, what it is, a few details of how
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/portfolio/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,0DAA0D;IAC1D,IAAI,EAAE,YAAY;IAClB,KAAK,EAAE,EAAE,EAAE,EAAE,+BAA+B,EAAE,EAAE,EAAE,4BAA4B,EAAE;IAChF,IAAI,EAAE;QACJ,EAAE,EAAE,0EAA0E;QAC9E,EAAE,EAAE,+EAA+E;KACpF;IACD,OAAO,EAAE;QACP,MAAM,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,SAAS,EAAE;QACvC,KAAK,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAA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qBAC9F;oBACD,MAAM,EAAE;wBACN;4BACE,EAAE,EAAE,0EAA0E;4BAC9E,EAAE,EAAE,2FAA2F;yBAChG;wBACD;4BACE,EAAE,EAAE,0FAA0F;4BAC9F,EAAE,EAAE,kGAAkG;yBACvG;wBACD;4BACE,EAAE,EAAE,4EAA4E;4BAChF,EAAE,EAAE,8FAA8F;yBACnG;qBACF;iBACF;gBACD;oBACE,GAAG,EAAE,SAAS;oBACd,KAAK,EAAE,EAAE,EAAE,EAAE,iBAAiB,EAAE,EAAE,EAAE,mBAAmB,EAAE;oBACzD,IAAI,EAAE;wBACJ,EAAE,EAAE,oIAAoI;wBACxI,EAAE,EAAE,uJAAuJ;qBAC5J;oBACD,MAAM,EAAE;wBACN;4BACE,EAAE,EAAE,oEAAoE;4BACxE,EAAE,EAAE,wEAAwE;yBAC7E;wBACD;4BACE,EAAE,EAAE,6EAA6E;4BACjF,EAAE,EAAE,gFAAgF;yBACrF;wBACD;4BACE,EAAE,EAAE,gEAAgE;4BACpE,EAAE,EAAE,yEAAyE;yBAC9E;wBACD;4BACE,EAAE,EAAE,6DAA6D;4BACjE,EAAE,EAAE,+EAA+E;yBACpF;qBACF;iBACF;aACF;SACF;KACF;CACO,CAAC"}
|
|
@@ -52,3 +52,35 @@ $glow: 35%;
|
|
|
52
52
|
animation: none;
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
+
|
|
56
|
+
/// Floats, like the globe: a slow rise and fall with a slight sway, eased at both ends so it never stops sharply.
|
|
57
|
+
/// It moves the `translate` and `rotate` properties, so it adds to any `transform` the element already has (a tilt
|
|
58
|
+
/// towards the pointer, an entrance). Held still with reduced motion. `$name` keeps the keyframes apart when one file
|
|
59
|
+
/// floats two things.
|
|
60
|
+
@mixin float($name: float, $duration: 9s, $delay: 0s) {
|
|
61
|
+
animation: $name $duration ease-in-out $delay infinite;
|
|
62
|
+
@media (prefers-reduced-motion: reduce) {
|
|
63
|
+
animation: none;
|
|
64
|
+
}
|
|
65
|
+
@at-root {
|
|
66
|
+
@keyframes #{$name} {
|
|
67
|
+
0%,
|
|
68
|
+
100% {
|
|
69
|
+
translate: 0 0;
|
|
70
|
+
rotate: 0deg;
|
|
71
|
+
}
|
|
72
|
+
25% {
|
|
73
|
+
translate: 0.4% -1.1%;
|
|
74
|
+
rotate: 0.6deg;
|
|
75
|
+
}
|
|
76
|
+
50% {
|
|
77
|
+
translate: 0 -2%;
|
|
78
|
+
rotate: 0deg;
|
|
79
|
+
}
|
|
80
|
+
75% {
|
|
81
|
+
translate: -0.4% -1.1%;
|
|
82
|
+
rotate: -0.6deg;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
@@ -29,12 +29,13 @@ $ease: cubic-bezier(0.22, 1, 0.36, 1);
|
|
|
29
29
|
@return color-mix(in srgb, var(--background) $amount, transparent);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
/// A dashed hairline drawn with a gradient, so the dash length is exact: `horizontal` or `vertical
|
|
33
|
-
|
|
32
|
+
/// A dashed hairline drawn with a gradient, so the dash length is exact: `horizontal` or `vertical`, at the top or left
|
|
33
|
+
/// edge, or where `$at` places it (`0 100%`: along the bottom).
|
|
34
|
+
@mixin dashed($direction: horizontal, $color: var(--line-2), $dash: 4px, $gap: 4px, $at: 0 0) {
|
|
34
35
|
@if $direction == horizontal {
|
|
35
|
-
background: linear-gradient(90deg, $color 50%, transparent 0)
|
|
36
|
+
background: linear-gradient(90deg, $color 50%, transparent 0) $at / #{$dash + $gap} 1px repeat-x;
|
|
36
37
|
} @else {
|
|
37
|
-
background: linear-gradient(180deg, $color 50%, transparent 0)
|
|
38
|
+
background: linear-gradient(180deg, $color 50%, transparent 0) $at / 1px #{$dash + $gap} repeat-y;
|
|
38
39
|
}
|
|
39
40
|
}
|
|
40
41
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sharadox/sharadox-web-library",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.49.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,14 +56,14 @@
|
|
|
56
56
|
"dependencies": {
|
|
57
57
|
"@sharadox/animation-web-library": "^0.2.4",
|
|
58
58
|
"@sharadox/consent-web-library": "^0.3.1",
|
|
59
|
-
"@sharadox/form-web-library": "^0.
|
|
59
|
+
"@sharadox/form-web-library": "^0.6.1",
|
|
60
60
|
"@sharadox/globe-web-library": "^0.2.1",
|
|
61
|
-
"@sharadox/icon-web-library": "^0.
|
|
61
|
+
"@sharadox/icon-web-library": "^0.6.0",
|
|
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.
|
|
66
|
-
"@sharadox/pointer-web-library": "^0.
|
|
65
|
+
"@sharadox/metadata-web-library": "^0.8.0",
|
|
66
|
+
"@sharadox/pointer-web-library": "^0.3.0",
|
|
67
67
|
"@sharadox/privacy-web-library": "^0.1.1",
|
|
68
68
|
"@sharadox/scroll-web-library": "^0.5.0",
|
|
69
69
|
"@sharadox/style-web-library": "^0.2.0",
|