@gardenfi/garden-book 0.1.88 → 0.1.90
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/components/atoms/Icons/CancelIcon.d.ts +5 -0
- package/dist/components/atoms/Icons/index.d.ts +1 -0
- package/dist/components/organisms/Footer/Footer.d.ts +3 -1
- package/dist/components/organisms/Footer/Footer.stories.d.ts +3 -1
- package/dist/ui.cjs.js +1 -1
- package/dist/ui.es.js +161 -140
- package/dist/ui.umd.js +1 -1
- package/package.json +2 -3
package/dist/ui.es.js
CHANGED
|
@@ -14534,6 +14534,23 @@ const Drawer = {
|
|
|
14534
14534
|
}
|
|
14535
14535
|
)
|
|
14536
14536
|
}
|
|
14537
|
+
), CancelIcon = (e) => /* @__PURE__ */ jsx(
|
|
14538
|
+
"svg",
|
|
14539
|
+
{
|
|
14540
|
+
width: "8",
|
|
14541
|
+
height: "8",
|
|
14542
|
+
viewBox: "0 0 8 8",
|
|
14543
|
+
fill: "none",
|
|
14544
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
14545
|
+
...e,
|
|
14546
|
+
children: /* @__PURE__ */ jsx(
|
|
14547
|
+
"path",
|
|
14548
|
+
{
|
|
14549
|
+
d: "M2.56 6L4 4.56L5.44 6L6 5.44L4.56 4L6 2.56L5.44 2L4 3.44L2.56 2L2 2.56L3.44 4L2 5.44L2.56 6ZM4 8C3.44667 8 2.92667 7.895 2.44 7.685C1.95333 7.475 1.53 7.19 1.17 6.83C0.81 6.47 0.525 6.04667 0.315 5.56C0.105 5.07333 0 4.55333 0 4C0 3.44667 0.105 2.92667 0.315 2.44C0.525 1.95333 0.81 1.53 1.17 1.17C1.53 0.81 1.95333 0.525 2.44 0.315C2.92667 0.105 3.44667 0 4 0C4.55333 0 5.07333 0.105 5.56 0.315C6.04667 0.525 6.47 0.81 6.83 1.17C7.19 1.53 7.475 1.95333 7.685 2.44C7.895 2.92667 8 3.44667 8 4C8 4.55333 7.895 5.07333 7.685 5.56C7.475 6.04667 7.19 6.47 6.83 6.83C6.47 7.19 6.04667 7.475 5.56 7.685C5.07333 7.895 4.55333 8 4 8Z",
|
|
14550
|
+
fill: "#FF005C"
|
|
14551
|
+
}
|
|
14552
|
+
)
|
|
14553
|
+
}
|
|
14537
14554
|
), ArbitrumLogo = (e) => /* @__PURE__ */ jsxs(
|
|
14538
14555
|
"svg",
|
|
14539
14556
|
{
|
|
@@ -16236,149 +16253,152 @@ const InfoBadge = ({ children: e, className: t, ...i }) => /* @__PURE__ */ jsx(
|
|
|
16236
16253
|
]
|
|
16237
16254
|
}
|
|
16238
16255
|
);
|
|
16239
|
-
},
|
|
16240
|
-
|
|
16241
|
-
|
|
16242
|
-
|
|
16243
|
-
|
|
16244
|
-
|
|
16245
|
-
|
|
16246
|
-
|
|
16247
|
-
|
|
16248
|
-
|
|
16249
|
-
|
|
16250
|
-
|
|
16251
|
-
|
|
16252
|
-
|
|
16253
|
-
|
|
16254
|
-
|
|
16255
|
-
|
|
16256
|
-
|
|
16257
|
-
|
|
16258
|
-
|
|
16259
|
-
|
|
16260
|
-
|
|
16261
|
-
|
|
16262
|
-
|
|
16263
|
-
|
|
16264
|
-
|
|
16265
|
-
|
|
16266
|
-
|
|
16267
|
-
|
|
16268
|
-
|
|
16269
|
-
|
|
16270
|
-
|
|
16271
|
-
|
|
16272
|
-
|
|
16273
|
-
|
|
16274
|
-
|
|
16275
|
-
|
|
16276
|
-
|
|
16277
|
-
|
|
16278
|
-
|
|
16279
|
-
|
|
16280
|
-
|
|
16281
|
-
|
|
16282
|
-
|
|
16283
|
-
|
|
16284
|
-
|
|
16285
|
-
|
|
16286
|
-
|
|
16287
|
-
|
|
16288
|
-
|
|
16289
|
-
|
|
16290
|
-
|
|
16291
|
-
|
|
16292
|
-
|
|
16293
|
-
|
|
16294
|
-
|
|
16295
|
-
|
|
16296
|
-
|
|
16297
|
-
|
|
16298
|
-
|
|
16299
|
-
|
|
16300
|
-
|
|
16301
|
-
|
|
16302
|
-
|
|
16303
|
-
|
|
16304
|
-
|
|
16305
|
-
|
|
16306
|
-
|
|
16307
|
-
|
|
16308
|
-
|
|
16309
|
-
|
|
16310
|
-
|
|
16311
|
-
|
|
16312
|
-
|
|
16313
|
-
|
|
16314
|
-
|
|
16315
|
-
|
|
16316
|
-
|
|
16317
|
-
|
|
16318
|
-
|
|
16319
|
-
|
|
16320
|
-
|
|
16321
|
-
|
|
16322
|
-
|
|
16323
|
-
|
|
16324
|
-
|
|
16325
|
-
|
|
16326
|
-
|
|
16327
|
-
|
|
16328
|
-
|
|
16329
|
-
|
|
16330
|
-
|
|
16331
|
-
|
|
16332
|
-
|
|
16333
|
-
|
|
16334
|
-
/* @__PURE__ */
|
|
16335
|
-
/* @__PURE__ */ jsx(
|
|
16336
|
-
|
|
16337
|
-
"
|
|
16338
|
-
|
|
16339
|
-
|
|
16340
|
-
|
|
16341
|
-
|
|
16342
|
-
|
|
16343
|
-
|
|
16344
|
-
|
|
16345
|
-
|
|
16346
|
-
|
|
16347
|
-
|
|
16348
|
-
|
|
16349
|
-
|
|
16350
|
-
/* @__PURE__ */
|
|
16351
|
-
|
|
16352
|
-
|
|
16353
|
-
|
|
16354
|
-
" "
|
|
16256
|
+
}, Footer = ({ className: e, network: t, ...i }) => {
|
|
16257
|
+
const n = t && t === "testnet" ? "https://testnet.garden.finance" : "https://app.garden.finance", a = [
|
|
16258
|
+
{
|
|
16259
|
+
title: "Application",
|
|
16260
|
+
targetSame: !0,
|
|
16261
|
+
links: [
|
|
16262
|
+
{
|
|
16263
|
+
title: "Swap",
|
|
16264
|
+
link: n + "/swap",
|
|
16265
|
+
isExternal: !0,
|
|
16266
|
+
withReferrer: !0
|
|
16267
|
+
},
|
|
16268
|
+
{
|
|
16269
|
+
title: "Stake",
|
|
16270
|
+
link: n + "/stake",
|
|
16271
|
+
isExternal: !0,
|
|
16272
|
+
withReferrer: !0
|
|
16273
|
+
}
|
|
16274
|
+
// {
|
|
16275
|
+
// title: "Quests",
|
|
16276
|
+
// link: appLink + "/quests",
|
|
16277
|
+
// isExternal: true,
|
|
16278
|
+
// },
|
|
16279
|
+
]
|
|
16280
|
+
},
|
|
16281
|
+
{
|
|
16282
|
+
title: "Resources",
|
|
16283
|
+
links: [
|
|
16284
|
+
{
|
|
16285
|
+
title: "Blog",
|
|
16286
|
+
link: "https://garden.finance" + "/blog",
|
|
16287
|
+
isExternal: !1
|
|
16288
|
+
},
|
|
16289
|
+
{
|
|
16290
|
+
title: "Docs",
|
|
16291
|
+
link: "https://docs.garden.finance",
|
|
16292
|
+
isExternal: !0
|
|
16293
|
+
},
|
|
16294
|
+
{
|
|
16295
|
+
title: "Audits",
|
|
16296
|
+
link: "https://github.com/catalogfi/audits",
|
|
16297
|
+
isExternal: !0
|
|
16298
|
+
},
|
|
16299
|
+
{
|
|
16300
|
+
title: "Media Kit",
|
|
16301
|
+
link: "https://docs.garden.finance/home/garden-brand-guide",
|
|
16302
|
+
isExternal: !0
|
|
16303
|
+
}
|
|
16304
|
+
]
|
|
16305
|
+
},
|
|
16306
|
+
{
|
|
16307
|
+
title: "Ecosystem",
|
|
16308
|
+
links: [
|
|
16309
|
+
{
|
|
16310
|
+
title: "Analytics",
|
|
16311
|
+
link: "https://dune.com/garden_finance/gardenfinance",
|
|
16312
|
+
isExternal: !0
|
|
16313
|
+
},
|
|
16314
|
+
{
|
|
16315
|
+
title: "Explorer",
|
|
16316
|
+
link: t && t === "testnet" ? "https://testnet-explorer.garden.finance" : "https://explorer.garden.finance",
|
|
16317
|
+
isExternal: !0
|
|
16318
|
+
}
|
|
16319
|
+
]
|
|
16320
|
+
},
|
|
16321
|
+
{
|
|
16322
|
+
title: "Community",
|
|
16323
|
+
links: [
|
|
16324
|
+
{
|
|
16325
|
+
title: "Discord",
|
|
16326
|
+
link: " https://discord.gg/dZwSjh9922",
|
|
16327
|
+
isExternal: !0
|
|
16328
|
+
},
|
|
16329
|
+
// {
|
|
16330
|
+
// title: "Telegram",
|
|
16331
|
+
// link: "https://t.me/GardenTownhall",
|
|
16332
|
+
// isExternal: true,
|
|
16333
|
+
// },
|
|
16334
|
+
{
|
|
16335
|
+
title: "X",
|
|
16336
|
+
link: "https://twitter.com/intent/follow?screen_name=garden_finance",
|
|
16337
|
+
isExternal: !0
|
|
16338
|
+
}
|
|
16339
|
+
]
|
|
16340
|
+
}
|
|
16341
|
+
];
|
|
16342
|
+
return /* @__PURE__ */ jsxs(
|
|
16343
|
+
"footer",
|
|
16344
|
+
{
|
|
16345
|
+
className: cn(
|
|
16346
|
+
"gf-w-full gf-p-8 md:gf-px-28 md:gf-pt-8 md:gf-pb-16",
|
|
16347
|
+
e
|
|
16348
|
+
),
|
|
16349
|
+
...i,
|
|
16350
|
+
children: [
|
|
16351
|
+
/* @__PURE__ */ jsxs("div", { className: "md:gf-flex md:gf-justify-between md:gf-items-start", children: [
|
|
16352
|
+
/* @__PURE__ */ jsx("div", { className: "gf-flex gf-items-center gf-mb-6", children: /* @__PURE__ */ jsx(GardenFullLogo, {}) }),
|
|
16353
|
+
/* @__PURE__ */ jsx("div", { className: "gf-grid gf-grid-cols-2 gf-gap-x-14 gf-gap-y-6 md:gf-flex gf-w-full md:gf-justify-end md:gf-gap-x-14", children: a.map((o) => /* @__PURE__ */ jsxs("div", { className: "gf-flex gf-flex-col", children: [
|
|
16354
|
+
/* @__PURE__ */ jsx(Typography, { size: "h3", weight: "bold", className: "gf-mb-3", children: o.title }),
|
|
16355
|
+
o.links.map((l) => /* @__PURE__ */ jsx(
|
|
16356
|
+
"a",
|
|
16357
|
+
{
|
|
16358
|
+
href: l.link,
|
|
16359
|
+
target: o.targetSame ? "_self" : "_blank",
|
|
16360
|
+
rel: l.withReferrer ? void 0 : "noreferrer",
|
|
16361
|
+
children: /* @__PURE__ */ jsx(Typography, { size: "h3", weight: "medium", children: l.title })
|
|
16362
|
+
},
|
|
16363
|
+
l.title
|
|
16364
|
+
))
|
|
16365
|
+
] }, o.title)) })
|
|
16366
|
+
] }),
|
|
16367
|
+
/* @__PURE__ */ jsx("hr", { className: "gf-mt-6 gf-mb-5 md:gf-mt-12 md:gf-mb-6 gf-border-dark-grey" }),
|
|
16368
|
+
/* @__PURE__ */ jsxs("div", { className: "gf-flex gf-flex-col gf-gap-y-3 md:gf-flex-row gf-justify-between gf-items-center", children: [
|
|
16369
|
+
/* @__PURE__ */ jsxs("div", { className: "gf-flex gf-gap-10", children: [
|
|
16370
|
+
/* @__PURE__ */ jsxs("div", { className: "gf-flex gf-gap-x-2 gf-items-center", children: [
|
|
16371
|
+
/* @__PURE__ */ jsxs(Typography, { size: "h4", weight: "medium", children: [
|
|
16372
|
+
"Powered by",
|
|
16373
|
+
" "
|
|
16374
|
+
] }),
|
|
16375
|
+
/* @__PURE__ */ jsx("a", { href: "https://catalog.fi", target: "_blank", children: /* @__PURE__ */ jsx(CatalogLogo, { width: 76 }) })
|
|
16355
16376
|
] }),
|
|
16356
|
-
/* @__PURE__ */
|
|
16377
|
+
/* @__PURE__ */ jsxs(
|
|
16378
|
+
"a",
|
|
16379
|
+
{
|
|
16380
|
+
href: "https://github.com/catalogfi/audits/blob/main/TrailOfBits.pdf",
|
|
16381
|
+
target: "_blank",
|
|
16382
|
+
className: "gf-flex gf-gap-x-2 gf-items-center",
|
|
16383
|
+
children: [
|
|
16384
|
+
/* @__PURE__ */ jsxs(Typography, { size: "h4", weight: "medium", children: [
|
|
16385
|
+
"Audited by",
|
|
16386
|
+
" "
|
|
16387
|
+
] }),
|
|
16388
|
+
/* @__PURE__ */ jsx(TrailOfBits, { width: 36 })
|
|
16389
|
+
]
|
|
16390
|
+
}
|
|
16391
|
+
)
|
|
16357
16392
|
] }),
|
|
16358
|
-
/* @__PURE__ */ jsxs(
|
|
16359
|
-
"a",
|
|
16360
|
-
{
|
|
16361
|
-
|
|
16362
|
-
target: "_blank",
|
|
16363
|
-
className: "gf-flex gf-gap-x-2 gf-items-center",
|
|
16364
|
-
children: [
|
|
16365
|
-
/* @__PURE__ */ jsxs(Typography, { size: "h4", weight: "medium", children: [
|
|
16366
|
-
"Audited by",
|
|
16367
|
-
" "
|
|
16368
|
-
] }),
|
|
16369
|
-
/* @__PURE__ */ jsx(TrailOfBits, { width: 36 })
|
|
16370
|
-
]
|
|
16371
|
-
}
|
|
16372
|
-
)
|
|
16373
|
-
] }),
|
|
16374
|
-
/* @__PURE__ */ jsxs("div", { className: "gf-flex gf-gap-x-6 md:gf-gap-x-4", children: [
|
|
16375
|
-
/* @__PURE__ */ jsx("a", { href: "https://garden.finance/GardenFinancePrivacyPolicy.pdf", children: /* @__PURE__ */ jsx(Typography, { size: "h4", weight: "medium", children: "Privacy Policy" }) }),
|
|
16376
|
-
/* @__PURE__ */ jsx("a", { href: "https://garden.finance/terms.pdf", children: /* @__PURE__ */ jsx(Typography, { size: "h4", weight: "medium", children: "Terms of Service" }) })
|
|
16393
|
+
/* @__PURE__ */ jsxs("div", { className: "gf-flex gf-gap-x-6 md:gf-gap-x-4", children: [
|
|
16394
|
+
/* @__PURE__ */ jsx("a", { href: "https://garden.finance/GardenFinancePrivacyPolicy.pdf", children: /* @__PURE__ */ jsx(Typography, { size: "h4", weight: "medium", children: "Privacy Policy" }) }),
|
|
16395
|
+
/* @__PURE__ */ jsx("a", { href: "https://garden.finance/terms.pdf", children: /* @__PURE__ */ jsx(Typography, { size: "h4", weight: "medium", children: "Terms of Service" }) })
|
|
16396
|
+
] })
|
|
16377
16397
|
] })
|
|
16378
|
-
]
|
|
16379
|
-
|
|
16380
|
-
|
|
16381
|
-
|
|
16398
|
+
]
|
|
16399
|
+
}
|
|
16400
|
+
);
|
|
16401
|
+
};
|
|
16382
16402
|
var build = { exports: {} };
|
|
16383
16403
|
(() => {
|
|
16384
16404
|
var e = { 181: (s, a, o) => {
|
|
@@ -21872,6 +21892,7 @@ export {
|
|
|
21872
21892
|
BottomSheet,
|
|
21873
21893
|
Button,
|
|
21874
21894
|
Camelot,
|
|
21895
|
+
CancelIcon,
|
|
21875
21896
|
CatalogLogo,
|
|
21876
21897
|
ChainflipIcon,
|
|
21877
21898
|
CheckBox$1 as CheckBox,
|