@sharadox/sharadox-web-library 0.19.0 → 0.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/distribution/component/capability/index.d.ts +1 -1
- package/distribution/component/capability/index.d.ts.map +1 -1
- package/distribution/component/capability/index.js +1 -1
- package/distribution/component/capability/index.js.map +1 -1
- package/distribution/component/capability/index.module.css +1 -1
- package/distribution/component/capability/index.module.scss +1 -1
- package/distribution/component/contact/form/chip/index.d.ts +4 -0
- package/distribution/component/contact/form/chip/index.d.ts.map +1 -0
- package/distribution/component/contact/form/chip/index.js +7 -0
- package/distribution/component/contact/form/chip/index.js.map +1 -0
- package/distribution/component/contact/form/chip/index.module.css +1 -0
- package/distribution/component/contact/form/chip/index.module.scss +59 -0
- package/distribution/component/contact/form/chip/type.d.ts +7 -0
- package/distribution/component/contact/form/chip/type.d.ts.map +1 -0
- package/distribution/component/contact/form/chip/type.js.map +1 -0
- package/distribution/component/contact/form/index.d.ts.map +1 -1
- package/distribution/component/contact/form/index.js +2 -1
- 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 +17 -60
- package/distribution/component/footer/index.d.ts +2 -3
- package/distribution/component/footer/index.d.ts.map +1 -1
- package/distribution/component/footer/index.js +4 -4
- package/distribution/component/footer/index.js.map +1 -1
- package/distribution/component/footer/index.module.css +1 -1
- package/distribution/component/footer/index.module.scss +66 -65
- package/distribution/component/process/index.d.ts.map +1 -1
- package/distribution/component/process/index.js +3 -2
- package/distribution/component/process/index.js.map +1 -1
- package/distribution/component/process/index.module.css +1 -1
- package/distribution/component/process/index.module.scss +4 -2
- package/distribution/component/service-card/index.d.ts +10 -0
- package/distribution/component/service-card/index.d.ts.map +1 -0
- package/distribution/component/service-card/index.js +23 -0
- package/distribution/component/service-card/index.js.map +1 -0
- package/distribution/component/service-card/index.module.css +1 -0
- package/distribution/component/service-card/index.module.scss +59 -0
- package/distribution/component/service-card/type.d.ts +8 -0
- package/distribution/component/service-card/type.d.ts.map +1 -0
- package/distribution/component/service-card/type.js.map +1 -0
- package/distribution/component/service-index/index.d.ts +1 -1
- package/distribution/component/service-index/index.d.ts.map +1 -1
- package/distribution/component/service-index/index.js +3 -2
- package/distribution/component/service-index/index.js.map +1 -1
- package/distribution/component/service-index/index.module.css +1 -1
- package/distribution/component/service-index/index.module.scss +4 -5
- 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/brand-awareness/index.d.ts +3 -0
- package/distribution/component/service-object/brand-awareness/index.d.ts.map +1 -0
- package/distribution/component/service-object/brand-awareness/index.js +8 -0
- package/distribution/component/service-object/brand-awareness/index.js.map +1 -0
- package/distribution/component/service-object/brand-awareness/index.module.css +1 -0
- package/distribution/component/service-object/brand-awareness/index.module.scss +89 -0
- package/distribution/component/service-object/branding/index.d.ts +3 -0
- package/distribution/component/service-object/branding/index.d.ts.map +1 -0
- package/distribution/component/service-object/branding/index.js +7 -0
- package/distribution/component/service-object/branding/index.js.map +1 -0
- package/distribution/component/service-object/branding/index.module.css +1 -0
- package/distribution/component/service-object/branding/index.module.scss +63 -0
- package/distribution/component/service-object/branding-design/index.d.ts +3 -0
- package/distribution/component/service-object/branding-design/index.d.ts.map +1 -0
- package/distribution/component/service-object/branding-design/index.js +7 -0
- package/distribution/component/service-object/branding-design/index.js.map +1 -0
- package/distribution/component/service-object/branding-design/index.module.css +1 -0
- package/distribution/component/service-object/branding-design/index.module.scss +61 -0
- package/distribution/component/service-object/cuboid/index.d.ts +11 -0
- package/distribution/component/service-object/cuboid/index.d.ts.map +1 -0
- package/distribution/component/service-object/cuboid/index.js +15 -0
- package/distribution/component/service-object/cuboid/index.js.map +1 -0
- package/distribution/component/service-object/cuboid/index.module.css +1 -0
- package/distribution/component/service-object/cuboid/index.module.scss +61 -0
- package/distribution/component/service-object/cuboid/type.d.ts +10 -0
- package/distribution/component/service-object/cuboid/type.d.ts.map +1 -0
- package/distribution/component/service-object/cuboid/type.js.map +1 -0
- package/distribution/component/service-object/e-commerce/index.d.ts +3 -0
- package/distribution/component/service-object/e-commerce/index.d.ts.map +1 -0
- package/distribution/component/service-object/e-commerce/index.js +8 -0
- package/distribution/component/service-object/e-commerce/index.js.map +1 -0
- package/distribution/component/service-object/e-commerce/index.module.css +1 -0
- package/distribution/component/service-object/e-commerce/index.module.scss +78 -0
- package/distribution/component/service-object/index.d.ts +10 -0
- package/distribution/component/service-object/index.d.ts.map +1 -0
- package/distribution/component/service-object/index.js +45 -0
- package/distribution/component/service-object/index.js.map +1 -0
- package/distribution/component/service-object/index.module.css +1 -0
- package/distribution/component/service-object/index.module.scss +16 -0
- 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/lead-generation/index.d.ts +3 -0
- package/distribution/component/service-object/lead-generation/index.d.ts.map +1 -0
- package/distribution/component/service-object/lead-generation/index.js +7 -0
- package/distribution/component/service-object/lead-generation/index.js.map +1 -0
- package/distribution/component/service-object/lead-generation/index.module.css +1 -0
- package/distribution/component/service-object/lead-generation/index.module.scss +82 -0
- package/distribution/component/service-object/platform/index.d.ts +3 -0
- package/distribution/component/service-object/platform/index.d.ts.map +1 -0
- package/distribution/component/service-object/platform/index.js +8 -0
- package/distribution/component/service-object/platform/index.js.map +1 -0
- package/distribution/component/service-object/platform/index.module.css +1 -0
- package/distribution/component/service-object/platform/index.module.scss +54 -0
- package/distribution/component/service-object/product-launch/index.d.ts +3 -0
- package/distribution/component/service-object/product-launch/index.d.ts.map +1 -0
- package/distribution/component/service-object/product-launch/index.js +8 -0
- package/distribution/component/service-object/product-launch/index.js.map +1 -0
- package/distribution/component/service-object/product-launch/index.module.css +1 -0
- package/distribution/component/service-object/product-launch/index.module.scss +110 -0
- package/distribution/component/service-object/progressive-web-application/index.d.ts +3 -0
- package/distribution/component/service-object/progressive-web-application/index.d.ts.map +1 -0
- package/distribution/component/service-object/progressive-web-application/index.js +8 -0
- package/distribution/component/service-object/progressive-web-application/index.js.map +1 -0
- package/distribution/component/service-object/progressive-web-application/index.module.css +1 -0
- package/distribution/component/service-object/progressive-web-application/index.module.scss +91 -0
- package/distribution/component/service-object/rebranding/index.d.ts +3 -0
- package/distribution/component/service-object/rebranding/index.d.ts.map +1 -0
- package/distribution/component/service-object/rebranding/index.js +8 -0
- package/distribution/component/service-object/rebranding/index.js.map +1 -0
- package/distribution/component/service-object/rebranding/index.module.css +1 -0
- package/distribution/component/service-object/rebranding/index.module.scss +76 -0
- package/distribution/component/service-object/sales-generation/index.d.ts +3 -0
- package/distribution/component/service-object/sales-generation/index.d.ts.map +1 -0
- package/distribution/component/service-object/sales-generation/index.js +8 -0
- package/distribution/component/service-object/sales-generation/index.js.map +1 -0
- package/distribution/component/service-object/sales-generation/index.module.css +1 -0
- package/distribution/component/service-object/sales-generation/index.module.scss +65 -0
- package/distribution/component/service-object/social-media-strategy/index.d.ts +3 -0
- package/distribution/component/service-object/social-media-strategy/index.d.ts.map +1 -0
- package/distribution/component/service-object/social-media-strategy/index.js +7 -0
- package/distribution/component/service-object/social-media-strategy/index.js.map +1 -0
- package/distribution/component/service-object/social-media-strategy/index.module.css +1 -0
- package/distribution/component/service-object/social-media-strategy/index.module.scss +77 -0
- package/distribution/component/service-object/type.d.ts +6 -0
- package/distribution/component/service-object/type.d.ts.map +1 -0
- package/distribution/component/service-object/type.js.map +1 -0
- package/distribution/component/service-object/website/index.d.ts +3 -0
- package/distribution/component/service-object/website/index.d.ts.map +1 -0
- package/distribution/component/service-object/website/index.js +7 -0
- package/distribution/component/service-object/website/index.js.map +1 -0
- package/distribution/component/service-object/website/index.module.css +1 -0
- package/distribution/component/service-object/website/index.module.scss +73 -0
- package/distribution/component/services/index.d.ts +4 -1
- package/distribution/component/services/index.d.ts.map +1 -1
- package/distribution/component/services/index.js +6 -17
- 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 +49 -43
- package/distribution/component/structured-data/index.d.ts +1 -1
- package/distribution/component/structured-data/index.d.ts.map +1 -1
- package/distribution/component/structured-data/index.js +13 -10
- package/distribution/component/structured-data/index.js.map +1 -1
- package/distribution/content/contact/index.d.ts +85 -29
- package/distribution/content/contact/index.d.ts.map +1 -1
- package/distribution/content/contact/index.js +10 -7
- package/distribution/content/contact/index.js.map +1 -1
- package/distribution/content/hero/index.d.ts +1 -1
- package/distribution/content/hero/index.js +1 -1
- package/distribution/content/hero/index.js.map +1 -1
- package/distribution/content/services/index.d.ts +286 -132
- package/distribution/content/services/index.d.ts.map +1 -1
- package/distribution/content/services/index.js +172 -105
- 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 +12 -8
- package/distribution/content/site/index.js.map +1 -1
- package/distribution/style/object/index.scss +28 -0
- package/distribution/utility/llms-text/index.js +1 -1
- package/distribution/utility/llms-text/index.js.map +1 -1
- package/llms.txt +4 -2
- package/package.json +1 -1
- package/distribution/component/service-action/index.d.ts +0 -10
- package/distribution/component/service-action/index.d.ts.map +0 -1
- package/distribution/component/service-action/index.js +0 -18
- package/distribution/component/service-action/index.js.map +0 -1
- package/distribution/component/service-action/index.module.css +0 -1
- package/distribution/component/service-action/index.module.scss +0 -6
- package/distribution/component/service-action/type.d.ts +0 -7
- package/distribution/component/service-action/type.d.ts.map +0 -1
- package/distribution/component/service-action/type.js.map +0 -1
- package/distribution/component/services/campaign-visual/index.d.ts +0 -4
- package/distribution/component/services/campaign-visual/index.d.ts.map +0 -1
- package/distribution/component/services/campaign-visual/index.js +0 -19
- package/distribution/component/services/campaign-visual/index.js.map +0 -1
- package/distribution/component/services/campaign-visual/index.module.css +0 -1
- package/distribution/component/services/campaign-visual/index.module.scss +0 -125
- package/distribution/component/services/campaign-visual/stage/index.d.ts +0 -4
- package/distribution/component/services/campaign-visual/stage/index.d.ts.map +0 -1
- package/distribution/component/services/campaign-visual/stage/index.js +0 -11
- package/distribution/component/services/campaign-visual/stage/index.js.map +0 -1
- package/distribution/component/services/campaign-visual/stage/type.d.ts +0 -10
- package/distribution/component/services/campaign-visual/stage/type.d.ts.map +0 -1
- package/distribution/component/services/campaign-visual/stage/type.js.map +0 -1
- package/distribution/component/services/campaign-visual/type.d.ts +0 -5
- package/distribution/component/services/campaign-visual/type.d.ts.map +0 -1
- package/distribution/component/services/campaign-visual/type.js.map +0 -1
- package/distribution/component/services/cell/index.d.ts +0 -7
- package/distribution/component/services/cell/index.d.ts.map +0 -1
- package/distribution/component/services/cell/index.js +0 -16
- package/distribution/component/services/cell/index.js.map +0 -1
- package/distribution/component/services/cell/index.module.css +0 -1
- package/distribution/component/services/cell/index.module.scss +0 -81
- package/distribution/component/services/cell/type.d.ts +0 -16
- package/distribution/component/services/cell/type.d.ts.map +0 -1
- package/distribution/component/services/cell/type.js.map +0 -1
- package/distribution/component/services/design-visual/index.d.ts +0 -5
- package/distribution/component/services/design-visual/index.d.ts.map +0 -1
- package/distribution/component/services/design-visual/index.js +0 -21
- package/distribution/component/services/design-visual/index.js.map +0 -1
- package/distribution/component/services/design-visual/index.module.css +0 -1
- package/distribution/component/services/design-visual/index.module.scss +0 -119
- package/distribution/component/services/mobile-visual/index.d.ts +0 -4
- package/distribution/component/services/mobile-visual/index.d.ts.map +0 -1
- package/distribution/component/services/mobile-visual/index.js +0 -18
- package/distribution/component/services/mobile-visual/index.js.map +0 -1
- package/distribution/component/services/mobile-visual/index.module.css +0 -1
- package/distribution/component/services/mobile-visual/index.module.scss +0 -93
- package/distribution/component/services/mobile-visual/type.d.ts +0 -5
- package/distribution/component/services/mobile-visual/type.d.ts.map +0 -1
- package/distribution/component/services/mobile-visual/type.js +0 -2
- package/distribution/component/services/mobile-visual/type.js.map +0 -1
- package/distribution/component/services/platform-visual/index.d.ts +0 -3
- package/distribution/component/services/platform-visual/index.d.ts.map +0 -1
- package/distribution/component/services/platform-visual/index.js +0 -16
- package/distribution/component/services/platform-visual/index.js.map +0 -1
- package/distribution/component/services/platform-visual/index.module.css +0 -1
- package/distribution/component/services/platform-visual/index.module.scss +0 -39
- package/distribution/component/services/social-visual/index.d.ts +0 -4
- package/distribution/component/services/social-visual/index.d.ts.map +0 -1
- package/distribution/component/services/social-visual/index.js +0 -18
- package/distribution/component/services/social-visual/index.js.map +0 -1
- package/distribution/component/services/social-visual/index.module.css +0 -1
- package/distribution/component/services/social-visual/index.module.scss +0 -123
- package/distribution/component/services/social-visual/type.d.ts +0 -5
- package/distribution/component/services/social-visual/type.d.ts.map +0 -1
- package/distribution/component/services/social-visual/type.js +0 -2
- package/distribution/component/services/social-visual/type.js.map +0 -1
- package/distribution/component/services/web-visual/index.d.ts +0 -3
- package/distribution/component/services/web-visual/index.d.ts.map +0 -1
- package/distribution/component/services/web-visual/index.js +0 -26
- package/distribution/component/services/web-visual/index.js.map +0 -1
- package/distribution/component/services/web-visual/index.module.css +0 -1
- package/distribution/component/services/web-visual/index.module.scss +0 -133
- package/distribution/content/services/type.d.ts +0 -8
- package/distribution/content/services/type.d.ts.map +0 -1
- package/distribution/content/services/type.js +0 -2
- package/distribution/content/services/type.js.map +0 -1
- /package/distribution/component/{service-action → contact/form/chip}/type.js +0 -0
- /package/distribution/component/{services/campaign-visual/stage → service-card}/type.js +0 -0
- /package/distribution/component/{services/campaign-visual → service-object/cuboid}/type.js +0 -0
- /package/distribution/component/{services/cell → service-object}/type.js +0 -0
|
@@ -39,9 +39,11 @@
|
|
|
39
39
|
}
|
|
40
40
|
a {
|
|
41
41
|
width: fit-content;
|
|
42
|
+
}
|
|
43
|
+
a:not(.start) {
|
|
42
44
|
transition: color 0.2s;
|
|
43
45
|
}
|
|
44
|
-
a:hover {
|
|
46
|
+
a:not(.start):hover {
|
|
45
47
|
color: var(--foreground);
|
|
46
48
|
}
|
|
47
49
|
@include below(900px) {
|
|
@@ -92,44 +94,15 @@
|
|
|
92
94
|
.settings h2:not(:first-child) {
|
|
93
95
|
margin-top: 18px;
|
|
94
96
|
}
|
|
95
|
-
.mark {
|
|
96
|
-
padding: 40px 0 10px;
|
|
97
|
-
font-size: clamp(4rem, 17vw, 15rem);
|
|
98
|
-
font-weight: 600;
|
|
99
|
-
letter-spacing: -0.075em;
|
|
100
|
-
line-height: 0.8;
|
|
101
|
-
text-align: center;
|
|
102
|
-
background: linear-gradient(180deg, var(--foreground) 0%, transparent 85%);
|
|
103
|
-
-webkit-background-clip: text;
|
|
104
|
-
background-clip: text;
|
|
105
|
-
color: transparent;
|
|
106
|
-
user-select: none;
|
|
107
|
-
overflow: hidden;
|
|
108
|
-
}
|
|
109
97
|
.start {
|
|
110
|
-
|
|
111
|
-
align-items: center;
|
|
112
|
-
gap: 6px;
|
|
113
|
-
margin-top: 8px;
|
|
114
|
-
color: var(--foreground);
|
|
115
|
-
font-weight: 500;
|
|
116
|
-
svg {
|
|
117
|
-
transition: transform 0.4s $ease;
|
|
118
|
-
}
|
|
119
|
-
&:hover svg {
|
|
120
|
-
transform: translateX(3px);
|
|
121
|
-
}
|
|
98
|
+
margin-top: 10px;
|
|
122
99
|
}
|
|
123
|
-
/*
|
|
124
|
-
.
|
|
100
|
+
/* Everything legal in one section, ruled like the columns above: the title and copyright under the brand, the links
|
|
101
|
+
and the dispute notice across the rest, the way back up at the end. */
|
|
102
|
+
.legal {
|
|
125
103
|
position: relative;
|
|
126
|
-
display:
|
|
127
|
-
|
|
128
|
-
align-items: center;
|
|
129
|
-
justify-content: space-between;
|
|
130
|
-
gap: 14px 24px;
|
|
131
|
-
padding: 18px var(--padding);
|
|
132
|
-
border-top: 1px solid var(--line);
|
|
104
|
+
display: grid;
|
|
105
|
+
grid-template-columns: 1.6fr 2.4fr auto;
|
|
133
106
|
font-size: 13px;
|
|
134
107
|
color: var(--foreground-2);
|
|
135
108
|
&::after {
|
|
@@ -141,9 +114,48 @@
|
|
|
141
114
|
height: 1px;
|
|
142
115
|
@include dashed(horizontal);
|
|
143
116
|
}
|
|
117
|
+
h2 {
|
|
118
|
+
font-size: 11.5px;
|
|
119
|
+
font-weight: 400;
|
|
120
|
+
letter-spacing: 0.05em;
|
|
121
|
+
text-transform: uppercase;
|
|
122
|
+
color: var(--foreground-3);
|
|
123
|
+
}
|
|
124
|
+
@include below(900px) {
|
|
125
|
+
grid-template-columns: 1fr auto;
|
|
126
|
+
.legalEnd {
|
|
127
|
+
grid-column: 1 / -1;
|
|
128
|
+
grid-row: 2;
|
|
129
|
+
border-top: 1px dashed var(--line-2);
|
|
130
|
+
}
|
|
131
|
+
.legalStart::after {
|
|
132
|
+
display: none;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
.legalStart,
|
|
137
|
+
.legalEnd {
|
|
138
|
+
position: relative;
|
|
139
|
+
display: grid;
|
|
140
|
+
align-content: start;
|
|
141
|
+
gap: 12px;
|
|
142
|
+
padding: 30px var(--padding) 34px;
|
|
143
|
+
}
|
|
144
|
+
.legalStart::after {
|
|
145
|
+
content: "";
|
|
146
|
+
position: absolute;
|
|
147
|
+
top: 0;
|
|
148
|
+
bottom: 0;
|
|
149
|
+
right: 0;
|
|
150
|
+
width: 1px;
|
|
151
|
+
@include dashed(vertical);
|
|
152
|
+
}
|
|
153
|
+
.copyright {
|
|
154
|
+
font-size: 12px;
|
|
155
|
+
color: var(--foreground-3);
|
|
144
156
|
}
|
|
145
157
|
/* The legal links, a small dot between each; on phones, two to a row without dots. */
|
|
146
|
-
.
|
|
158
|
+
.links {
|
|
147
159
|
display: flex;
|
|
148
160
|
flex-wrap: wrap;
|
|
149
161
|
align-items: center;
|
|
@@ -155,7 +167,7 @@
|
|
|
155
167
|
border: 0;
|
|
156
168
|
background: none;
|
|
157
169
|
font: inherit;
|
|
158
|
-
color:
|
|
170
|
+
color: var(--foreground-2);
|
|
159
171
|
text-align: left;
|
|
160
172
|
justify-self: start;
|
|
161
173
|
transition: color 0.2s;
|
|
@@ -179,17 +191,31 @@
|
|
|
179
191
|
@include below(640px) {
|
|
180
192
|
display: grid;
|
|
181
193
|
grid-template-columns: 1fr 1fr;
|
|
182
|
-
width: 100%;
|
|
183
194
|
gap: 12px 18px;
|
|
184
|
-
text-align: left;
|
|
185
195
|
> * + *::before {
|
|
186
196
|
display: none;
|
|
187
197
|
}
|
|
188
198
|
}
|
|
189
199
|
}
|
|
200
|
+
.disputes {
|
|
201
|
+
max-width: 72ch;
|
|
202
|
+
font-size: 12px;
|
|
203
|
+
line-height: 1.6;
|
|
204
|
+
color: var(--foreground-3);
|
|
205
|
+
text-wrap: pretty;
|
|
206
|
+
a {
|
|
207
|
+
color: var(--foreground-2);
|
|
208
|
+
transition: color 0.2s;
|
|
209
|
+
}
|
|
210
|
+
a:hover {
|
|
211
|
+
color: var(--foreground);
|
|
212
|
+
}
|
|
213
|
+
}
|
|
190
214
|
.top {
|
|
191
215
|
display: inline-flex;
|
|
192
216
|
align-items: center;
|
|
217
|
+
align-self: start;
|
|
218
|
+
padding: 26px var(--padding) 0 0;
|
|
193
219
|
gap: 10px;
|
|
194
220
|
color: var(--foreground-2);
|
|
195
221
|
transition: color 0.2s;
|
|
@@ -212,28 +238,3 @@
|
|
|
212
238
|
border-color 0.3s,
|
|
213
239
|
transform 0.4s $ease;
|
|
214
240
|
}
|
|
215
|
-
/* The fine print: copyright on the left, the consumer dispute notice on the right. */
|
|
216
|
-
.fine {
|
|
217
|
-
display: grid;
|
|
218
|
-
grid-template-columns: auto minmax(0, 52ch);
|
|
219
|
-
justify-content: space-between;
|
|
220
|
-
align-items: start;
|
|
221
|
-
gap: 14px 40px;
|
|
222
|
-
padding: 20px var(--padding) 30px;
|
|
223
|
-
font-size: 12px;
|
|
224
|
-
line-height: 1.6;
|
|
225
|
-
color: var(--foreground-3);
|
|
226
|
-
@include below(760px) {
|
|
227
|
-
grid-template-columns: 1fr;
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
.disputes {
|
|
231
|
-
text-wrap: pretty;
|
|
232
|
-
a {
|
|
233
|
-
color: var(--foreground-2);
|
|
234
|
-
transition: color 0.2s;
|
|
235
|
-
}
|
|
236
|
-
a:hover {
|
|
237
|
-
color: var(--foreground);
|
|
238
|
-
}
|
|
239
|
-
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/process/index.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uDAAuD,CAAC;AAE/F,gFAAgF;AAChF,wBAAgB,OAAO,CAAC,EAAE,MAAM,EAAE,EAAE,iBAAiB,+
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/process/index.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uDAAuD,CAAC;AAE/F,gFAAgF;AAChF,wBAAgB,OAAO,CAAC,EAAE,MAAM,EAAE,EAAE,iBAAiB,+BA2BpD"}
|
|
@@ -13,8 +13,9 @@ import { Step } from "@sharadox/sharadox-web-library/component/process/step";
|
|
|
13
13
|
export function Process({ locale }) {
|
|
14
14
|
const container = useRef(null);
|
|
15
15
|
const { scrollYProgress } = useScroll({ target: container, offset: ["start 75%", "end 55%"] });
|
|
16
|
-
|
|
16
|
+
// How much of the line is drawn: across on wide screens, down on phones (see the styles).
|
|
17
|
+
const drawn = useTransform(scrollYProgress, [0, 1], ["0%", "100%"]);
|
|
17
18
|
const steps = PROCESS.steps;
|
|
18
|
-
return (_jsxs(Section, { id: SECTION.process.id, children: [_jsx(SectionHeading, { eyebrow: translate(PROCESS.eyebrow, locale), title: translate(PROCESS.title, locale) }), _jsxs("div", { ref: container, className: styles.process, children: [_jsx("div", { className: styles.line, "aria-hidden": true, children: _jsx(motion.span, { style: {
|
|
19
|
+
return (_jsxs(Section, { id: SECTION.process.id, children: [_jsx(SectionHeading, { eyebrow: translate(PROCESS.eyebrow, locale), title: translate(PROCESS.title, locale) }), _jsxs("div", { ref: container, className: styles.process, children: [_jsx("div", { className: styles.line, "aria-hidden": true, children: _jsx(motion.span, { style: { "--drawn": drawn } }) }), steps.map((step, index) => (_jsx(Step, { index: index, count: steps.length, progress: scrollYProgress, number: step.number, title: translate(step.title, locale), text: translate(step.text, locale) }, step.number)))] })] }));
|
|
19
20
|
}
|
|
20
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/process/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/process/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAsB,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAC1F,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,MAAM,MAAM,qBAAqB,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,uDAAuD,CAAC;AAG7E,gFAAgF;AAChF,MAAM,UAAU,OAAO,CAAC,EAAE,MAAM,EAAqB;IACnD,MAAM,SAAS,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;IAC/C,MAAM,EAAE,eAAe,EAAE,GAAG,SAAS,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC,WAAW,EAAE,SAAS,CAAC,EAAE,CAAC,CAAC;IAC/F,0FAA0F;IAC1F,MAAM,KAAK,GAAG,YAAY,CAAC,eAAe,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC;IACpE,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC;IAC5B,OAAO,CACL,MAAC,OAAO,IAAC,EAAE,EAAE,OAAO,CAAC,OAAO,CAAC,EAAE,aAC7B,KAAC,cAAc,IAAC,OAAO,EAAE,SAAS,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,GAAI,EACxG,eAAK,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,CAAC,OAAO,aAC5C,cAAK,SAAS,EAAE,MAAM,CAAC,IAAI,iCACzB,KAAC,MAAM,CAAC,IAAI,IAAC,KAAK,EAAE,EAAE,SAAS,EAAE,KAAK,EAAmB,GAAI,GACzD,EACL,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAC1B,KAAC,IAAI,IAEH,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,KAAK,CAAC,MAAM,EACnB,QAAQ,EAAE,eAAe,EACzB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,KAAK,EAAE,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,EACpC,IAAI,EAAE,SAAS,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,IAN7B,IAAI,CAAC,MAAM,CAOhB,CACH,CAAC,IACE,IACE,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.process{position:relative;display:grid;grid-template-columns:repeat(4, 1fr);gap:24px;padding-top:34px}@media(max-width: 860px){.process{grid-template-columns:1fr;gap:44px;padding:0 0 0 30px}}.line{position:absolute;left:0;right:0;top:6px;height:1px;background:linear-gradient(90deg, var(--line-2) 50%, transparent 0) 0 0/8px 1px repeat-x}.line span{display:block;height:100%;background:linear-gradient(90deg, color-mix(in srgb, var(--foreground) 20%, transparent), var(--foreground));box-shadow:0 0 12px color-mix(in srgb, var(--foreground) 60%, transparent)}@media(max-width: 860px){.line{left:5px;right:auto;top:0;bottom:0;width:1px;height:auto}.line span{width:100%
|
|
1
|
+
.process{position:relative;display:grid;grid-template-columns:repeat(4, 1fr);gap:24px;padding-top:34px}@media(max-width: 860px){.process{grid-template-columns:1fr;gap:44px;padding:0 0 0 30px}}.line{position:absolute;left:0;right:0;top:6px;height:1px;background:linear-gradient(90deg, var(--line-2) 50%, transparent 0) 0 0/8px 1px repeat-x}.line span{display:block;width:var(--drawn, 0%);height:100%;background:linear-gradient(90deg, color-mix(in srgb, var(--foreground) 20%, transparent), var(--foreground));box-shadow:0 0 12px color-mix(in srgb, var(--foreground) 60%, transparent)}@media(max-width: 860px){.line{left:5px;right:auto;top:0;bottom:0;width:1px;height:auto}.line span{width:100%;height:var(--drawn, 0%);background:linear-gradient(180deg, color-mix(in srgb, var(--foreground) 20%, transparent), var(--foreground))}}
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
@include dashed(horizontal);
|
|
22
22
|
span {
|
|
23
23
|
display: block;
|
|
24
|
+
width: var(--drawn, 0%);
|
|
24
25
|
height: 100%;
|
|
25
26
|
background: linear-gradient(90deg, tint(20%), var(--foreground));
|
|
26
27
|
box-shadow: 0 0 12px tint(60%);
|
|
@@ -33,8 +34,9 @@
|
|
|
33
34
|
width: 1px;
|
|
34
35
|
height: auto;
|
|
35
36
|
span {
|
|
36
|
-
width: 100
|
|
37
|
-
height:
|
|
37
|
+
width: 100%;
|
|
38
|
+
height: var(--drawn, 0%);
|
|
39
|
+
background: linear-gradient(180deg, tint(20%), var(--foreground));
|
|
38
40
|
}
|
|
39
41
|
}
|
|
40
42
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ServiceCardProperties } from "@sharadox/sharadox-web-library/component/service-card/type";
|
|
2
|
+
/**
|
|
3
|
+
* One service: its 3D object (which turns towards the pointer anywhere on the card), name, description, and a button
|
|
4
|
+
* that scrolls to the contact form with this service ticked. A soft light follows the pointer.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* <ServiceCard locale="en" card={SERVICES.items[0].cards[0]} />
|
|
8
|
+
*/
|
|
9
|
+
export declare function ServiceCard({ locale, card }: ServiceCardProperties): 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-card/index.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AAExG;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,qBAAqB,+BAyBlE"}
|
|
@@ -0,0 +1,23 @@
|
|
|
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 { useSpotlight } from "@sharadox/pointer-web-library/spotlight";
|
|
5
|
+
import { useTilt } from "@sharadox/pointer-web-library/tilt";
|
|
6
|
+
import { Button } from "@sharadox/sharadox-web-library/component/button";
|
|
7
|
+
import { ServiceObject } from "@sharadox/sharadox-web-library/component/service-object";
|
|
8
|
+
import { SECTION } from "@sharadox/sharadox-web-library/content/section";
|
|
9
|
+
import { requestContactNeeds } from "@sharadox/sharadox-web-library/utility/contact-need";
|
|
10
|
+
import styles from "./index.module.css";
|
|
11
|
+
/**
|
|
12
|
+
* One service: its 3D object (which turns towards the pointer anywhere on the card), name, description, and a button
|
|
13
|
+
* that scrolls to the contact form with this service ticked. A soft light follows the pointer.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* <ServiceCard locale="en" card={SERVICES.items[0].cards[0]} />
|
|
17
|
+
*/
|
|
18
|
+
export function ServiceCard({ locale, card }) {
|
|
19
|
+
const spotlight = useSpotlight();
|
|
20
|
+
const tilt = useTilt(16);
|
|
21
|
+
return (_jsx("article", { ref: spotlight, className: styles.card, children: _jsxs("div", { ref: tilt, className: styles.inner, children: [_jsx("div", { className: styles.visual, children: _jsx(ServiceObject, { kind: card.key }) }), _jsxs("div", { className: styles.copy, children: [_jsx("h4", { children: translate(card.title, locale) }), _jsx("p", { children: translate(card.text, locale) }), _jsx(Button, { href: `#${SECTION.contact.id}`, size: "small", arrow: true, className: styles.action, onClick: () => requestContactNeeds([card.key]), children: translate(card.action, locale) })] })] }) }));
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/service-card/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAE,MAAM,iDAAiD,CAAC;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,yDAAyD,CAAC;AACxF,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC;AAC1F,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC;;;;;;GAMG;AACH,MAAM,UAAU,WAAW,CAAC,EAAE,MAAM,EAAE,IAAI,EAAyB;IACjE,MAAM,SAAS,GAAG,YAAY,EAAe,CAAC;IAC9C,MAAM,IAAI,GAAG,OAAO,CAAiB,EAAE,CAAC,CAAC;IACzC,OAAO,CACL,kBAAS,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,CAAC,IAAI,YAC7C,eAAK,GAAG,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,CAAC,KAAK,aACrC,cAAK,SAAS,EAAE,MAAM,CAAC,MAAM,YAC3B,KAAC,aAAa,IAAC,IAAI,EAAE,IAAI,CAAC,GAAG,GAAI,GAC7B,EACN,eAAK,SAAS,EAAE,MAAM,CAAC,IAAI,aACzB,uBAAK,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,GAAM,EACxC,sBAAI,SAAS,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,GAAK,EACrC,KAAC,MAAM,IACL,IAAI,EAAE,IAAI,OAAO,CAAC,OAAO,CAAC,EAAE,EAAE,EAC9B,IAAI,EAAC,OAAO,EACZ,KAAK,QACL,SAAS,EAAE,MAAM,CAAC,MAAM,EACxB,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,YAE7C,SAAS,CAAC,IAAI,CAAC,MAAM,EAAE,MAAM,CAAC,GACxB,IACL,IACF,GACE,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.card{--pointer-x: -500px;--pointer-y: -500px;position:relative;height:100%;background:var(--background);isolation:isolate}.card::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(420px circle at var(--pointer-x) var(--pointer-y), color-mix(in srgb, var(--foreground) 7%, transparent), transparent 60%)}.inner{--tilt-x: 0deg;--tilt-y: 0deg;display:flex;flex-direction:column;height:100%}.visual{position:relative;height:270px;border-bottom:1px dashed var(--line-2);background:radial-gradient(90% 80% at 50% 45%, color-mix(in srgb, var(--foreground) 6%, transparent), transparent 70%),radial-gradient(circle, var(--line-2) 1px, transparent 1.4px) 0 0/18px 18px}@media(max-width: 640px){.visual{height:250px}}.copy{flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:24px 26px 28px}.copy h4{margin:0;font-size:1.3rem;font-weight:600;letter-spacing:-0.03em}.copy p{margin-bottom:14px;color:var(--foreground-2);max-width:44ch;text-wrap:pretty}.action{margin-top:auto}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
@use "style/token" as *;
|
|
2
|
+
|
|
3
|
+
.card {
|
|
4
|
+
--pointer-x: -500px;
|
|
5
|
+
--pointer-y: -500px;
|
|
6
|
+
position: relative;
|
|
7
|
+
height: 100%;
|
|
8
|
+
background: var(--background);
|
|
9
|
+
isolation: isolate;
|
|
10
|
+
&::before {
|
|
11
|
+
content: "";
|
|
12
|
+
position: absolute;
|
|
13
|
+
inset: 0;
|
|
14
|
+
z-index: -1;
|
|
15
|
+
background: radial-gradient(420px circle at var(--pointer-x) var(--pointer-y), tint(7%), transparent 60%);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
.inner {
|
|
19
|
+
--tilt-x: 0deg;
|
|
20
|
+
--tilt-y: 0deg;
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
height: 100%;
|
|
24
|
+
}
|
|
25
|
+
.visual {
|
|
26
|
+
position: relative;
|
|
27
|
+
height: 270px;
|
|
28
|
+
border-bottom: 1px dashed var(--line-2);
|
|
29
|
+
background:
|
|
30
|
+
radial-gradient(90% 80% at 50% 45%, tint(6%), transparent 70%),
|
|
31
|
+
radial-gradient(circle, var(--line-2) 1px, transparent 1.4px) 0 0 / 18px 18px;
|
|
32
|
+
@include below(640px) {
|
|
33
|
+
height: 250px;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
.copy {
|
|
37
|
+
flex: 1;
|
|
38
|
+
display: flex;
|
|
39
|
+
flex-direction: column;
|
|
40
|
+
align-items: flex-start;
|
|
41
|
+
gap: 10px;
|
|
42
|
+
padding: 24px 26px 28px;
|
|
43
|
+
h4 {
|
|
44
|
+
margin: 0;
|
|
45
|
+
font-size: 1.3rem;
|
|
46
|
+
font-weight: 600;
|
|
47
|
+
letter-spacing: -0.03em;
|
|
48
|
+
}
|
|
49
|
+
p {
|
|
50
|
+
margin-bottom: 14px;
|
|
51
|
+
color: var(--foreground-2);
|
|
52
|
+
max-width: 44ch;
|
|
53
|
+
text-wrap: pretty;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
/* Sits at the bottom, so the buttons of a row line up whatever the text length. */
|
|
57
|
+
.action {
|
|
58
|
+
margin-top: auto;
|
|
59
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Locale } from "@sharadox/sharadox-web-library/content/locale/type";
|
|
2
|
+
import type { SERVICES } from "@sharadox/sharadox-web-library/content/services";
|
|
3
|
+
export interface ServiceCardProperties {
|
|
4
|
+
locale: Locale;
|
|
5
|
+
/** One of the cards in `SERVICES`. */
|
|
6
|
+
card: (typeof SERVICES.items)[number]["cards"][number];
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../source/component/service-card/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AACjF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAEhF,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,sCAAsC;IACtC,IAAI,EAAE,CAAC,OAAO,QAAQ,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC;CACxD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../source/component/service-card/type.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ServiceIndexProperties } from "@sharadox/sharadox-web-library/component/service-index/type";
|
|
2
|
-
/** The
|
|
2
|
+
/** The four service groups in a row of grid cells under the hero, each a shortcut to its section. */
|
|
3
3
|
export declare function ServiceIndex({ locale, base }: ServiceIndexProperties): import("react").JSX.Element;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/service-index/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/service-index/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6DAA6D,CAAC;AAE1G,qGAAqG;AACrG,wBAAgB,YAAY,CAAC,EAAE,MAAM,EAAE,IAAS,EAAE,EAAE,sBAAsB,+BAoBzE"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Icon } from "@sharadox/icon-web-library/icon";
|
|
2
3
|
import { separate } from "@sharadox/sharadox-web-library/utility/separate";
|
|
3
4
|
import { Cross } from "@sharadox/sharadox-web-library/component/cross";
|
|
4
5
|
import { SERVICES } from "@sharadox/sharadox-web-library/content/services";
|
|
5
6
|
import { translate } from "@sharadox/internationalization-web-library/translate";
|
|
6
7
|
import styles from "./index.module.css";
|
|
7
|
-
/** The
|
|
8
|
+
/** The four service groups in a row of grid cells under the hero, each a shortcut to its section. */
|
|
8
9
|
export function ServiceIndex({ locale, base = "" }) {
|
|
9
|
-
return (_jsxs("nav", { className: styles.index, "aria-label": translate(SERVICES.eyebrow, locale), children: [SERVICES.items.map((service, index) => (_jsxs("a", { href: `${base}#${service.key}`, className: styles.cell, style: { animationDelay: `${0.9 + index * 0.08}s` }, children: [_jsx("span", { className: `${styles.number} monospace`, children: service.number }), _jsx("span", { className: styles.title, children: translate(service.title, locale) }), _jsx("span", { className: `${styles.kinds} monospace`, children: separate(...service.kinds[locale]) }), _jsx(
|
|
10
|
+
return (_jsxs("nav", { className: styles.index, "aria-label": translate(SERVICES.eyebrow, locale), children: [SERVICES.items.map((service, index) => (_jsxs("a", { href: `${base}#${service.key}`, className: styles.cell, style: { animationDelay: `${0.9 + index * 0.08}s` }, children: [_jsx("span", { className: `${styles.number} monospace`, children: service.number }), _jsx("span", { className: styles.title, children: translate(service.title, locale) }), _jsx("span", { className: `${styles.kinds} monospace`, children: separate(...service.kinds[locale]) }), _jsx(Icon, { name: "chevron-down", className: styles.arrow, strokeWidth: 1.8 })] }, service.key))), _jsx(Cross, { corner: "bottom-left" }), _jsx(Cross, { corner: "bottom-right" })] }));
|
|
10
11
|
}
|
|
11
12
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/service-index/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAC3E,OAAO,EAAE,KAAK,EAAE,MAAM,gDAAgD,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/service-index/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iCAAiC,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAC3E,OAAO,EAAE,KAAK,EAAE,MAAM,gDAAgD,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,qGAAqG;AACrG,MAAM,UAAU,YAAY,CAAC,EAAE,MAAM,EAAE,IAAI,GAAG,EAAE,EAA0B;IACxE,OAAO,CACL,eAAK,SAAS,EAAE,MAAM,CAAC,KAAK,gBAAc,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC,aAC1E,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,KAAK,EAAE,EAAE,CAAC,CACtC,aAEE,IAAI,EAAE,GAAG,IAAI,IAAI,OAAO,CAAC,GAAG,EAAE,EAC9B,SAAS,EAAE,MAAM,CAAC,IAAI,EACtB,KAAK,EAAE,EAAE,cAAc,EAAE,GAAG,GAAG,GAAG,KAAK,GAAG,IAAI,GAAG,EAAE,aAEnD,eAAM,SAAS,EAAE,GAAG,MAAM,CAAC,MAAM,YAAY,YAAG,OAAO,CAAC,MAAM,GAAQ,EACtE,eAAM,SAAS,EAAE,MAAM,CAAC,KAAK,YAAG,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,GAAQ,EACxE,eAAM,SAAS,EAAE,GAAG,MAAM,CAAC,KAAK,YAAY,YAAG,QAAQ,CAAC,GAAG,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,GAAQ,EACzF,KAAC,IAAI,IAAC,IAAI,EAAC,cAAc,EAAC,SAAS,EAAE,MAAM,CAAC,KAAK,EAAE,WAAW,EAAE,GAAG,GAAI,KARlE,OAAO,CAAC,GAAG,CASd,CACL,CAAC,EACF,KAAC,KAAK,IAAC,MAAM,EAAC,aAAa,GAAG,EAC9B,KAAC,KAAK,IAAC,MAAM,EAAC,cAAc,GAAG,IAC3B,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.index{position:relative;width:min(100% - 2*var(--gutter),var(--maximum-width));margin:0 auto;display:grid;grid-template-columns:repeat(
|
|
1
|
+
.index{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{position:relative;display:grid;align-content:start;gap:6px;padding:22px 22px 24px;overflow:hidden;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){border-right:1px solid var(--line)}.cell::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg, color-mix(in srgb, var(--foreground) 7%, transparent), transparent);opacity:0;transition:opacity .4s}.cell:hover::before{opacity:1}.cell:hover .arrow{opacity:1;transform:none}@media(max-width: 960px){.cell{border-right:0 !important;border-bottom:1px solid var(--line)}.cell:nth-of-type(odd){border-right:1px solid var(--line) !important}.cell:nth-last-of-type(-n + 2){border-bottom:0}}@keyframes rise{from{opacity:0;transform:translateY(10px)}}.number{font-size:11.5px;color:var(--foreground-3)}.title{font-weight:600;letter-spacing:-0.02em;font-size:15.5px}.kinds{font-size:11.5px;color:var(--foreground-2)}.arrow{position:absolute;top:18px;right:18px;width:16px;height:16px;opacity:0;transform:translate(-4px, -4px);transition:opacity .3s,transform .4s cubic-bezier(0.22, 1, 0.36, 1)}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
width: min(100% - 2 * var(--gutter), var(--maximum-width));
|
|
6
6
|
margin: 0 auto;
|
|
7
7
|
display: grid;
|
|
8
|
-
grid-template-columns: repeat(
|
|
8
|
+
grid-template-columns: repeat(4, 1fr);
|
|
9
9
|
border: 1px solid var(--line);
|
|
10
10
|
@include below(960px) {
|
|
11
11
|
grid-template-columns: repeat(2, 1fr);
|
|
@@ -45,10 +45,8 @@
|
|
|
45
45
|
&:nth-of-type(odd) {
|
|
46
46
|
border-right: 1px solid var(--line) !important;
|
|
47
47
|
}
|
|
48
|
-
&:last-of-type {
|
|
49
|
-
grid-column: span 2;
|
|
48
|
+
&:nth-last-of-type(-n + 2) {
|
|
50
49
|
border-bottom: 0;
|
|
51
|
-
border-right: 0 !important;
|
|
52
50
|
}
|
|
53
51
|
}
|
|
54
52
|
}
|
|
@@ -75,7 +73,8 @@
|
|
|
75
73
|
position: absolute;
|
|
76
74
|
top: 18px;
|
|
77
75
|
right: 18px;
|
|
78
|
-
|
|
76
|
+
width: 16px;
|
|
77
|
+
height: 16px;
|
|
79
78
|
opacity: 0;
|
|
80
79
|
transform: translate(-4px, -4px);
|
|
81
80
|
transition:
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/android-application/index.tsx"],"names":[],"mappings":"AAGA,oIAAoI;AACpI,wBAAgB,kBAAkB,gCAuBjC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { Cuboid } from "@sharadox/sharadox-web-library/component/service-object/cuboid";
|
|
3
|
+
import styles from "./index.module.css";
|
|
4
|
+
/** Android applications: a phone turning in the hand, its app tiles rising off the screen in a wave, the three-button bar below. */
|
|
5
|
+
export function AndroidApplication() {
|
|
6
|
+
return (_jsx("div", { className: styles.object, children: _jsx(Cuboid, { className: styles.phone, front: _jsxs(_Fragment, { children: [_jsx("span", { className: styles.camera }), _jsx("span", { className: styles.tiles, children: Array.from({ length: 12 }, (_, tile) => (_jsx("i", { style: { animationDelay: `${(tile % 3) * 0.15 + Math.floor(tile / 3) * 0.2}s` } }, tile))) }), _jsxs("span", { className: styles.buttons, children: [_jsx("i", { className: styles.back }), _jsx("i", { className: styles.home }), _jsx("i", { className: styles.recent })] })] }) }) }));
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/service-object/android-application/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gEAAgE,CAAC;AACxF,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAEzC,oIAAoI;AACpI,MAAM,UAAU,kBAAkB;IAChC,OAAO,CACL,cAAK,SAAS,EAAE,MAAM,CAAC,MAAM,YAC3B,KAAC,MAAM,IACL,SAAS,EAAE,MAAM,CAAC,KAAK,EACvB,KAAK,EACH,8BACE,eAAM,SAAS,EAAE,MAAM,CAAC,MAAM,GAAI,EAClC,eAAM,SAAS,EAAE,MAAM,CAAC,KAAK,YAC1B,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,CAAC,CACvC,YAAc,KAAK,EAAE,EAAE,cAAc,EAAE,GAAG,CAAC,IAAI,GAAG,CAAC,CAAC,GAAG,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,GAAG,CAAC,CAAC,GAAG,GAAG,GAAG,EAAE,IAArF,IAAI,CAAqF,CAClG,CAAC,GACG,EACP,gBAAM,SAAS,EAAE,MAAM,CAAC,OAAO,aAC7B,YAAG,SAAS,EAAE,MAAM,CAAC,IAAI,GAAI,EAC7B,YAAG,SAAS,EAAE,MAAM,CAAC,IAAI,GAAI,EAC7B,YAAG,SAAS,EAAE,MAAM,CAAC,MAAM,GAAI,IAC1B,IACN,GAEL,GACE,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:android-turn 9s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:rotateX(10deg) rotateY(-28deg)}@keyframes android-turn{0%,100%{transform:rotateX(10deg) rotateY(-32deg) rotateZ(-2deg)}50%{transform:rotateX(6deg) rotateY(24deg) rotateZ(2deg)}}.phone{--width: 88px;--height: 172px;--depth: 9px;--radius: 12px;--front-amount: 4%;--edge-amount: 55%}.camera{position:absolute;left:50%;top:8px;width:6px;height:6px;margin-left:-3px;border-radius:50%;background:color-mix(in srgb, var(--foreground) 55%, transparent)}.tiles{position:absolute;inset:24px 11px 30px;display:grid;grid-template-columns:repeat(3, 1fr);gap:8px;transform-style:preserve-3d}.tiles i{aspect-ratio:1;border-radius:6px;border:1px solid color-mix(in srgb, var(--foreground) 45%, transparent);background:color-mix(in srgb, var(--foreground) 14%, transparent);animation:android-rise 2.8s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.tiles i{animation:none}}@keyframes android-rise{0%,45%,100%{transform:translateZ(0);background:color-mix(in srgb, var(--foreground) 14%, transparent)}20%{transform:translateZ(16px);background:color-mix(in srgb, var(--foreground) 40%, transparent)}}.buttons{position:absolute;left:18px;right:18px;bottom:9px;display:flex;align-items:center;justify-content:space-between}.buttons i{width:8px;height:8px;border:1.5px solid color-mix(in srgb, var(--foreground) 55%, transparent)}.back{border:0 !important;width:0 !important;height:0 !important;border-top:4.5px solid rgba(0,0,0,0) !important;border-bottom:4.5px solid rgba(0,0,0,0) !important;border-right:7px solid color-mix(in srgb, var(--foreground) 55%, transparent) !important}.home{border-radius:50%}.recent{border-radius:2px}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
@use "style/token" as *;
|
|
2
|
+
@use "style/object" as *;
|
|
3
|
+
|
|
4
|
+
.object {
|
|
5
|
+
@include centered(0px, 0px);
|
|
6
|
+
@include loop(android-turn 9s ease-in-out infinite);
|
|
7
|
+
transform: rotateX(10deg) rotateY(-28deg);
|
|
8
|
+
}
|
|
9
|
+
@keyframes android-turn {
|
|
10
|
+
0%,
|
|
11
|
+
100% {
|
|
12
|
+
transform: rotateX(10deg) rotateY(-32deg) rotateZ(-2deg);
|
|
13
|
+
}
|
|
14
|
+
50% {
|
|
15
|
+
transform: rotateX(6deg) rotateY(24deg) rotateZ(2deg);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
.phone {
|
|
19
|
+
--width: 88px;
|
|
20
|
+
--height: 172px;
|
|
21
|
+
--depth: 9px;
|
|
22
|
+
--radius: 12px;
|
|
23
|
+
--front-amount: 4%;
|
|
24
|
+
--edge-amount: 55%;
|
|
25
|
+
}
|
|
26
|
+
.camera {
|
|
27
|
+
position: absolute;
|
|
28
|
+
left: 50%;
|
|
29
|
+
top: 8px;
|
|
30
|
+
width: 6px;
|
|
31
|
+
height: 6px;
|
|
32
|
+
margin-left: -3px;
|
|
33
|
+
border-radius: 50%;
|
|
34
|
+
background: tint(55%);
|
|
35
|
+
}
|
|
36
|
+
.tiles {
|
|
37
|
+
position: absolute;
|
|
38
|
+
inset: 24px 11px 30px;
|
|
39
|
+
display: grid;
|
|
40
|
+
grid-template-columns: repeat(3, 1fr);
|
|
41
|
+
gap: 8px;
|
|
42
|
+
transform-style: preserve-3d;
|
|
43
|
+
i {
|
|
44
|
+
aspect-ratio: 1;
|
|
45
|
+
border-radius: 6px;
|
|
46
|
+
border: 1px solid tint(45%);
|
|
47
|
+
background: tint(14%);
|
|
48
|
+
@include loop(android-rise 2.8s $ease infinite);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
@keyframes android-rise {
|
|
52
|
+
0%,
|
|
53
|
+
45%,
|
|
54
|
+
100% {
|
|
55
|
+
transform: translateZ(0);
|
|
56
|
+
background: tint(14%);
|
|
57
|
+
}
|
|
58
|
+
20% {
|
|
59
|
+
transform: translateZ(16px);
|
|
60
|
+
background: tint(40%);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
.buttons {
|
|
64
|
+
position: absolute;
|
|
65
|
+
left: 18px;
|
|
66
|
+
right: 18px;
|
|
67
|
+
bottom: 9px;
|
|
68
|
+
display: flex;
|
|
69
|
+
align-items: center;
|
|
70
|
+
justify-content: space-between;
|
|
71
|
+
i {
|
|
72
|
+
width: 8px;
|
|
73
|
+
height: 8px;
|
|
74
|
+
border: 1.5px solid tint(55%);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
.back {
|
|
78
|
+
border: 0 !important;
|
|
79
|
+
width: 0 !important;
|
|
80
|
+
height: 0 !important;
|
|
81
|
+
border-top: 4.5px solid transparent !important;
|
|
82
|
+
border-bottom: 4.5px solid transparent !important;
|
|
83
|
+
border-right: 7px solid tint(55%) !important;
|
|
84
|
+
}
|
|
85
|
+
.home {
|
|
86
|
+
border-radius: 50%;
|
|
87
|
+
}
|
|
88
|
+
.recent {
|
|
89
|
+
border-radius: 2px;
|
|
90
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/brand-awareness/index.tsx"],"names":[],"mappings":"AAGA,8GAA8G;AAC9G,wBAAgB,cAAc,gCAc7B"}
|
|
@@ -0,0 +1,8 @@
|
|
|
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
|
+
import styles from "./index.module.css";
|
|
4
|
+
/** Brand awareness: a beacon sending waves across a crowd, each person lighting up as a wave reaches them. */
|
|
5
|
+
export function BrandAwareness() {
|
|
6
|
+
return (_jsxs("div", { className: styles.object, children: [_jsxs("div", { className: styles.floor, children: [_jsx("i", {}), _jsx("i", {}), _jsx("i", {}), [0, 1, 2, 3, 4, 5, 6, 7].map((person) => (_jsx("b", { "data-person": person }, person)))] }), _jsx(Cuboid, { className: styles.beacon, top: _jsx("span", { className: styles.light }) })] }));
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/service-object/brand-awareness/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gEAAgE,CAAC;AACxF,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAEzC,8GAA8G;AAC9G,MAAM,UAAU,cAAc;IAC5B,OAAO,CACL,eAAK,SAAS,EAAE,MAAM,CAAC,MAAM,aAC3B,eAAK,SAAS,EAAE,MAAM,CAAC,KAAK,aAC1B,aAAK,EACL,aAAK,EACL,aAAK,EACJ,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CACxC,2BAA6B,MAAM,IAA3B,MAAM,CAAyB,CACxC,CAAC,IACE,EACN,KAAC,MAAM,IAAC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,EAAE,eAAM,SAAS,EAAE,MAAM,CAAC,KAAK,GAAI,GAAI,IACxE,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:awareness-turn 30s linear infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:translateY(20px) rotateX(-30deg) rotateY(20deg)}@keyframes awareness-turn{to{transform:translateY(20px) rotateX(-30deg) rotateY(380deg)}}.floor{position:absolute;left:50%;top:50%;width:180px;height:180px;margin:-90px 0 0 -90px;transform-style:preserve-3d;border-radius:50%;transform:translateY(30px) rotateX(90deg);background:radial-gradient(circle, color-mix(in srgb, var(--foreground) 20%, transparent) 1px, transparent 1.5px) 0 0/12px 12px;mask:radial-gradient(circle, #000 55%, transparent 71%)}.floor i{position:absolute;inset:46%;border-radius:50%;border:1.5px solid color-mix(in srgb, var(--foreground) 70%, transparent);opacity:0;animation:awareness-wave 3.6s ease-out infinite}@media(prefers-reduced-motion: reduce){.floor i{animation:none}}.floor i:nth-child(2){animation-delay:1.2s}.floor i:nth-child(3){animation-delay:2.4s}.floor b{position:absolute;width:9px;height:9px;margin:-4.5px 0 0 -4.5px;border-radius:50%;background:color-mix(in srgb, var(--foreground) 25%, transparent);animation:awareness-reach 1.2s ease-out infinite}@media(prefers-reduced-motion: reduce){.floor b{animation:none}}.floor b[data-person="0"]{left:calc(50% + 0.9396926208*30%);top:calc(50% + 0.3420201433*30%);animation-delay:.35s}.floor b[data-person="1"]{left:calc(50% + 0.4226182617*40%);top:calc(50% + 0.906307787*40%);animation-delay:.6s}.floor b[data-person="2"]{left:calc(50% + -0.3420201433*30%);top:calc(50% + 0.9396926208*30%);animation-delay:.35s}.floor b[data-person="3"]{left:calc(50% + -0.906307787*40%);top:calc(50% + 0.4226182617*40%);animation-delay:.6s}.floor b[data-person="4"]{left:calc(50% + -0.9396926208*30%);top:calc(50% + -0.3420201433*30%);animation-delay:.35s}.floor b[data-person="5"]{left:calc(50% + -0.4226182617*40%);top:calc(50% + -0.906307787*40%);animation-delay:.6s}.floor b[data-person="6"]{left:calc(50% + 0.3420201433*30%);top:calc(50% + -0.9396926208*30%);animation-delay:.35s}.floor b[data-person="7"]{left:calc(50% + 0.906307787*40%);top:calc(50% + -0.4226182617*40%);animation-delay:.6s}@keyframes awareness-wave{0%{inset:46%;opacity:1}100%{inset:0%;opacity:0}}@keyframes awareness-reach{0%,100%{background:color-mix(in srgb, var(--foreground) 25%, transparent);box-shadow:none}12%{background:var(--foreground);box-shadow:0 0 10px color-mix(in srgb, var(--foreground) 70%, transparent)}}.beacon{--width: 22px;--height: 64px;--depth: 22px;--fill-amount: 10%;--edge-amount: 70%;transform:translateY(-2px)}.light{position:absolute;inset:4px;border-radius:50%;background:var(--foreground);box-shadow:0 0 16px 4px color-mix(in srgb, var(--foreground) 60%, transparent)}
|