@sharadox/sharadox-web-library 0.20.1 → 0.21.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.
Files changed (102) hide show
  1. package/README.md +5 -4
  2. package/distribution/action/send-contact/index.d.ts +3 -1
  3. package/distribution/action/send-contact/index.d.ts.map +1 -1
  4. package/distribution/action/send-contact/index.js +7 -1
  5. package/distribution/action/send-contact/index.js.map +1 -1
  6. package/distribution/component/contact/form/index.d.ts +5 -1
  7. package/distribution/component/contact/form/index.d.ts.map +1 -1
  8. package/distribution/component/contact/form/index.js +39 -5
  9. package/distribution/component/contact/form/index.js.map +1 -1
  10. package/distribution/component/contact/form/index.module.css +1 -1
  11. package/distribution/component/contact/form/index.module.scss +18 -0
  12. package/distribution/component/footer/index.d.ts +2 -2
  13. package/distribution/component/footer/index.d.ts.map +1 -1
  14. package/distribution/component/footer/index.js +3 -3
  15. package/distribution/component/footer/index.js.map +1 -1
  16. package/distribution/component/footer/index.module.css +1 -1
  17. package/distribution/component/footer/index.module.scss +42 -57
  18. package/distribution/component/service-card/index.d.ts +3 -2
  19. package/distribution/component/service-card/index.d.ts.map +1 -1
  20. package/distribution/component/service-card/index.js +4 -3
  21. package/distribution/component/service-card/index.js.map +1 -1
  22. package/distribution/component/service-card/index.module.css +1 -1
  23. package/distribution/component/service-card/index.module.scss +54 -0
  24. package/distribution/component/service-card/type.d.ts +2 -0
  25. package/distribution/component/service-card/type.d.ts.map +1 -1
  26. package/distribution/component/service-object/application-programming-interface/index.d.ts +6 -0
  27. package/distribution/component/service-object/application-programming-interface/index.d.ts.map +1 -0
  28. package/distribution/component/service-object/application-programming-interface/index.js +11 -0
  29. package/distribution/component/service-object/application-programming-interface/index.js.map +1 -0
  30. package/distribution/component/service-object/application-programming-interface/index.module.css +1 -0
  31. package/distribution/component/service-object/application-programming-interface/index.module.scss +154 -0
  32. package/distribution/component/service-object/content-management-system/index.d.ts +6 -0
  33. package/distribution/component/service-object/content-management-system/index.d.ts.map +1 -0
  34. package/distribution/component/service-object/content-management-system/index.js +10 -0
  35. package/distribution/component/service-object/content-management-system/index.js.map +1 -0
  36. package/distribution/component/service-object/content-management-system/index.module.css +1 -0
  37. package/distribution/component/service-object/content-management-system/index.module.scss +181 -0
  38. package/distribution/component/service-object/index.js +4 -4
  39. package/distribution/component/service-object/index.js.map +1 -1
  40. package/distribution/component/service-object/index.module.css +1 -1
  41. package/distribution/component/service-object/index.module.scss +2 -2
  42. package/distribution/component/service-object/progressive-web-application/index.d.ts +4 -1
  43. package/distribution/component/service-object/progressive-web-application/index.d.ts.map +1 -1
  44. package/distribution/component/service-object/progressive-web-application/index.js +19 -2
  45. package/distribution/component/service-object/progressive-web-application/index.js.map +1 -1
  46. package/distribution/component/service-object/progressive-web-application/index.module.css +1 -1
  47. package/distribution/component/service-object/progressive-web-application/index.module.scss +151 -63
  48. package/distribution/component/service-object/social-media-strategy/index.d.ts +4 -1
  49. package/distribution/component/service-object/social-media-strategy/index.d.ts.map +1 -1
  50. package/distribution/component/service-object/social-media-strategy/index.js +9 -2
  51. package/distribution/component/service-object/social-media-strategy/index.js.map +1 -1
  52. package/distribution/component/service-object/social-media-strategy/index.module.css +1 -1
  53. package/distribution/component/service-object/social-media-strategy/index.module.scss +177 -53
  54. package/distribution/component/service-unlisted/index.d.ts +10 -0
  55. package/distribution/component/service-unlisted/index.d.ts.map +1 -0
  56. package/distribution/component/service-unlisted/index.js +20 -0
  57. package/distribution/component/service-unlisted/index.js.map +1 -0
  58. package/distribution/component/service-unlisted/index.module.css +1 -0
  59. package/distribution/component/service-unlisted/index.module.scss +28 -0
  60. package/distribution/component/service-unlisted/type.d.ts +5 -0
  61. package/distribution/component/service-unlisted/type.d.ts.map +1 -0
  62. package/distribution/component/service-unlisted/type.js +2 -0
  63. package/distribution/component/service-unlisted/type.js.map +1 -0
  64. package/distribution/component/services/index.d.ts +3 -2
  65. package/distribution/component/services/index.d.ts.map +1 -1
  66. package/distribution/component/services/index.js +5 -3
  67. package/distribution/component/services/index.js.map +1 -1
  68. package/distribution/component/services/index.module.css +1 -1
  69. package/distribution/component/services/index.module.scss +4 -0
  70. package/distribution/component/structured-data/index.d.ts.map +1 -1
  71. package/distribution/component/structured-data/index.js +4 -2
  72. package/distribution/component/structured-data/index.js.map +1 -1
  73. package/distribution/content/contact/index.d.ts +84 -34
  74. package/distribution/content/contact/index.d.ts.map +1 -1
  75. package/distribution/content/contact/index.js +34 -5
  76. package/distribution/content/contact/index.js.map +1 -1
  77. package/distribution/content/services/index.d.ts +103 -60
  78. package/distribution/content/services/index.d.ts.map +1 -1
  79. package/distribution/content/services/index.js +84 -49
  80. package/distribution/content/services/index.js.map +1 -1
  81. package/distribution/content/site/index.d.ts.map +1 -1
  82. package/distribution/content/site/index.js +8 -4
  83. package/distribution/content/site/index.js.map +1 -1
  84. package/distribution/style/token/index.scss +3 -1
  85. package/distribution/utility/contact-problem/index.d.ts +13 -0
  86. package/distribution/utility/contact-problem/index.d.ts.map +1 -0
  87. package/distribution/utility/contact-problem/index.js +23 -0
  88. package/distribution/utility/contact-problem/index.js.map +1 -0
  89. package/llms.txt +2 -1
  90. package/package.json +2 -2
  91. package/distribution/component/service-object/android-application/index.d.ts +0 -3
  92. package/distribution/component/service-object/android-application/index.d.ts.map +0 -1
  93. package/distribution/component/service-object/android-application/index.js +0 -8
  94. package/distribution/component/service-object/android-application/index.js.map +0 -1
  95. package/distribution/component/service-object/android-application/index.module.css +0 -1
  96. package/distribution/component/service-object/android-application/index.module.scss +0 -90
  97. package/distribution/component/service-object/ios-application/index.d.ts +0 -3
  98. package/distribution/component/service-object/ios-application/index.d.ts.map +0 -1
  99. package/distribution/component/service-object/ios-application/index.js +0 -8
  100. package/distribution/component/service-object/ios-application/index.js.map +0 -1
  101. package/distribution/component/service-object/ios-application/index.module.css +0 -1
  102. package/distribution/component/service-object/ios-application/index.module.scss +0 -93
@@ -1,91 +1,179 @@
1
1
  @use "style/token" as *;
2
2
  @use "style/object" as *;
3
3
 
4
+ $period: 4s;
5
+
4
6
  .object {
5
7
  @include centered(0px, 0px);
6
- @include loop(pwa-sway 9s ease-in-out infinite);
7
- transform: rotateX(-18deg) rotateY(28deg);
8
+ @include loop(pwa-sway 12s ease-in-out infinite);
9
+ transform: rotateX(-14deg) rotateY(18deg);
10
+ // The widest scene: smaller on phones, so every device stays in view.
11
+ @include below(480px) {
12
+ scale: 0.8;
13
+ }
8
14
  }
9
15
  @keyframes pwa-sway {
10
16
  0%,
11
17
  100% {
12
- transform: rotateX(-18deg) rotateY(32deg);
18
+ transform: rotateX(-14deg) rotateY(22deg);
13
19
  }
14
20
  50% {
15
- transform: rotateX(-12deg) rotateY(8deg);
21
+ transform: rotateX(-10deg) rotateY(-22deg);
16
22
  }
17
23
  }
18
- .window {
19
- @include centered(168px, 116px);
20
- @include face(4%, 42%);
21
- border-radius: 8px;
22
- transform: translateZ(-20px);
24
+ /* The one codebase: a block with code brackets, pulsing as it sends the app out. */
25
+ .codebase {
26
+ --width: 46px;
27
+ --height: 46px;
28
+ --depth: 46px;
29
+ --radius: 6px;
30
+ --front-amount: 14%;
31
+ --top-amount: 22%;
32
+ --edge-amount: 70%;
33
+ transform: translateY(34px);
34
+ @include loop(pwa-pulse $period $ease infinite);
23
35
  }
24
- .bar {
25
- display: block;
26
- padding: 7px 10px;
27
- border-bottom: 1px solid tint(18%);
28
- i {
29
- display: block;
30
- height: 6px;
31
- width: 60%;
32
- margin: 0 auto;
33
- border-radius: 3px;
34
- background: tint(25%);
36
+ @keyframes pwa-pulse {
37
+ 0%,
38
+ 100% {
39
+ transform: translateY(34px) scale3d(1, 1, 1);
40
+ }
41
+ 8% {
42
+ transform: translateY(34px) scale3d(1.12, 1.12, 1.12);
43
+ }
44
+ 20% {
45
+ transform: translateY(34px) scale3d(1, 1, 1);
35
46
  }
36
47
  }
37
- .slot {
48
+ /* "< / >" drawn with lines: two chevrons and a slash. */
49
+ .code {
38
50
  position: absolute;
39
- left: 50%;
40
- top: 50%;
41
- width: 40px;
42
- height: 40px;
43
- margin: -14px 0 0 -20px;
44
- border-radius: 10px;
45
- border: 1px dashed tint(45%);
51
+ inset: 0;
52
+ i {
53
+ position: absolute;
54
+ top: 50%;
55
+ width: 8px;
56
+ height: 8px;
57
+ margin-top: -4px;
58
+ border: solid var(--foreground);
59
+ border-width: 0 0 2px 2px;
60
+ &:nth-child(1) {
61
+ left: 9px;
62
+ transform: rotate(45deg);
63
+ }
64
+ &:nth-child(2) {
65
+ left: 50%;
66
+ width: 2px;
67
+ height: 16px;
68
+ margin: -8px 0 0 -1px;
69
+ border: 0;
70
+ background: var(--foreground);
71
+ transform: rotate(20deg);
72
+ }
73
+ &:nth-child(3) {
74
+ right: 9px;
75
+ transform: rotate(-135deg);
76
+ }
77
+ }
46
78
  }
47
- .lift {
79
+ .place {
48
80
  @include centered(0px, 0px);
49
- transform: translate3d(0, 6px, -20px);
50
- @include loop(pwa-install 4.2s $ease infinite);
51
81
  }
52
- @keyframes pwa-install {
53
- 0%,
54
- 15% {
55
- transform: translate3d(0, 6px, -14px) rotateY(0deg);
82
+ /* Each device faces the codebase a little. */
83
+ .device {
84
+ @include face(4%, 50%);
85
+ position: absolute;
86
+ padding: 7px;
87
+ border-radius: 6px;
88
+ &[data-kind="computer"] {
89
+ width: 156px;
90
+ height: 98px;
91
+ left: -78px;
92
+ top: -49px;
93
+ }
94
+ &[data-kind="tablet"] {
95
+ width: 78px;
96
+ height: 104px;
97
+ left: -39px;
98
+ top: -52px;
99
+ border-radius: 9px;
100
+ transform: rotateY(28deg);
56
101
  }
57
- 55%,
58
- 75% {
59
- transform: translate3d(0, -26px, 56px) rotateY(360deg);
102
+ &[data-kind="phone"] {
103
+ width: 46px;
104
+ height: 90px;
105
+ left: -23px;
106
+ top: -45px;
107
+ padding: 9px 5px;
108
+ border-radius: 9px;
109
+ transform: rotateY(-28deg);
110
+ }
111
+ }
112
+ .stand {
113
+ position: absolute;
114
+ left: -22px;
115
+ top: 49px;
116
+ width: 44px;
117
+ height: 14px;
118
+ border: 1px solid tint(40%);
119
+ border-top: 0;
120
+ border-radius: 0 0 6px 6px;
121
+ background: tint(6%);
122
+ }
123
+ /* The same app on every screen; all of them light up when the packets land. */
124
+ .app {
125
+ display: grid;
126
+ grid-template-columns: 1fr 1fr;
127
+ grid-template-rows: 6px 1fr 0.7fr;
128
+ gap: 4px;
129
+ height: 100%;
130
+ i {
131
+ border-radius: 2px;
132
+ background: tint(14%);
133
+ @include loop(pwa-light $period $ease infinite);
60
134
  }
135
+ }
136
+ .header {
137
+ grid-column: 1 / -1;
138
+ }
139
+ .picture {
140
+ grid-column: 1 / -1;
141
+ }
142
+ @keyframes pwa-light {
143
+ 0%,
144
+ 30%,
61
145
  100% {
62
- transform: translate3d(0, 6px, -14px) rotateY(360deg);
146
+ background: tint(14%);
147
+ }
148
+ 44%,
149
+ 64% {
150
+ background: tint(45%);
63
151
  }
64
152
  }
65
- .icon {
66
- --width: 40px;
67
- --height: 40px;
68
- --depth: 10px;
69
- --radius: 10px;
70
- --front-amount: 28%;
71
- --edge-amount: 75%;
153
+ /* The app flying from the codebase to each device, all at the same moment. */
154
+ .packet {
155
+ @include centered(10px, 10px);
156
+ border-radius: 3px;
157
+ background: var(--foreground);
158
+ opacity: 0;
159
+ @include loop(pwa-send $period $ease infinite);
72
160
  }
73
- .plus {
74
- position: absolute;
75
- inset: 0;
76
- &::before,
77
- &::after {
78
- content: "";
79
- position: absolute;
80
- left: 50%;
81
- top: 50%;
82
- width: 16px;
83
- height: 2px;
84
- margin: -1px 0 0 -8px;
85
- border-radius: 1px;
86
- background: var(--foreground);
87
- }
88
- &::after {
89
- transform: rotate(90deg);
161
+ @keyframes pwa-send {
162
+ 0%,
163
+ 6% {
164
+ opacity: 0;
165
+ transform: translate3d(0, 34px, 0) scale(0.6);
166
+ }
167
+ 12% {
168
+ opacity: 1;
169
+ }
170
+ 38% {
171
+ opacity: 1;
172
+ transform: translate3d(var(--to-x), var(--to-y), var(--to-z)) scale(1);
173
+ }
174
+ 46%,
175
+ 100% {
176
+ opacity: 0;
177
+ transform: translate3d(var(--to-x), var(--to-y), var(--to-z)) scale(1.6);
90
178
  }
91
179
  }
@@ -1,3 +1,6 @@
1
- /** Social media growth strategy: an audience in orbit around the brand, on paths planned at different angles. */
1
+ /**
2
+ * Social media growth strategy: a feed of posts with likes floating off the newest one, the planned posting calendar
3
+ * ticking off beside it, and the followers chart climbing.
4
+ */
2
5
  export declare function SocialMediaStrategy(): import("react").JSX.Element;
3
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/social-media-strategy/index.tsx"],"names":[],"mappings":"AAEA,iHAAiH;AACjH,wBAAgB,mBAAmB,gCAclC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/social-media-strategy/index.tsx"],"names":[],"mappings":"AAoBA;;;GAGG;AACH,wBAAgB,mBAAmB,gCAwBlC"}
@@ -1,7 +1,14 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import styles from "./index.module.css";
3
- /** Social media growth strategy: an audience in orbit around the brand, on paths planned at different angles. */
3
+ /** A post in the feed: who posted it, its picture, and the like, comment and share buttons. */
4
+ function Post({ className }) {
5
+ return (_jsxs("div", { className: `${styles.post} ${className}`, children: [_jsxs("span", { className: styles.author, children: [_jsx("i", {}), _jsx("i", {})] }), _jsx("span", { className: styles.picture }), _jsxs("span", { className: styles.actions, children: [_jsx("i", { className: styles.like }), _jsx("i", { className: styles.comment }), _jsx("i", { className: styles.share })] })] }));
6
+ }
7
+ /**
8
+ * Social media growth strategy: a feed of posts with likes floating off the newest one, the planned posting calendar
9
+ * ticking off beside it, and the followers chart climbing.
10
+ */
4
11
  export function SocialMediaStrategy() {
5
- return (_jsxs("div", { className: styles.object, children: [_jsx("span", { className: styles.center }), [0, 1, 2].map((orbit) => (_jsx("span", { className: styles.plane, "data-orbit": orbit, children: _jsxs("span", { className: styles.orbit, children: [_jsx("i", {}), _jsx("i", {})] }) }, orbit)))] }));
12
+ return (_jsxs("div", { className: styles.object, children: [_jsx("div", { className: styles.calendar, children: Array.from({ length: 12 }, (_, day) => (_jsx("i", { style: { animationDelay: `${day * 0.35}s` } }, day))) }), _jsx(Post, { className: styles.older }), _jsx(Post, { className: styles.newest }), Array.from({ length: 5 }, (_, heart) => (_jsx("span", { className: styles.heart, style: { animationDelay: `${heart * 0.7}s`, left: `${[-6, 10, -14, 4, 16][heart]}px` } }, heart))), _jsx("div", { className: styles.growth, children: [0, 1, 2, 3].map((bar) => (_jsx("i", { style: { animationDelay: `${bar * 0.25}s` } }, bar))) })] }));
6
13
  }
7
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/service-object/social-media-strategy/index.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAEzC,iHAAiH;AACjH,MAAM,UAAU,mBAAmB;IACjC,OAAO,CACL,eAAK,SAAS,EAAE,MAAM,CAAC,MAAM,aAC3B,eAAM,SAAS,EAAE,MAAM,CAAC,MAAM,GAAI,EACjC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CACxB,eAAkB,SAAS,EAAE,MAAM,CAAC,KAAK,gBAAc,KAAK,YAC1D,gBAAM,SAAS,EAAE,MAAM,CAAC,KAAK,aAC3B,aAAK,EACL,aAAK,IACA,IAJE,KAAK,CAKT,CACR,CAAC,IACE,CACP,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/service-object/social-media-strategy/index.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAEzC,+FAA+F;AAC/F,SAAS,IAAI,CAAC,EAAE,SAAS,EAAqC;IAC5D,OAAO,CACL,eAAK,SAAS,EAAE,GAAG,MAAM,CAAC,IAAI,IAAI,SAAS,EAAE,aAC3C,gBAAM,SAAS,EAAE,MAAM,CAAC,MAAM,aAC5B,aAAK,EACL,aAAK,IACA,EACP,eAAM,SAAS,EAAE,MAAM,CAAC,OAAO,GAAI,EACnC,gBAAM,SAAS,EAAE,MAAM,CAAC,OAAO,aAC7B,YAAG,SAAS,EAAE,MAAM,CAAC,IAAI,GAAI,EAC7B,YAAG,SAAS,EAAE,MAAM,CAAC,OAAO,GAAI,EAChC,YAAG,SAAS,EAAE,MAAM,CAAC,KAAK,GAAI,IACzB,IACH,CACP,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,mBAAmB;IACjC,OAAO,CACL,eAAK,SAAS,EAAE,MAAM,CAAC,MAAM,aAC3B,cAAK,SAAS,EAAE,MAAM,CAAC,QAAQ,YAC5B,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,CAAC,CACtC,YAAa,KAAK,EAAE,EAAE,cAAc,EAAE,GAAG,GAAG,GAAG,IAAI,GAAG,EAAE,IAAhD,GAAG,CAAiD,CAC7D,CAAC,GACE,EACN,KAAC,IAAI,IAAC,SAAS,EAAE,MAAM,CAAC,KAAK,GAAI,EACjC,KAAC,IAAI,IAAC,SAAS,EAAE,MAAM,CAAC,MAAM,GAAI,EACjC,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,CACvC,eAEE,SAAS,EAAE,MAAM,CAAC,KAAK,EACvB,KAAK,EAAE,EAAE,cAAc,EAAE,GAAG,KAAK,GAAG,GAAG,GAAG,EAAE,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,IAAI,EAAE,IAFjF,KAAK,CAGV,CACH,CAAC,EACF,cAAK,SAAS,EAAE,MAAM,CAAC,MAAM,YAC1B,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CACzB,YAAa,KAAK,EAAE,EAAE,cAAc,EAAE,GAAG,GAAG,GAAG,IAAI,GAAG,EAAE,IAAhD,GAAG,CAAiD,CAC7D,CAAC,GACE,IACF,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:social-sway 12s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:rotateX(-14deg) rotateY(-20deg)}@keyframes social-sway{0%,100%{transform:rotateX(-14deg) rotateY(-24deg)}50%{transform:rotateX(-4deg) rotateY(24deg)}}.center{position:absolute;left:50%;top:50%;width:30px;height:30px;margin:-15px 0 0 -15px;transform-style:preserve-3d;border-radius:50%;background:radial-gradient(circle at 35% 30%, var(--foreground), color-mix(in srgb, var(--foreground) 45%, transparent));box-shadow:0 0 22px color-mix(in srgb, var(--foreground) 45%, transparent)}.plane{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d}.plane[data-orbit="0"]{transform:rotateX(74deg) rotateY(0deg)}.plane[data-orbit="0"] .orbit{width:172px;height:172px;margin:-86px 0 0 -86px;animation-duration:14s}.plane[data-orbit="1"]{transform:rotateX(62deg) rotateY(52deg)}.plane[data-orbit="1"] .orbit{width:128px;height:128px;margin:-64px 0 0 -64px;animation-duration:10s}.plane[data-orbit="2"]{transform:rotateX(68deg) rotateY(-58deg)}.plane[data-orbit="2"] .orbit{width:84px;height:84px;margin:-42px 0 0 -42px;animation-duration:7s}.orbit{position:absolute;left:50%;top:50%;border-radius:50%;border:1px solid color-mix(in srgb, var(--foreground) 40%, transparent);transform-style:preserve-3d;animation:social-orbit 10s linear infinite}@media(prefers-reduced-motion: reduce){.orbit{animation:none}}.orbit i{position:absolute;left:50%;top:-5px;width:10px;height:10px;margin-left:-5px;border-radius:50%;background:var(--foreground);box-shadow:0 0 10px color-mix(in srgb, var(--foreground) 60%, transparent)}.orbit i:nth-child(2){top:auto;bottom:-4px;width:7px;height:7px;margin-left:-3.5px;background:color-mix(in srgb, var(--foreground) 60%, transparent)}@keyframes social-orbit{to{transform:rotateZ(360deg)}}
1
+ .object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:social-sway 12s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:rotateX(-10deg) rotateY(-20deg)}@keyframes social-sway{0%,100%{transform:rotateX(-10deg) rotateY(-24deg)}50%{transform:rotateX(-6deg) rotateY(20deg)}}.post{position:absolute;left:50%;top:50%;width:112px;height:148px;margin:-74px 0 0 -56px;transform-style:preserve-3d;box-sizing:border-box;background:color-mix(in srgb, var(--foreground) 5%, transparent);border:1px solid color-mix(in srgb, var(--foreground) 46%, transparent);display:grid;grid-template-rows:auto 1fr auto;gap:7px;padding:8px;border-radius:10px}.older{transform:translate3d(-24px, -18px, -46px);opacity:.55}.newest{transform:translate3d(0, 6px, 0)}.author{display:flex;align-items:center;gap:6px}.author i:first-child{width:14px;height:14px;border-radius:50%;border:1px solid color-mix(in srgb, var(--foreground) 55%, transparent);background:color-mix(in srgb, var(--foreground) 22%, transparent)}.author i:last-child{width:44px;height:4px;border-radius:2px;background:color-mix(in srgb, var(--foreground) 30%, transparent)}.picture{border-radius:5px;background:linear-gradient(145deg, color-mix(in srgb, var(--foreground) 30%, transparent), color-mix(in srgb, var(--foreground) 6%, transparent));border:1px solid color-mix(in srgb, var(--foreground) 25%, transparent)}.actions{display:flex;align-items:center;gap:9px}.actions i{position:relative;width:10px;height:10px}.like{width:7px;height:7px;background:var(--foreground);transform:rotate(-45deg)}.like::before,.like::after{content:"";position:absolute;width:7px;height:7px;border-radius:50%;background:var(--foreground)}.like::before{top:-3.5px;left:0}.like::after{left:3.5px;top:0}.like{width:7px !important;height:7px !important;margin:2px 0 0 1px;animation:social-beat 1.4s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.like{animation:none}}@keyframes social-beat{0%,100%{transform:rotate(-45deg) scale(1)}15%{transform:rotate(-45deg) scale(1.3)}}.comment{border:1.5px solid color-mix(in srgb, var(--foreground) 60%, transparent);border-radius:50% 50% 50% 0}.share{border:solid color-mix(in srgb, var(--foreground) 60%, transparent);border-width:1.5px 1.5px 0 0;transform:rotate(45deg) scale(0.8)}.heart{position:absolute;top:40px;width:10px;height:10px;background:var(--foreground);transform:rotate(-45deg)}.heart::before,.heart::after{content:"";position:absolute;width:10px;height:10px;border-radius:50%;background:var(--foreground)}.heart::before{top:-5px;left:0}.heart::after{left:5px;top:0}.heart{opacity:0;animation:social-float 3.5s ease-out infinite}@media(prefers-reduced-motion: reduce){.heart{animation:none}}@keyframes social-float{0%{opacity:0;transform:translate3d(0, 0, 10px) rotate(-45deg) scale(0.5)}15%{opacity:1}100%{opacity:0;transform:translate3d(0, -110px, 70px) rotate(-45deg) scale(1.1)}}.calendar{position:absolute;left:50%;top:50%;width:70px;height:54px;margin:-27px 0 0 -35px;transform-style:preserve-3d;box-sizing:border-box;background:color-mix(in srgb, var(--foreground) 4%, transparent);border:1px solid color-mix(in srgb, var(--foreground) 40%, transparent);display:grid;grid-template-columns:repeat(4, 1fr);gap:4px;padding:7px;border-radius:7px;transform:translate3d(-118px, 30px, 14px) rotateY(24deg)}.calendar i{border-radius:2px;border:1px solid color-mix(in srgb, var(--foreground) 30%, transparent);animation:social-plan 4.2s steps(1, end) infinite}@media(prefers-reduced-motion: reduce){.calendar i{animation:none}}@keyframes social-plan{0%,8%{background:rgba(0,0,0,0)}9%,100%{background:color-mix(in srgb, var(--foreground) 45%, transparent)}}.growth{position:absolute;left:50%;top:50%;width:58px;height:60px;margin:-30px 0 0 -29px;transform-style:preserve-3d;box-sizing:border-box;background:color-mix(in srgb, var(--foreground) 4%, transparent);border:1px solid color-mix(in srgb, var(--foreground) 40%, transparent);display:flex;align-items:flex-end;gap:5px;padding:8px;border-radius:7px;transform:translate3d(112px, -34px, 26px) rotateY(-22deg)}.growth i{flex:1;border-radius:2px;background:color-mix(in srgb, var(--foreground) 50%, transparent);transform-origin:bottom;animation:social-grow 3.2s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.growth i{animation:none}}.growth i:nth-child(1){height:30%}.growth i:nth-child(2){height:48%}.growth i:nth-child(3){height:70%}.growth i:nth-child(4){height:100%}@keyframes social-grow{0%{transform:scaleY(0.2)}50%,100%{transform:scaleY(1)}}
@@ -1,77 +1,201 @@
1
- @use "sass:list";
2
1
  @use "style/token" as *;
3
2
  @use "style/object" as *;
4
3
 
5
4
  .object {
6
5
  @include centered(0px, 0px);
7
6
  @include loop(social-sway 12s ease-in-out infinite);
8
- transform: rotateX(-14deg) rotateY(-20deg);
7
+ transform: rotateX(-10deg) rotateY(-20deg);
9
8
  }
10
9
  @keyframes social-sway {
11
10
  0%,
12
11
  100% {
13
- transform: rotateX(-14deg) rotateY(-24deg);
12
+ transform: rotateX(-10deg) rotateY(-24deg);
14
13
  }
15
14
  50% {
16
- transform: rotateX(-4deg) rotateY(24deg);
17
- }
18
- }
19
- .center {
20
- @include centered(30px, 30px);
21
- border-radius: 50%;
22
- background: radial-gradient(circle at 35% 30%, var(--foreground), tint(45%));
23
- box-shadow: 0 0 22px tint(45%);
24
- }
25
- $sizes: 172px, 128px, 84px;
26
- $tilts:
27
- rotateX(74deg) rotateY(0deg),
28
- rotateX(62deg) rotateY(52deg),
29
- rotateX(68deg) rotateY(-58deg);
30
- $speeds: 14s, 10s, 7s;
31
- .plane {
32
- @include centered(0px, 0px);
33
- @for $index from 0 through 2 {
34
- &[data-orbit="#{$index}"] {
35
- transform: list.nth($tilts, $index + 1);
36
- .orbit {
37
- width: list.nth($sizes, $index + 1);
38
- height: list.nth($sizes, $index + 1);
39
- margin: (-0.5 * list.nth($sizes, $index + 1)) 0 0 (-0.5 * list.nth($sizes, $index + 1));
40
- animation-duration: list.nth($speeds, $index + 1);
41
- }
42
- }
15
+ transform: rotateX(-6deg) rotateY(20deg);
43
16
  }
44
17
  }
45
- .orbit {
46
- position: absolute;
47
- left: 50%;
48
- top: 50%;
49
- border-radius: 50%;
50
- border: 1px solid tint(40%);
51
- transform-style: preserve-3d;
52
- @include loop(social-orbit 10s linear infinite);
18
+ .post {
19
+ @include centered(112px, 148px);
20
+ @include face(5%, 46%);
21
+ display: grid;
22
+ grid-template-rows: auto 1fr auto;
23
+ gap: 7px;
24
+ padding: 8px;
25
+ border-radius: 10px;
26
+ }
27
+ .older {
28
+ transform: translate3d(-24px, -18px, -46px);
29
+ opacity: 0.55;
30
+ }
31
+ .newest {
32
+ transform: translate3d(0, 6px, 0);
33
+ }
34
+ .author {
35
+ display: flex;
36
+ align-items: center;
37
+ gap: 6px;
38
+ i:first-child {
39
+ width: 14px;
40
+ height: 14px;
41
+ border-radius: 50%;
42
+ border: 1px solid tint(55%);
43
+ background: tint(22%);
44
+ }
45
+ i:last-child {
46
+ width: 44px;
47
+ height: 4px;
48
+ border-radius: 2px;
49
+ background: tint(30%);
50
+ }
51
+ }
52
+ .picture {
53
+ border-radius: 5px;
54
+ background: linear-gradient(145deg, tint(30%), tint(6%));
55
+ border: 1px solid tint(25%);
56
+ }
57
+ .actions {
58
+ display: flex;
59
+ align-items: center;
60
+ gap: 9px;
53
61
  i {
54
- position: absolute;
55
- left: 50%;
56
- top: -5px;
62
+ position: relative;
57
63
  width: 10px;
58
64
  height: 10px;
59
- margin-left: -5px;
65
+ }
66
+ }
67
+ /* A heart: a square turned 45 degrees with two round tops. */
68
+ @mixin heart($size, $color) {
69
+ width: $size;
70
+ height: $size;
71
+ background: $color;
72
+ transform: rotate(-45deg);
73
+ &::before,
74
+ &::after {
75
+ content: "";
76
+ position: absolute;
77
+ width: $size;
78
+ height: $size;
60
79
  border-radius: 50%;
61
- background: var(--foreground);
62
- box-shadow: 0 0 10px tint(60%);
80
+ background: $color;
81
+ }
82
+ &::before {
83
+ top: -0.5 * $size;
84
+ left: 0;
85
+ }
86
+ &::after {
87
+ left: 0.5 * $size;
88
+ top: 0;
89
+ }
90
+ }
91
+ .like {
92
+ @include heart(7px, var(--foreground));
93
+ width: 7px !important;
94
+ height: 7px !important;
95
+ margin: 2px 0 0 1px;
96
+ @include loop(social-beat 1.4s $ease infinite);
97
+ }
98
+ @keyframes social-beat {
99
+ 0%,
100
+ 100% {
101
+ transform: rotate(-45deg) scale(1);
102
+ }
103
+ 15% {
104
+ transform: rotate(-45deg) scale(1.3);
105
+ }
106
+ }
107
+ .comment {
108
+ border: 1.5px solid tint(60%);
109
+ border-radius: 50% 50% 50% 0;
110
+ }
111
+ .share {
112
+ border: solid tint(60%);
113
+ border-width: 1.5px 1.5px 0 0;
114
+ transform: rotate(45deg) scale(0.8);
115
+ }
116
+ /* Likes floating up off the newest post, towards the visitor. */
117
+ .heart {
118
+ position: absolute;
119
+ top: 40px;
120
+ @include heart(10px, var(--foreground));
121
+ opacity: 0;
122
+ @include loop(social-float 3.5s ease-out infinite);
123
+ }
124
+ @keyframes social-float {
125
+ 0% {
126
+ opacity: 0;
127
+ transform: translate3d(0, 0, 10px) rotate(-45deg) scale(0.5);
128
+ }
129
+ 15% {
130
+ opacity: 1;
131
+ }
132
+ 100% {
133
+ opacity: 0;
134
+ transform: translate3d(0, -110px, 70px) rotate(-45deg) scale(1.1);
135
+ }
136
+ }
137
+ /* The plan: a posting calendar, its days ticked off one by one. */
138
+ .calendar {
139
+ @include centered(70px, 54px);
140
+ @include face(4%, 40%);
141
+ display: grid;
142
+ grid-template-columns: repeat(4, 1fr);
143
+ gap: 4px;
144
+ padding: 7px;
145
+ border-radius: 7px;
146
+ transform: translate3d(-118px, 30px, 14px) rotateY(24deg);
147
+ i {
148
+ border-radius: 2px;
149
+ border: 1px solid tint(30%);
150
+ @include loop(social-plan 4.2s steps(1, end) infinite);
151
+ }
152
+ }
153
+ @keyframes social-plan {
154
+ 0%,
155
+ 8% {
156
+ background: transparent;
157
+ }
158
+ 9%,
159
+ 100% {
160
+ background: tint(45%);
161
+ }
162
+ }
163
+ /* The followers chart, climbing. */
164
+ .growth {
165
+ @include centered(58px, 60px);
166
+ @include face(4%, 40%);
167
+ display: flex;
168
+ align-items: flex-end;
169
+ gap: 5px;
170
+ padding: 8px;
171
+ border-radius: 7px;
172
+ transform: translate3d(112px, -34px, 26px) rotateY(-22deg);
173
+ i {
174
+ flex: 1;
175
+ border-radius: 2px;
176
+ background: tint(50%);
177
+ transform-origin: bottom;
178
+ @include loop(social-grow 3.2s $ease infinite);
179
+ &:nth-child(1) {
180
+ height: 30%;
181
+ }
63
182
  &:nth-child(2) {
64
- top: auto;
65
- bottom: -4px;
66
- width: 7px;
67
- height: 7px;
68
- margin-left: -3.5px;
69
- background: tint(60%);
183
+ height: 48%;
184
+ }
185
+ &:nth-child(3) {
186
+ height: 70%;
187
+ }
188
+ &:nth-child(4) {
189
+ height: 100%;
70
190
  }
71
191
  }
72
192
  }
73
- @keyframes social-orbit {
74
- to {
75
- transform: rotateZ(360deg);
193
+ @keyframes social-grow {
194
+ 0% {
195
+ transform: scaleY(0.2);
196
+ }
197
+ 50%,
198
+ 100% {
199
+ transform: scaleY(1);
76
200
  }
77
201
  }
@@ -0,0 +1,10 @@
1
+ import type { ServiceUnlistedProperties } from "@sharadox/sharadox-web-library/component/service-unlisted/type";
2
+ /**
3
+ * After every service, for ideas that fit none of them: an invitation to talk, whose button goes to the contact form
4
+ * with "What I need is not listed" ticked.
5
+ *
6
+ * @example
7
+ * <ServiceUnlisted locale="en" />
8
+ */
9
+ export declare function ServiceUnlisted({ locale }: ServiceUnlistedProperties): import("react").JSX.Element;
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/service-unlisted/index.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gEAAgE,CAAC;AAEhH;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,EAAE,MAAM,EAAE,EAAE,yBAAyB,+BAcpE"}
@@ -0,0 +1,20 @@
1
+ "use client";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { translate } from "@sharadox/internationalization-web-library/translate";
4
+ import { Button } from "@sharadox/sharadox-web-library/component/button";
5
+ import { Cross } from "@sharadox/sharadox-web-library/component/cross";
6
+ import { SECTION } from "@sharadox/sharadox-web-library/content/section";
7
+ import { SERVICES } from "@sharadox/sharadox-web-library/content/services";
8
+ import { requestContactNeeds } from "@sharadox/sharadox-web-library/utility/contact-need";
9
+ import styles from "./index.module.css";
10
+ /**
11
+ * After every service, for ideas that fit none of them: an invitation to talk, whose button goes to the contact form
12
+ * with "What I need is not listed" ticked.
13
+ *
14
+ * @example
15
+ * <ServiceUnlisted locale="en" />
16
+ */
17
+ export function ServiceUnlisted({ locale }) {
18
+ return (_jsxs("div", { className: styles.unlisted, children: [_jsx(Cross, { corner: "top-left" }), _jsx(Cross, { corner: "top-right" }), _jsxs("div", { className: styles.copy, children: [_jsx("h3", { children: translate(SERVICES.unlisted.title, locale) }), _jsx("p", { children: translate(SERVICES.unlisted.text, locale) })] }), _jsx(Button, { href: `#${SECTION.contact.id}`, arrow: true, onClick: () => requestContactNeeds(["not-listed"]), children: translate(SERVICES.unlisted.action, locale) })] }));
19
+ }
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/service-unlisted/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,MAAM,EAAE,MAAM,iDAAiD,CAAC;AACzE,OAAO,EAAE,KAAK,EAAE,MAAM,gDAAgD,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAC3E,OAAO,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC;AAC1F,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC;;;;;;GAMG;AACH,MAAM,UAAU,eAAe,CAAC,EAAE,MAAM,EAA6B;IACnE,OAAO,CACL,eAAK,SAAS,EAAE,MAAM,CAAC,QAAQ,aAC7B,KAAC,KAAK,IAAC,MAAM,EAAC,UAAU,GAAG,EAC3B,KAAC,KAAK,IAAC,MAAM,EAAC,WAAW,GAAG,EAC5B,eAAK,SAAS,EAAE,MAAM,CAAC,IAAI,aACzB,uBAAK,SAAS,CAAC,QAAQ,CAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,GAAM,EACrD,sBAAI,SAAS,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC,GAAK,IAC9C,EACN,KAAC,MAAM,IAAC,IAAI,EAAE,IAAI,OAAO,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,KAAK,QAAC,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB,CAAC,CAAC,YAAY,CAAC,CAAC,YAC7F,SAAS,CAAC,QAAQ,CAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC,GACrC,IACL,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1 @@
1
+ .unlisted{position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px 40px;padding:clamp(40px,6vw,72px) var(--padding);border-top:1px solid var(--line);background:radial-gradient(60% 120% at 50% 100%, color-mix(in srgb, var(--foreground) 5%, transparent), transparent 70%)}.copy{display:grid;gap:10px;max-width:60ch}.copy h3{font-size:clamp(1.5rem,3vw,2.2rem);font-weight:600;letter-spacing:-0.04em;text-wrap:balance}.copy p{color:var(--foreground-2);text-wrap:pretty}
@@ -0,0 +1,28 @@
1
+ @use "style/token" as *;
2
+
3
+ .unlisted {
4
+ position: relative;
5
+ display: flex;
6
+ flex-wrap: wrap;
7
+ align-items: center;
8
+ justify-content: space-between;
9
+ gap: 24px 40px;
10
+ padding: clamp(40px, 6vw, 72px) var(--padding);
11
+ border-top: 1px solid var(--line);
12
+ background: radial-gradient(60% 120% at 50% 100%, tint(5%), transparent 70%);
13
+ }
14
+ .copy {
15
+ display: grid;
16
+ gap: 10px;
17
+ max-width: 60ch;
18
+ h3 {
19
+ font-size: clamp(1.5rem, 3vw, 2.2rem);
20
+ font-weight: 600;
21
+ letter-spacing: -0.04em;
22
+ text-wrap: balance;
23
+ }
24
+ p {
25
+ color: var(--foreground-2);
26
+ text-wrap: pretty;
27
+ }
28
+ }
@@ -0,0 +1,5 @@
1
+ import type { Locale } from "@sharadox/sharadox-web-library/content/locale/type";
2
+ export interface ServiceUnlistedProperties {
3
+ locale: Locale;
4
+ }
5
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../source/component/service-unlisted/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AAEjF,MAAM,WAAW,yBAAyB;IACxC,MAAM,EAAE,MAAM,CAAC;CAChB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.js","sourceRoot":"","sources":["../../../source/component/service-unlisted/type.ts"],"names":[],"mappings":""}
@@ -1,7 +1,8 @@
1
1
  import type { ServicesProperties } from "@sharadox/sharadox-web-library/component/services/type";
2
2
  /**
3
- * "Services": the four groups (Web Applications, Mobile Applications, Creative, Marketing), each a numbered heading
4
- * over a grid of cards with a 3D object and a button that starts that project.
3
+ * "Services": the four groups (Web Applications, Desktop and Mobile Applications, Creative Services, Marketing
4
+ * Campaigns), each a numbered heading over a grid of cards with a 3D object and a button that starts that project, then
5
+ * an invitation for ideas none of them name.
5
6
  */
6
7
  export declare function Services({ locale }: ServicesProperties): import("react").JSX.Element;
7
8
  //# sourceMappingURL=index.d.ts.map