hds-web 1.39.0 → 1.39.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/dist/index.css +2 -2
- package/dist/index.es.css +2 -2
- package/dist/index.es.js +5 -5
- package/dist/index.js +5 -5
- package/package.json +1 -1
- package/src/HDS/components/Cards/Dropdown/v3Dropdown.js +1 -9
- package/src/HDS/components/Cards/Menu/flyoutD.js +4 -4
- package/src/HDS/components/Footers/v3Footer.js +90 -75
- package/src/HDS/components/Headers/v3Header.js +165 -94
- package/src/styles/tailwind.css +0 -58
- package/src/HDS/components/Cards/Menu/ResourcesDropdown.js +0 -106
package/package.json
CHANGED
@@ -2,7 +2,6 @@ import React from "react";
|
|
2
2
|
import { HDSColor } from "../../../foundation/ColorPalette";
|
3
3
|
import { FlyoutB, FlyoutA, FlyoutD } from "../Menu";
|
4
4
|
import ConnectorsDropdown from "../Menu/ConnectorsDropdown";
|
5
|
-
import ResourcesDropdown from "../Menu/ResourcesDropdown";
|
6
5
|
|
7
6
|
export default function DropdownA(props) {
|
8
7
|
return (
|
@@ -33,13 +32,6 @@ export default function DropdownA(props) {
|
|
33
32
|
// split={item.split}
|
34
33
|
split={true}
|
35
34
|
/>
|
36
|
-
) : item?.label === "RESOURCES" ? (
|
37
|
-
<ResourcesDropdown
|
38
|
-
label={item.label}
|
39
|
-
childArray={item.childArray}
|
40
|
-
// split={item.split}
|
41
|
-
split={true}
|
42
|
-
/>
|
43
35
|
) : (
|
44
36
|
<FlyoutA
|
45
37
|
label={item.label}
|
@@ -70,7 +62,7 @@ export default function DropdownA(props) {
|
|
70
62
|
</div>
|
71
63
|
</div>
|
72
64
|
} */}
|
73
|
-
{props.flyoutD && <FlyoutD
|
65
|
+
{props.flyoutD && <FlyoutD />}
|
74
66
|
</div>
|
75
67
|
</div>
|
76
68
|
);
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import React from "react";
|
2
2
|
|
3
|
-
export default function FlyoutD(
|
3
|
+
export default function FlyoutD() {
|
4
4
|
return (
|
5
5
|
<div className="flex justify-center">
|
6
|
-
<a href={
|
6
|
+
<a href={`https://hasura.io/ddn`}>
|
7
7
|
<img
|
8
|
-
src=
|
9
|
-
alt=
|
8
|
+
src="https://res.cloudinary.com/dh8fp23nd/image/upload/v1716906625/Frame_12754_2_iaixzx.png"
|
9
|
+
alt="Hasura DDN"
|
10
10
|
className="w-full min-w-[204px] max-w-[204px] mt-2 tb-l:mt-0"
|
11
11
|
/>
|
12
12
|
</a>
|
@@ -131,7 +131,7 @@ export default function V3Footer(props) {
|
|
131
131
|
/>
|
132
132
|
</a>
|
133
133
|
</div>
|
134
|
-
<div className="flex justify-between px-4 tb:px-0 tb:justify-start tb-l:justify-between flex-1 flex-wrap gap-y-10 tb:gap-y-16
|
134
|
+
<div className="flex justify-between px-4 tb:px-0 tb:justify-start tb-l:justify-between flex-1 flex-wrap gap-y-10 tb:gap-y-16">
|
135
135
|
{props.footerLinks.map((footerLink, index) => (
|
136
136
|
<div key={index} className="min-w-[130px] db-s:min-w-fit">
|
137
137
|
<Typography
|
@@ -141,7 +141,7 @@ export default function V3Footer(props) {
|
|
141
141
|
{footerLink.title}
|
142
142
|
</Typography>
|
143
143
|
{footerLink.links.map((link, subIndex) => (
|
144
|
-
<a href={link.linkUrl}
|
144
|
+
<a href={link.linkUrl}>
|
145
145
|
<Typography
|
146
146
|
textStyle="body3"
|
147
147
|
className={
|
@@ -173,31 +173,29 @@ export default function V3Footer(props) {
|
|
173
173
|
</a>
|
174
174
|
))}
|
175
175
|
</div>
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
<
|
180
|
-
<div className=" bg-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
<
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
</Typography>
|
200
|
-
</div>
|
176
|
+
{isItems && !isError && (
|
177
|
+
<>
|
178
|
+
<a href="https://status.hasura.io/" className="">
|
179
|
+
<div className=" bg-neutral-0 rounded-full shadow hover:shadow-lg transition-all duration-300 px-4 py-2 inline-flex justify-center items-center">
|
180
|
+
<div className="w-4 h-4 bg-green-400 rounded-full mr-2"></div>
|
181
|
+
<Typography textStyle="body3" className={"text-neutral-1000"}>
|
182
|
+
{isItems?.status.description}
|
183
|
+
</Typography>
|
184
|
+
</div>
|
185
|
+
</a>
|
186
|
+
</>
|
187
|
+
)}
|
188
|
+
<div>
|
189
|
+
<Typography
|
190
|
+
textStyle="body3c"
|
191
|
+
className={
|
192
|
+
isDarkMode
|
193
|
+
? "text-neutral-400 pt-4 tb-m:pt-0"
|
194
|
+
: "text-neutral-600 pt-4 tb-m:pt-0"
|
195
|
+
}
|
196
|
+
>
|
197
|
+
© {new Date().getFullYear()} Hasura Inc. All rights reserved
|
198
|
+
</Typography>
|
201
199
|
</div>
|
202
200
|
</div>
|
203
201
|
</div>
|
@@ -214,12 +212,16 @@ V3Footer.defaultProps = {
|
|
214
212
|
title: "Platform",
|
215
213
|
links: [
|
216
214
|
{
|
217
|
-
linkText: "Hasura
|
218
|
-
linkUrl: "https://hasura.io/
|
215
|
+
linkText: "Hasura CE Edition",
|
216
|
+
linkUrl: "https://hasura.io/opensource/",
|
217
|
+
},
|
218
|
+
{
|
219
|
+
linkText: "Hasura EE",
|
220
|
+
linkUrl: "https://hasura.io/enterprise/",
|
219
221
|
},
|
220
222
|
{
|
221
|
-
linkText: "
|
222
|
-
linkUrl: "https://hasura.io/
|
223
|
+
linkText: "Hasura Cloud",
|
224
|
+
linkUrl: "https://hasura.io/cloud/",
|
223
225
|
},
|
224
226
|
{
|
225
227
|
linkText: "Pricing",
|
@@ -227,6 +229,35 @@ V3Footer.defaultProps = {
|
|
227
229
|
},
|
228
230
|
],
|
229
231
|
},
|
232
|
+
{
|
233
|
+
title: "Capabilities",
|
234
|
+
links: [
|
235
|
+
{
|
236
|
+
linkText: "Instant API",
|
237
|
+
linkUrl: "https://hasura.io/product/instant-api",
|
238
|
+
},
|
239
|
+
{
|
240
|
+
linkText: "Authorization",
|
241
|
+
linkUrl: "https://hasura.io/product/authorization",
|
242
|
+
},
|
243
|
+
{
|
244
|
+
linkText: "Performance",
|
245
|
+
linkUrl: "https://hasura.io/product/performance",
|
246
|
+
},
|
247
|
+
{
|
248
|
+
linkText: "Federation",
|
249
|
+
linkUrl: "https://hasura.io/products/federation",
|
250
|
+
},
|
251
|
+
{
|
252
|
+
linkText: "API Security",
|
253
|
+
linkUrl: "https://hasura.io/product/api-security",
|
254
|
+
},
|
255
|
+
{
|
256
|
+
linkText: "Observability",
|
257
|
+
linkUrl: "https://hasura.io/product/observability",
|
258
|
+
},
|
259
|
+
],
|
260
|
+
},
|
230
261
|
{
|
231
262
|
title: "Build",
|
232
263
|
links: [
|
@@ -235,12 +266,16 @@ V3Footer.defaultProps = {
|
|
235
266
|
linkUrl: "https://hasura.io/docs/latest/index/",
|
236
267
|
},
|
237
268
|
{
|
238
|
-
linkText: "
|
239
|
-
linkUrl: "https://hasura.io/
|
269
|
+
linkText: "Hasura Hub",
|
270
|
+
linkUrl: "https://hasura.io/hub/",
|
240
271
|
},
|
241
272
|
{
|
242
|
-
linkText: "
|
243
|
-
linkUrl: "https://github.com/hasura",
|
273
|
+
linkText: "Changelog",
|
274
|
+
linkUrl: "https://github.com/hasura/graphql-engine/releases/",
|
275
|
+
},
|
276
|
+
{
|
277
|
+
linkText: "GraphiQL",
|
278
|
+
linkUrl: "https://cloud.hasura.io/public/graphiql",
|
244
279
|
},
|
245
280
|
],
|
246
281
|
},
|
@@ -251,17 +286,17 @@ V3Footer.defaultProps = {
|
|
251
286
|
linkText: "Blog",
|
252
287
|
linkUrl: "https://hasura.io/blog",
|
253
288
|
},
|
289
|
+
{
|
290
|
+
linkText: "Tutorials",
|
291
|
+
linkUrl: "https://hasura.io/learn/",
|
292
|
+
},
|
254
293
|
{
|
255
294
|
linkText: "Events",
|
256
295
|
linkUrl: "https://hasura.io/events",
|
257
296
|
},
|
258
297
|
{
|
259
298
|
linkText: "Supergraph.io",
|
260
|
-
linkUrl: "https://supergraph.io
|
261
|
-
},
|
262
|
-
{
|
263
|
-
linkText: "GraphQL Hub",
|
264
|
-
linkUrl: "https://hasura.io/graphql/",
|
299
|
+
linkUrl: "https://supergraph.io",
|
265
300
|
},
|
266
301
|
],
|
267
302
|
},
|
@@ -301,52 +336,32 @@ V3Footer.defaultProps = {
|
|
301
336
|
linkText: "Discord",
|
302
337
|
linkUrl: "https://discord.com/invite/hasura",
|
303
338
|
},
|
339
|
+
],
|
340
|
+
},
|
341
|
+
{
|
342
|
+
title: "Community",
|
343
|
+
links: [
|
304
344
|
{
|
305
|
-
linkText: "
|
306
|
-
linkUrl: "https://
|
307
|
-
},
|
308
|
-
{
|
309
|
-
linkText: "Meetups",
|
310
|
-
linkUrl: "https://www.meetup.com/pro/hasura/",
|
345
|
+
linkText: "Docs",
|
346
|
+
linkUrl: "https://hasura.io/docs/latest/index/",
|
311
347
|
},
|
312
348
|
{
|
313
|
-
linkText: "
|
314
|
-
linkUrl: "https://hasura.io/
|
349
|
+
linkText: "Help",
|
350
|
+
linkUrl: "https://hasura.io/help/",
|
315
351
|
},
|
316
352
|
{
|
317
|
-
linkText: "
|
318
|
-
linkUrl: "https://
|
353
|
+
linkText: "GitHub",
|
354
|
+
linkUrl: "https://github.com/hasura",
|
319
355
|
},
|
356
|
+
// {
|
357
|
+
// linkText: "Swag Store",
|
358
|
+
// linkUrl: "https://store.hasura.io/",
|
359
|
+
// },
|
320
360
|
{
|
321
361
|
linkText: "Contact Us",
|
322
362
|
linkUrl: "https://hasura.io/contact-us",
|
323
363
|
},
|
324
364
|
],
|
325
365
|
},
|
326
|
-
// {
|
327
|
-
// title: "Community",
|
328
|
-
// links: [
|
329
|
-
// {
|
330
|
-
// linkText: "Docs",
|
331
|
-
// linkUrl: "https://hasura.io/docs/latest/index/",
|
332
|
-
// },
|
333
|
-
// {
|
334
|
-
// linkText: "Help",
|
335
|
-
// linkUrl: "https://hasura.io/help/",
|
336
|
-
// },
|
337
|
-
// {
|
338
|
-
// linkText: "GitHub",
|
339
|
-
// linkUrl: "https://github.com/hasura",
|
340
|
-
// },
|
341
|
-
// {
|
342
|
-
// linkText: "Swag Store",
|
343
|
-
// linkUrl: "https://store.hasura.io/",
|
344
|
-
// },
|
345
|
-
// {
|
346
|
-
// linkText: "Contact Us",
|
347
|
-
// linkUrl: "https://hasura.io/contact-us",
|
348
|
-
// },
|
349
|
-
// ],
|
350
|
-
// },
|
351
366
|
],
|
352
367
|
};
|