@sharadox/sharadox-web-library 0.27.0 → 0.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/distribution/component/service-card/index.d.ts +2 -3
- package/distribution/component/service-card/index.d.ts.map +1 -1
- package/distribution/component/service-card/index.js +3 -4
- package/distribution/component/service-card/index.js.map +1 -1
- package/distribution/component/service-card/index.module.css +1 -1
- package/distribution/component/service-card/index.module.scss +0 -54
- package/distribution/component/service-card/type.d.ts +0 -2
- package/distribution/component/service-card/type.d.ts.map +1 -1
- package/distribution/component/service-object/android-application/index.d.ts +3 -0
- package/distribution/component/service-object/android-application/index.d.ts.map +1 -0
- package/distribution/component/service-object/android-application/index.js +8 -0
- package/distribution/component/service-object/android-application/index.js.map +1 -0
- package/distribution/component/service-object/android-application/index.module.css +1 -0
- package/distribution/component/service-object/android-application/index.module.scss +90 -0
- package/distribution/component/service-object/hosting/index.d.ts +7 -0
- package/distribution/component/service-object/hosting/index.d.ts.map +1 -0
- package/distribution/component/service-object/hosting/index.js +16 -0
- package/distribution/component/service-object/hosting/index.js.map +1 -0
- package/distribution/component/service-object/hosting/index.module.css +1 -0
- package/distribution/component/service-object/hosting/index.module.scss +162 -0
- package/distribution/component/service-object/index.d.ts.map +1 -1
- package/distribution/component/service-object/index.js +6 -0
- package/distribution/component/service-object/index.js.map +1 -1
- package/distribution/component/service-object/ios-application/index.d.ts +3 -0
- package/distribution/component/service-object/ios-application/index.d.ts.map +1 -0
- package/distribution/component/service-object/ios-application/index.js +8 -0
- package/distribution/component/service-object/ios-application/index.js.map +1 -0
- package/distribution/component/service-object/ios-application/index.module.css +1 -0
- package/distribution/component/service-object/ios-application/index.module.scss +93 -0
- package/distribution/component/service-object/product-launch/index.d.ts +3 -3
- package/distribution/component/service-object/product-launch/index.d.ts.map +1 -1
- package/distribution/component/service-object/product-launch/index.js +11 -9
- package/distribution/component/service-object/product-launch/index.js.map +1 -1
- package/distribution/component/service-object/product-launch/index.module.css +1 -1
- package/distribution/component/service-object/product-launch/index.module.scss +208 -133
- package/distribution/component/services/index.js +1 -1
- package/distribution/component/services/index.js.map +1 -1
- package/distribution/component/services/index.module.css +1 -1
- package/distribution/component/services/index.module.scss +1 -5
- package/distribution/content/contact/index.d.ts +27 -15
- package/distribution/content/contact/index.d.ts.map +1 -1
- package/distribution/content/services/index.d.ts +68 -42
- package/distribution/content/services/index.d.ts.map +1 -1
- package/distribution/content/services/index.js +41 -32
- package/distribution/content/services/index.js.map +1 -1
- package/distribution/content/site/index.d.ts.map +1 -1
- package/distribution/content/site/index.js +6 -2
- package/distribution/content/site/index.js.map +1 -1
- package/llms.txt +2 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Product launches:
|
|
3
|
-
*
|
|
4
|
-
* revealed.
|
|
2
|
+
* Product launches: a campaign from the first teaser to day one. Along a timeline, each step lights up in turn: a
|
|
3
|
+
* teaser (the product still a mystery), its landing page, the campaign announcing it, and launch day, when the product
|
|
4
|
+
* is revealed and confetti flies. With reduced motion, every step is lit and the product is shown.
|
|
5
5
|
*/
|
|
6
6
|
export declare function ProductLaunch(): import("react").JSX.Element;
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/product-launch/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/product-launch/index.tsx"],"names":[],"mappings":"AAQA;;;;GAIG;AACH,wBAAgB,aAAa,gCA+B5B"}
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Cuboid } from "@sharadox/sharadox-web-library/component/service-object/cuboid";
|
|
3
2
|
import styles from "./index.module.css";
|
|
4
|
-
/** The
|
|
5
|
-
const
|
|
6
|
-
/**
|
|
7
|
-
const
|
|
3
|
+
/** The steps of a launch campaign, in order: each lights up as the campaign reaches it. */
|
|
4
|
+
const STEPS = ["teaser", "page", "campaign", "launch"];
|
|
5
|
+
/** Confetti thrown on launch day, evenly around the product. */
|
|
6
|
+
const CONFETTI = 12;
|
|
8
7
|
/**
|
|
9
|
-
* Product launches:
|
|
10
|
-
*
|
|
11
|
-
* revealed.
|
|
8
|
+
* Product launches: a campaign from the first teaser to day one. Along a timeline, each step lights up in turn: a
|
|
9
|
+
* teaser (the product still a mystery), its landing page, the campaign announcing it, and launch day, when the product
|
|
10
|
+
* is revealed and confetti flies. With reduced motion, every step is lit and the product is shown.
|
|
12
11
|
*/
|
|
13
12
|
export function ProductLaunch() {
|
|
14
|
-
return (
|
|
13
|
+
return (_jsx("div", { className: styles.object, children: _jsxs("div", { className: styles.timeline, children: [_jsx("span", { className: styles.track, children: _jsx("span", { className: styles.progress }) }), STEPS.map((step, index) => (_jsxs("div", { className: styles.step, "data-step": index, children: [_jsx("span", { className: styles.tile, children: _jsx("span", { className: styles[step] }) }), _jsx("i", { className: styles.dot })] }, step))), _jsx("div", { className: styles.confetti, children: Array.from({ length: CONFETTI }, (_, piece) => (_jsx("i", { style: {
|
|
14
|
+
"--angle": `${(360 / CONFETTI) * piece + 8}deg`,
|
|
15
|
+
"--reach": `${44 + (piece % 3) * 14}px`,
|
|
16
|
+
} }, piece))) })] }) }));
|
|
15
17
|
}
|
|
16
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/service-object/product-launch/index.tsx"],"names":[],"mappings":";AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/service-object/product-launch/index.tsx"],"names":[],"mappings":";AACA,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAEzC,2FAA2F;AAC3F,MAAM,KAAK,GAAG,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,CAAU,CAAC;AAChE,gEAAgE;AAChE,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEpB;;;;GAIG;AACH,MAAM,UAAU,aAAa;IAC3B,OAAO,CACL,cAAK,SAAS,EAAE,MAAM,CAAC,MAAM,YAC3B,eAAK,SAAS,EAAE,MAAM,CAAC,QAAQ,aAC7B,eAAM,SAAS,EAAE,MAAM,CAAC,KAAK,YAC3B,eAAM,SAAS,EAAE,MAAM,CAAC,QAAQ,GAAI,GAC/B,EACN,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAC1B,eAAgB,SAAS,EAAE,MAAM,CAAC,IAAI,eAAa,KAAK,aACtD,eAAM,SAAS,EAAE,MAAM,CAAC,IAAI,YAC1B,eAAM,SAAS,EAAE,MAAM,CAAC,IAAI,CAAC,GAAI,GAC5B,EACP,YAAG,SAAS,EAAE,MAAM,CAAC,GAAG,GAAI,KAJpB,IAAI,CAKR,CACP,CAAC,EACF,cAAK,SAAS,EAAE,MAAM,CAAC,QAAQ,YAC5B,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,CAC9C,YAEE,KAAK,EACH;4BACE,SAAS,EAAE,GAAG,CAAC,GAAG,GAAG,QAAQ,CAAC,GAAG,KAAK,GAAG,CAAC,KAAK;4BAC/C,SAAS,EAAE,GAAG,EAAE,GAAG,CAAC,KAAK,GAAG,CAAC,CAAC,GAAG,EAAE,IAAI;yBACvB,IALf,KAAK,CAOV,CACH,CAAC,GACE,IACF,GACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:launch-sway 12s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:
|
|
1
|
+
.object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:launch-sway 12s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:rotateX(24deg) rotateY(-14deg)}@keyframes launch-sway{0%,100%{transform:rotateX(24deg) rotateY(-14deg)}50%{transform:rotateX(18deg) rotateY(10deg)}}.timeline{position:absolute;left:50%;top:50%;width:264px;height:130px;margin:-65px 0 0 -132px;transform-style:preserve-3d;display:grid;grid-template-columns:repeat(4, 1fr);gap:10px}.track{position:absolute;left:30px;right:30px;bottom:9px;height:2px;background:color-mix(in srgb, var(--foreground) 16%, transparent)}.progress{position:absolute;inset:0;background:var(--foreground);box-shadow:0 0 8px color-mix(in srgb, var(--foreground) 60%, transparent);transform-origin:left;animation:launch-progress 8s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.progress{animation:none}}@keyframes launch-progress{0%,4%{transform:scaleX(0)}55%{transform:scaleX(1)}88%{transform:scaleX(1);opacity:1}94%,100%{transform:scaleX(1);opacity:0}}.step{position:relative;display:grid;grid-template-rows:1fr 20px;justify-items:center;align-items:center}.tile{display:grid;place-items:center;width:58px;height:78px;border-radius:6px;box-sizing:border-box;background:color-mix(in srgb, var(--foreground) 6%, transparent);border:1px solid color-mix(in srgb, var(--foreground) 55%, transparent);background:var(--background);box-shadow:0 0 22px -6px color-mix(in srgb, var(--foreground) 45%, transparent);transform-style:preserve-3d}.dot{width:9px;height:9px;border-radius:50%;border:1.5px solid var(--foreground);background:var(--foreground)}.step[data-step="0"] .tile{animation:launch-tile-0 8s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.step[data-step="0"] .tile{animation:none}}.step[data-step="0"] .dot{animation:launch-dot-0 8s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.step[data-step="0"] .dot{animation:none}}@keyframes launch-tile-0{0%,4%{opacity:.3;transform:translateY(0) translateZ(0);box-shadow:none}8%,88%{opacity:1;transform:translateY(-4px) translateZ(14px);box-shadow:0 0 22px -6px color-mix(in srgb, var(--foreground) 45%, transparent)}94%,100%{opacity:.3;transform:translateY(0) translateZ(0);box-shadow:none}}@keyframes launch-dot-0{0%,4%{background:var(--background);border-color:color-mix(in srgb, var(--foreground) 35%, transparent)}7%,88%{background:var(--foreground);border-color:var(--foreground)}94%,100%{background:var(--background);border-color:color-mix(in srgb, var(--foreground) 35%, transparent)}}.step[data-step="1"] .tile{animation:launch-tile-1 8s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.step[data-step="1"] .tile{animation:none}}.step[data-step="1"] .dot{animation:launch-dot-1 8s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.step[data-step="1"] .dot{animation:none}}@keyframes launch-tile-1{0%,21%{opacity:.3;transform:translateY(0) translateZ(0);box-shadow:none}25%,88%{opacity:1;transform:translateY(-4px) translateZ(14px);box-shadow:0 0 22px -6px color-mix(in srgb, var(--foreground) 45%, transparent)}94%,100%{opacity:.3;transform:translateY(0) translateZ(0);box-shadow:none}}@keyframes launch-dot-1{0%,21%{background:var(--background);border-color:color-mix(in srgb, var(--foreground) 35%, transparent)}24%,88%{background:var(--foreground);border-color:var(--foreground)}94%,100%{background:var(--background);border-color:color-mix(in srgb, var(--foreground) 35%, transparent)}}.step[data-step="2"] .tile{animation:launch-tile-2 8s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.step[data-step="2"] .tile{animation:none}}.step[data-step="2"] .dot{animation:launch-dot-2 8s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.step[data-step="2"] .dot{animation:none}}@keyframes launch-tile-2{0%,38%{opacity:.3;transform:translateY(0) translateZ(0);box-shadow:none}42%,88%{opacity:1;transform:translateY(-4px) translateZ(14px);box-shadow:0 0 22px -6px color-mix(in srgb, var(--foreground) 45%, transparent)}94%,100%{opacity:.3;transform:translateY(0) translateZ(0);box-shadow:none}}@keyframes launch-dot-2{0%,38%{background:var(--background);border-color:color-mix(in srgb, var(--foreground) 35%, transparent)}41%,88%{background:var(--foreground);border-color:var(--foreground)}94%,100%{background:var(--background);border-color:color-mix(in srgb, var(--foreground) 35%, transparent)}}.step[data-step="3"] .tile{animation:launch-tile-3 8s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.step[data-step="3"] .tile{animation:none}}.step[data-step="3"] .dot{animation:launch-dot-3 8s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.step[data-step="3"] .dot{animation:none}}@keyframes launch-tile-3{0%,55%{opacity:.3;transform:translateY(0) translateZ(0);box-shadow:none}59%,88%{opacity:1;transform:translateY(-4px) translateZ(14px);box-shadow:0 0 22px -6px color-mix(in srgb, var(--foreground) 45%, transparent)}94%,100%{opacity:.3;transform:translateY(0) translateZ(0);box-shadow:none}}@keyframes launch-dot-3{0%,55%{background:var(--background);border-color:color-mix(in srgb, var(--foreground) 35%, transparent)}58%,88%{background:var(--foreground);border-color:var(--foreground)}94%,100%{background:var(--background);border-color:color-mix(in srgb, var(--foreground) 35%, transparent)}}.teaser{display:grid;place-items:center;width:32px;height:32px;border:1.5px dashed color-mix(in srgb, var(--foreground) 70%, transparent);border-radius:5px}.teaser::after{content:"?";font-size:18px;font-weight:700;line-height:1;color:var(--foreground)}.page{position:relative;width:40px;height:50px;border:1.5px solid color-mix(in srgb, var(--foreground) 70%, transparent);border-radius:4px;background:linear-gradient(var(--foreground), var(--foreground)) 6px 10px/24px 3px,linear-gradient(color-mix(in srgb, var(--foreground) 40%, transparent), color-mix(in srgb, var(--foreground) 40%, transparent)) 6px 16px/16px 2px,linear-gradient(color-mix(in srgb, var(--foreground) 25%, transparent), color-mix(in srgb, var(--foreground) 25%, transparent)) 6px 22px/25px 12px,linear-gradient(var(--foreground), var(--foreground)) 6px 38px/14px 5px;background-repeat:no-repeat}.page::before{content:"";position:absolute;left:0;right:0;top:4px;border-top:1.5px solid color-mix(in srgb, var(--foreground) 40%, transparent)}.campaign{position:relative;width:40px;height:30px}.campaign::before{content:"";position:absolute;left:2px;top:4px;width:22px;height:22px;background:var(--foreground);clip-path:polygon(0 35%, 30% 35%, 100% 0, 100% 100%, 30% 65%, 0 65%)}.campaign::after{content:"";position:absolute;left:20px;top:3px;width:18px;height:24px;border-radius:50%;border:2px solid rgba(0,0,0,0);border-right-color:color-mix(in srgb, var(--foreground) 70%, transparent)}.launch{position:relative;width:26px;height:34px;border-radius:4px;background:linear-gradient(160deg, var(--foreground), color-mix(in srgb, var(--foreground) 55%, transparent));box-shadow:0 0 18px color-mix(in srgb, var(--foreground) 55%, transparent)}.launch::before{content:"";position:absolute;inset:-14px;z-index:-1;background:repeating-conic-gradient(color-mix(in srgb, var(--foreground) 35%, transparent) 0 6deg, transparent 6deg 30deg);mask:radial-gradient(circle, #000 30%, transparent 70%);border-radius:50%}.confetti{position:absolute;left:calc(100% - 32px);top:46px;width:0;height:0;transform:translateZ(20px)}.confetti i{position:absolute;left:-2px;top:-4px;width:4px;height:8px;border-radius:1px;background:var(--foreground);opacity:0;animation:launch-confetti 8s ease-out infinite}@media(prefers-reduced-motion: reduce){.confetti i{animation:none}}@keyframes launch-confetti{0%,55%{opacity:0;transform:rotate(var(--angle)) translateY(-8px) rotate(0deg)}57%{opacity:1}73%,100%{opacity:0;transform:rotate(var(--angle)) translateY(calc(-1 * var(--reach))) rotate(220deg)}}
|
|
@@ -1,181 +1,256 @@
|
|
|
1
1
|
@use "style/token" as *;
|
|
2
2
|
@use "style/object" as *;
|
|
3
3
|
|
|
4
|
-
/*
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
$
|
|
4
|
+
/* One round: the four steps light one after the other (from 4%, every 17%), launch day holds, then all clears. */
|
|
5
|
+
$round: 8s;
|
|
6
|
+
$first: 4%;
|
|
7
|
+
$step: 17%;
|
|
8
|
+
$clear: 88%;
|
|
9
9
|
|
|
10
10
|
.object {
|
|
11
11
|
@include centered(0px, 0px);
|
|
12
12
|
@include loop(launch-sway 12s ease-in-out infinite);
|
|
13
|
-
transform:
|
|
13
|
+
transform: rotateX(24deg) rotateY(-14deg);
|
|
14
14
|
}
|
|
15
15
|
@keyframes launch-sway {
|
|
16
16
|
0%,
|
|
17
17
|
100% {
|
|
18
|
-
transform:
|
|
18
|
+
transform: rotateX(24deg) rotateY(-14deg);
|
|
19
19
|
}
|
|
20
20
|
50% {
|
|
21
|
-
transform:
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
.stage {
|
|
25
|
-
--width: 96px;
|
|
26
|
-
--height: 14px;
|
|
27
|
-
--depth: 96px;
|
|
28
|
-
--radius: 3px;
|
|
29
|
-
--fill-amount: 8%;
|
|
30
|
-
--edge-amount: 55%;
|
|
31
|
-
transform: translateY(30px);
|
|
32
|
-
}
|
|
33
|
-
/* The product: a slim device, its screen lit, rising out of the stage. */
|
|
34
|
-
.product {
|
|
35
|
-
--width: 34px;
|
|
36
|
-
--height: 52px;
|
|
37
|
-
--depth: 10px;
|
|
38
|
-
--fill-amount: 14%;
|
|
39
|
-
--edge-amount: 80%;
|
|
40
|
-
transform: translateY(-14px);
|
|
41
|
-
@include loop(launch-product $round $ease infinite);
|
|
42
|
-
}
|
|
43
|
-
/* Boxes are shown and hidden by scale, not opacity, which would flatten them. */
|
|
44
|
-
@keyframes launch-product {
|
|
45
|
-
0%,
|
|
46
|
-
40% {
|
|
47
|
-
transform: translateY(14px) scale(0);
|
|
48
|
-
}
|
|
49
|
-
58%,
|
|
50
|
-
86% {
|
|
51
|
-
transform: translateY(-14px) scale(1);
|
|
52
|
-
}
|
|
53
|
-
100% {
|
|
54
|
-
transform: translateY(14px) scale(0);
|
|
21
|
+
transform: rotateX(18deg) rotateY(10deg);
|
|
55
22
|
}
|
|
56
23
|
}
|
|
57
|
-
.
|
|
24
|
+
.timeline {
|
|
25
|
+
@include centered(264px, 130px);
|
|
26
|
+
display: grid;
|
|
27
|
+
grid-template-columns: repeat(4, 1fr);
|
|
28
|
+
gap: 10px;
|
|
29
|
+
}
|
|
30
|
+
/* The timeline under the steps, filling as the campaign moves on. */
|
|
31
|
+
.track {
|
|
32
|
+
position: absolute;
|
|
33
|
+
left: 30px;
|
|
34
|
+
right: 30px;
|
|
35
|
+
bottom: 9px;
|
|
36
|
+
height: 2px;
|
|
37
|
+
background: tint(16%);
|
|
38
|
+
}
|
|
39
|
+
.progress {
|
|
58
40
|
position: absolute;
|
|
59
|
-
inset:
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
--height: 62px;
|
|
67
|
-
--depth: 48px;
|
|
68
|
-
--fill-amount: 22%;
|
|
69
|
-
--front-amount: 26%;
|
|
70
|
-
--edge-amount: 60%;
|
|
71
|
-
transform: translateY(-8px) scale(0);
|
|
72
|
-
@include loop(launch-cover $round $ease infinite);
|
|
73
|
-
}
|
|
74
|
-
@keyframes launch-cover {
|
|
41
|
+
inset: 0;
|
|
42
|
+
background: var(--foreground);
|
|
43
|
+
box-shadow: 0 0 8px tint(60%);
|
|
44
|
+
transform-origin: left;
|
|
45
|
+
@include loop(launch-progress $round $ease infinite);
|
|
46
|
+
}
|
|
47
|
+
@keyframes launch-progress {
|
|
75
48
|
0%,
|
|
76
|
-
|
|
77
|
-
transform:
|
|
49
|
+
#{$first} {
|
|
50
|
+
transform: scaleX(0);
|
|
78
51
|
}
|
|
79
|
-
|
|
80
|
-
transform:
|
|
52
|
+
#{$first + 3 * $step} {
|
|
53
|
+
transform: scaleX(1);
|
|
81
54
|
}
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
55
|
+
#{$clear} {
|
|
56
|
+
transform: scaleX(1);
|
|
57
|
+
opacity: 1;
|
|
85
58
|
}
|
|
59
|
+
#{$clear + 6%},
|
|
86
60
|
100% {
|
|
87
|
-
transform:
|
|
61
|
+
transform: scaleX(1);
|
|
62
|
+
opacity: 0;
|
|
88
63
|
}
|
|
89
64
|
}
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
65
|
+
.step {
|
|
66
|
+
position: relative;
|
|
67
|
+
display: grid;
|
|
68
|
+
grid-template-rows: 1fr 20px;
|
|
69
|
+
justify-items: center;
|
|
70
|
+
align-items: center;
|
|
71
|
+
}
|
|
72
|
+
/* A step's card: dim until the campaign reaches it, then lit, raised a little. */
|
|
73
|
+
.tile {
|
|
74
|
+
display: grid;
|
|
75
|
+
place-items: center;
|
|
76
|
+
width: 58px;
|
|
77
|
+
height: 78px;
|
|
78
|
+
border-radius: 6px;
|
|
79
|
+
@include face(6%, 55%);
|
|
80
|
+
background: var(--background);
|
|
81
|
+
box-shadow: 0 0 22px -6px tint(45%);
|
|
82
|
+
transform-style: preserve-3d;
|
|
83
|
+
}
|
|
84
|
+
.dot {
|
|
85
|
+
width: 9px;
|
|
86
|
+
height: 9px;
|
|
93
87
|
border-radius: 50%;
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
@include loop(launch-glow $round ease-out infinite);
|
|
88
|
+
border: 1.5px solid var(--foreground);
|
|
89
|
+
background: var(--foreground);
|
|
97
90
|
}
|
|
98
|
-
@
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
91
|
+
@each $index in 0, 1, 2, 3 {
|
|
92
|
+
$at: $first + $index * $step;
|
|
93
|
+
.step[data-step="#{$index}"] {
|
|
94
|
+
.tile {
|
|
95
|
+
@include loop(launch-tile-#{$index} $round $ease infinite);
|
|
96
|
+
}
|
|
97
|
+
.dot {
|
|
98
|
+
@include loop(launch-dot-#{$index} $round $ease infinite);
|
|
99
|
+
}
|
|
103
100
|
}
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
101
|
+
@keyframes launch-tile-#{$index} {
|
|
102
|
+
0%,
|
|
103
|
+
#{$at} {
|
|
104
|
+
opacity: 0.3;
|
|
105
|
+
transform: translateY(0) translateZ(0);
|
|
106
|
+
box-shadow: none;
|
|
107
|
+
}
|
|
108
|
+
#{$at + 4%},
|
|
109
|
+
#{$clear} {
|
|
110
|
+
opacity: 1;
|
|
111
|
+
transform: translateY(-4px) translateZ(14px);
|
|
112
|
+
box-shadow: 0 0 22px -6px tint(45%);
|
|
113
|
+
}
|
|
114
|
+
#{$clear + 6%},
|
|
115
|
+
100% {
|
|
116
|
+
opacity: 0.3;
|
|
117
|
+
transform: translateY(0) translateZ(0);
|
|
118
|
+
box-shadow: none;
|
|
119
|
+
}
|
|
108
120
|
}
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
121
|
+
@keyframes launch-dot-#{$index} {
|
|
122
|
+
0%,
|
|
123
|
+
#{$at} {
|
|
124
|
+
background: var(--background);
|
|
125
|
+
border-color: tint(35%);
|
|
126
|
+
}
|
|
127
|
+
#{$at + 3%},
|
|
128
|
+
#{$clear} {
|
|
129
|
+
background: var(--foreground);
|
|
130
|
+
border-color: var(--foreground);
|
|
131
|
+
}
|
|
132
|
+
#{$clear + 6%},
|
|
133
|
+
100% {
|
|
134
|
+
background: var(--background);
|
|
135
|
+
border-color: tint(35%);
|
|
136
|
+
}
|
|
112
137
|
}
|
|
113
138
|
}
|
|
114
|
-
.
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
139
|
+
/* The teaser: the product as a mystery, a dashed outline with a question mark. */
|
|
140
|
+
.teaser {
|
|
141
|
+
display: grid;
|
|
142
|
+
place-items: center;
|
|
143
|
+
width: 32px;
|
|
144
|
+
height: 32px;
|
|
145
|
+
border: 1.5px dashed tint(70%);
|
|
146
|
+
border-radius: 5px;
|
|
147
|
+
&::after {
|
|
148
|
+
content: "?";
|
|
149
|
+
font-size: 18px;
|
|
150
|
+
font-weight: 700;
|
|
151
|
+
line-height: 1;
|
|
152
|
+
color: var(--foreground);
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
/* The landing page: a little browser window with a headline, a picture and a button. */
|
|
156
|
+
.page {
|
|
157
|
+
position: relative;
|
|
158
|
+
width: 40px;
|
|
159
|
+
height: 50px;
|
|
160
|
+
border: 1.5px solid tint(70%);
|
|
161
|
+
border-radius: 4px;
|
|
162
|
+
background:
|
|
163
|
+
linear-gradient(var(--foreground), var(--foreground)) 6px 10px / 24px 3px,
|
|
164
|
+
linear-gradient(tint(40%), tint(40%)) 6px 16px / 16px 2px,
|
|
165
|
+
linear-gradient(tint(25%), tint(25%)) 6px 22px / 25px 12px,
|
|
166
|
+
linear-gradient(var(--foreground), var(--foreground)) 6px 38px / 14px 5px;
|
|
167
|
+
background-repeat: no-repeat;
|
|
168
|
+
&::before {
|
|
169
|
+
content: "";
|
|
118
170
|
position: absolute;
|
|
119
|
-
left:
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
border-radius: 50%;
|
|
124
|
-
background: var(--foreground);
|
|
125
|
-
box-shadow: 0 0 8px tint(70%);
|
|
126
|
-
opacity: 0;
|
|
127
|
-
@include loop(launch-spark $round ease-out infinite);
|
|
171
|
+
left: 0;
|
|
172
|
+
right: 0;
|
|
173
|
+
top: 4px;
|
|
174
|
+
border-top: 1.5px solid tint(40%);
|
|
128
175
|
}
|
|
129
176
|
}
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
177
|
+
/* The campaign: a megaphone and the sound it sends out. */
|
|
178
|
+
.campaign {
|
|
179
|
+
position: relative;
|
|
180
|
+
width: 40px;
|
|
181
|
+
height: 30px;
|
|
182
|
+
&::before {
|
|
183
|
+
content: "";
|
|
184
|
+
position: absolute;
|
|
185
|
+
left: 2px;
|
|
186
|
+
top: 4px;
|
|
187
|
+
width: 22px;
|
|
188
|
+
height: 22px;
|
|
189
|
+
background: var(--foreground);
|
|
190
|
+
clip-path: polygon(0 35%, 30% 35%, 100% 0, 100% 100%, 30% 65%, 0 65%);
|
|
135
191
|
}
|
|
136
|
-
|
|
137
|
-
|
|
192
|
+
&::after {
|
|
193
|
+
content: "";
|
|
194
|
+
position: absolute;
|
|
195
|
+
left: 20px;
|
|
196
|
+
top: 3px;
|
|
197
|
+
width: 18px;
|
|
198
|
+
height: 24px;
|
|
199
|
+
border-radius: 50%;
|
|
200
|
+
border: 2px solid transparent;
|
|
201
|
+
border-right-color: tint(70%);
|
|
138
202
|
}
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
203
|
+
}
|
|
204
|
+
/* Launch day: the product revealed, a solid box with a star of light behind it. */
|
|
205
|
+
.launch {
|
|
206
|
+
position: relative;
|
|
207
|
+
width: 26px;
|
|
208
|
+
height: 34px;
|
|
209
|
+
border-radius: 4px;
|
|
210
|
+
background: linear-gradient(160deg, var(--foreground), tint(55%));
|
|
211
|
+
box-shadow: 0 0 18px tint(55%);
|
|
212
|
+
&::before {
|
|
213
|
+
content: "";
|
|
214
|
+
position: absolute;
|
|
215
|
+
inset: -14px;
|
|
216
|
+
z-index: -1;
|
|
217
|
+
background: repeating-conic-gradient(tint(35%) 0 6deg, transparent 6deg 30deg);
|
|
218
|
+
mask: radial-gradient(circle, #000 30%, transparent 70%);
|
|
219
|
+
border-radius: 50%;
|
|
143
220
|
}
|
|
144
221
|
}
|
|
145
|
-
/*
|
|
146
|
-
.
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
222
|
+
/* Confetti flying out of launch day once it is reached. */
|
|
223
|
+
.confetti {
|
|
224
|
+
position: absolute;
|
|
225
|
+
left: calc(100% - 32px);
|
|
226
|
+
top: 46px;
|
|
227
|
+
width: 0;
|
|
228
|
+
height: 0;
|
|
229
|
+
transform: translateZ(20px);
|
|
230
|
+
i {
|
|
150
231
|
position: absolute;
|
|
151
|
-
left: -
|
|
152
|
-
top: -
|
|
153
|
-
width:
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
font-size: 40px;
|
|
158
|
-
font-weight: 700;
|
|
159
|
-
color: var(--foreground);
|
|
232
|
+
left: -2px;
|
|
233
|
+
top: -4px;
|
|
234
|
+
width: 4px;
|
|
235
|
+
height: 8px;
|
|
236
|
+
border-radius: 1px;
|
|
237
|
+
background: var(--foreground);
|
|
160
238
|
opacity: 0;
|
|
161
|
-
@include loop(launch-
|
|
239
|
+
@include loop(launch-confetti $round ease-out infinite);
|
|
162
240
|
}
|
|
163
241
|
}
|
|
164
|
-
@keyframes launch-
|
|
165
|
-
0
|
|
242
|
+
@keyframes launch-confetti {
|
|
243
|
+
0%,
|
|
244
|
+
#{$first + 3 * $step} {
|
|
166
245
|
opacity: 0;
|
|
167
|
-
transform:
|
|
168
|
-
}
|
|
169
|
-
3% {
|
|
170
|
-
opacity: 1;
|
|
246
|
+
transform: rotate(var(--angle)) translateY(-8px) rotate(0deg);
|
|
171
247
|
}
|
|
172
|
-
|
|
248
|
+
#{$first + 3 * $step + 2%} {
|
|
173
249
|
opacity: 1;
|
|
174
|
-
transform: scale(1);
|
|
175
250
|
}
|
|
176
|
-
|
|
251
|
+
#{$first + 3 * $step + 18%},
|
|
177
252
|
100% {
|
|
178
253
|
opacity: 0;
|
|
179
|
-
transform:
|
|
254
|
+
transform: rotate(var(--angle)) translateY(calc(-1 * var(--reach))) rotate(220deg);
|
|
180
255
|
}
|
|
181
256
|
}
|
|
@@ -14,6 +14,6 @@ import styles from "./index.module.css";
|
|
|
14
14
|
* an invitation for ideas none of them name.
|
|
15
15
|
*/
|
|
16
16
|
export function Services({ locale }) {
|
|
17
|
-
return (_jsxs(Section, { id: SECTION.services.id, padded: false, children: [_jsx("div", { className: styles.heading, children: _jsx(SectionHeading, { eyebrow: translate(SERVICES.eyebrow, locale), title: translate(SERVICES.title, locale) }) }), SERVICES.items.map((service) => (_jsxs("div", { id: service.key, className: styles.group, children: [_jsx(Cross, { corner: "top-left" }), _jsx(Cross, { corner: "top-right" }), _jsxs("header", { className: styles.groupHeading, children: [_jsx("span", { className: `monospace ${styles.number}`, children: service.number }), _jsx("h3", { children: translate(service.title, locale) }), _jsx("p", { children: translate(service.lead, locale) })] }), _jsx("div", { className: styles.cards, "data-count": service.cards.length, children: service.cards.map((card, index) => (_jsx("div", { children: _jsx(Reveal, { delay: (index % 3) * 0.08, className: styles.reveal, children: _jsx(ServiceCard, { locale: locale, card: card
|
|
17
|
+
return (_jsxs(Section, { id: SECTION.services.id, padded: false, children: [_jsx("div", { className: styles.heading, children: _jsx(SectionHeading, { eyebrow: translate(SERVICES.eyebrow, locale), title: translate(SERVICES.title, locale) }) }), SERVICES.items.map((service) => (_jsxs("div", { id: service.key, className: styles.group, children: [_jsx(Cross, { corner: "top-left" }), _jsx(Cross, { corner: "top-right" }), _jsxs("header", { className: styles.groupHeading, children: [_jsx("span", { className: `monospace ${styles.number}`, children: service.number }), _jsx("h3", { children: translate(service.title, locale) }), _jsx("p", { children: translate(service.lead, locale) })] }), _jsx("div", { className: styles.cards, "data-count": service.cards.length, children: service.cards.map((card, index) => (_jsx("div", { children: _jsx(Reveal, { delay: (index % 3) * 0.08, className: styles.reveal, children: _jsx(ServiceCard, { locale: locale, card: card }) }) }, card.key))) })] }, service.key))), _jsx(ServiceUnlisted, { locale: locale })] }));
|
|
18
18
|
}
|
|
19
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/services/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,wCAAwC,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,KAAK,EAAE,MAAM,gDAAgD,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAC1F,OAAO,EAAE,WAAW,EAAE,MAAM,uDAAuD,CAAC;AACpF,OAAO,EAAE,eAAe,EAAE,MAAM,2DAA2D,CAAC;AAC5F,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC;;;GAGG;AACH,MAAM,UAAU,QAAQ,CAAC,EAAE,MAAM,EAAsB;IACrD,OAAO,CACL,MAAC,OAAO,IAAC,EAAE,EAAE,OAAO,CAAC,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,aAC7C,cAAK,SAAS,EAAE,MAAM,CAAC,OAAO,YAC5B,KAAC,cAAc,IAAC,OAAO,EAAE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,KAAK,EAAE,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,GAAI,GACtG,EACL,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAC/B,eAAuB,EAAE,EAAE,OAAO,CAAC,GAAG,EAAE,SAAS,EAAE,MAAM,CAAC,KAAK,aAC7D,KAAC,KAAK,IAAC,MAAM,EAAC,UAAU,GAAG,EAC3B,KAAC,KAAK,IAAC,MAAM,EAAC,WAAW,GAAG,EAC5B,kBAAQ,SAAS,EAAE,MAAM,CAAC,YAAY,aACpC,eAAM,SAAS,EAAE,aAAa,MAAM,CAAC,MAAM,EAAE,YAAG,OAAO,CAAC,MAAM,GAAQ,EACtE,uBAAK,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,GAAM,EAC3C,sBAAI,SAAS,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,GAAK,IACjC,EAET,cAAK,SAAS,EAAE,MAAM,CAAC,KAAK,gBAAc,OAAO,CAAC,KAAK,CAAC,MAAM,YAC3D,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAClC,wBACE,KAAC,MAAM,IAAC,KAAK,EAAE,CAAC,KAAK,GAAG,CAAC,CAAC,GAAG,IAAI,EAAE,SAAS,EAAE,MAAM,CAAC,MAAM,YACzD,KAAC,WAAW,IAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/services/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,wCAAwC,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,KAAK,EAAE,MAAM,gDAAgD,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAC1F,OAAO,EAAE,WAAW,EAAE,MAAM,uDAAuD,CAAC;AACpF,OAAO,EAAE,eAAe,EAAE,MAAM,2DAA2D,CAAC;AAC5F,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC;;;GAGG;AACH,MAAM,UAAU,QAAQ,CAAC,EAAE,MAAM,EAAsB;IACrD,OAAO,CACL,MAAC,OAAO,IAAC,EAAE,EAAE,OAAO,CAAC,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,aAC7C,cAAK,SAAS,EAAE,MAAM,CAAC,OAAO,YAC5B,KAAC,cAAc,IAAC,OAAO,EAAE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,KAAK,EAAE,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,GAAI,GACtG,EACL,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAC/B,eAAuB,EAAE,EAAE,OAAO,CAAC,GAAG,EAAE,SAAS,EAAE,MAAM,CAAC,KAAK,aAC7D,KAAC,KAAK,IAAC,MAAM,EAAC,UAAU,GAAG,EAC3B,KAAC,KAAK,IAAC,MAAM,EAAC,WAAW,GAAG,EAC5B,kBAAQ,SAAS,EAAE,MAAM,CAAC,YAAY,aACpC,eAAM,SAAS,EAAE,aAAa,MAAM,CAAC,MAAM,EAAE,YAAG,OAAO,CAAC,MAAM,GAAQ,EACtE,uBAAK,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,GAAM,EAC3C,sBAAI,SAAS,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,GAAK,IACjC,EAET,cAAK,SAAS,EAAE,MAAM,CAAC,KAAK,gBAAc,OAAO,CAAC,KAAK,CAAC,MAAM,YAC3D,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAClC,wBACE,KAAC,MAAM,IAAC,KAAK,EAAE,CAAC,KAAK,GAAG,CAAC,CAAC,GAAG,IAAI,EAAE,SAAS,EAAE,MAAM,CAAC,MAAM,YACzD,KAAC,WAAW,IAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,GAAI,GACpC,IAHD,IAAI,CAAC,GAAG,CAIZ,CACP,CAAC,GACE,KAjBE,OAAO,CAAC,GAAG,CAkBf,CACP,CAAC,EACF,KAAC,eAAe,IAAC,MAAM,EAAE,MAAM,GAAI,IAC3B,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.heading{padding:clamp(72px,10vw,128px) var(--padding) clamp(40px,5vw,64px)}.group{position:relative;border-top:1px solid var(--line);scroll-margin-top:64px}.groupHeading{display:grid;grid-template-columns:auto 1fr auto;align-items:baseline;gap:8px 18px;padding:28px var(--padding)}.groupHeading h3{font-size:clamp(1.6rem,3vw,2.3rem);font-weight:600;letter-spacing:-0.04em}.groupHeading p{color:var(--foreground-2);text-align:right}@media(max-width: 720px){.groupHeading{grid-template-columns:auto 1fr}.groupHeading p{grid-column:1/-1;text-align:left}}.number{font-size:12px;color:var(--foreground-3)}.cards{display:grid;grid-template-columns:repeat(6, 1fr);gap:1px;background:var(--line);border-top:1px solid var(--line)}.cards>div{grid-column:span 2;background:var(--background)}.cards[data-count="5"]>div:nth-child(n+4){grid-column:span 3}.cards[data-count="
|
|
1
|
+
.heading{padding:clamp(72px,10vw,128px) var(--padding) clamp(40px,5vw,64px)}.group{position:relative;border-top:1px solid var(--line);scroll-margin-top:64px}.groupHeading{display:grid;grid-template-columns:auto 1fr auto;align-items:baseline;gap:8px 18px;padding:28px var(--padding)}.groupHeading h3{font-size:clamp(1.6rem,3vw,2.3rem);font-weight:600;letter-spacing:-0.04em}.groupHeading p{color:var(--foreground-2);text-align:right}@media(max-width: 720px){.groupHeading{grid-template-columns:auto 1fr}.groupHeading p{grid-column:1/-1;text-align:left}}.number{font-size:12px;color:var(--foreground-3)}.cards{display:grid;grid-template-columns:repeat(6, 1fr);gap:1px;background:var(--line);border-top:1px solid var(--line)}.cards>div{grid-column:span 2;background:var(--background)}.cards[data-count="5"]>div:nth-child(n+4){grid-column:span 3}.cards[data-count="2"]>div,.cards[data-count="4"]>div{grid-column:span 3}@media(max-width: 960px){.cards{grid-template-columns:1fr 1fr}.cards>div,.cards[data-count="2"]>div,.cards[data-count="4"]>div,.cards[data-count="5"]>div:nth-child(n+4){grid-column:auto}.cards>div:last-child:nth-child(odd){grid-column:1/-1}}@media(max-width: 640px){.cards{grid-template-columns:1fr}.cards>div:last-child:nth-child(odd){grid-column:auto}}.reveal{height:100%}
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
color: var(--foreground-3);
|
|
38
38
|
}
|
|
39
39
|
/* Cards share hairlines: the grid's background shows through 1px gaps. Three to a row; a row of two shares it in halves,
|
|
40
|
-
four make two rows of two, and
|
|
40
|
+
four make two rows of two, and five a row of three over a row of two. Every row is full. */
|
|
41
41
|
.cards {
|
|
42
42
|
display: grid;
|
|
43
43
|
grid-template-columns: repeat(6, 1fr);
|
|
@@ -51,9 +51,6 @@
|
|
|
51
51
|
&[data-count="5"] > div:nth-child(n + 4) {
|
|
52
52
|
grid-column: span 3;
|
|
53
53
|
}
|
|
54
|
-
&[data-count="1"] > div {
|
|
55
|
-
grid-column: 1 / -1;
|
|
56
|
-
}
|
|
57
54
|
// Two cards share a row in halves, and four make two rows of two, so no row is left with empty space.
|
|
58
55
|
&[data-count="2"] > div,
|
|
59
56
|
&[data-count="4"] > div {
|
|
@@ -67,7 +64,6 @@
|
|
|
67
64
|
&[data-count="5"] > div:nth-child(n + 4) {
|
|
68
65
|
grid-column: auto;
|
|
69
66
|
}
|
|
70
|
-
&[data-count="1"] > div,
|
|
71
67
|
> div:last-child:nth-child(odd) {
|
|
72
68
|
grid-column: 1 / -1;
|
|
73
69
|
}
|