@gardenfi/garden-book 0.1.89 → 0.1.91

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/ui.es.js CHANGED
@@ -14507,13 +14507,12 @@ const Drawer = {
14507
14507
  width: "12",
14508
14508
  height: "10",
14509
14509
  viewBox: "0 0 12 10",
14510
- fill: "none",
14510
+ fill: "#817A90",
14511
14511
  ...e,
14512
14512
  children: /* @__PURE__ */ jsx(
14513
14513
  "path",
14514
14514
  {
14515
- d: "M3.1727 9.36931L0.458008 6.65462L3.1727 3.93994L3.78753 4.56367L2.13392 6.21712H6.38103V7.09212H2.13392L3.78753 8.74573L3.1727 9.36931ZM8.82665 6.05452L8.21182 5.43079L9.86542 3.77719H5.61832V2.90233H9.86542L8.21182 1.24873L8.82665 0.625L11.5413 3.33969L8.82665 6.05452Z",
14516
- fill: "#554B6A"
14515
+ d: "M3.1727 9.36931L0.458008 6.65462L3.1727 3.93994L3.78753 4.56367L2.13392 6.21712H6.38103V7.09212H2.13392L3.78753 8.74573L3.1727 9.36931ZM8.82665 6.05452L8.21182 5.43079L9.86542 3.77719H5.61832V2.90233H9.86542L8.21182 1.24873L8.82665 0.625L11.5413 3.33969L8.82665 6.05452Z"
14517
14516
  }
14518
14517
  )
14519
14518
  }
@@ -16253,149 +16252,152 @@ const InfoBadge = ({ children: e, className: t, ...i }) => /* @__PURE__ */ jsx(
16253
16252
  ]
16254
16253
  }
16255
16254
  );
16256
- }, appLink = "https://app.garden.finance", websiteLink = "https://garden.finance", footerDetails = [
16257
- {
16258
- title: "Application",
16259
- targetSame: !0,
16260
- links: [
16261
- {
16262
- title: "Swap",
16263
- link: appLink + "/swap",
16264
- isExternal: !0,
16265
- withReferrer: !0
16266
- },
16267
- {
16268
- title: "Stake",
16269
- link: "https://app.garden.finance/stake",
16270
- isExternal: !0,
16271
- withReferrer: !0
16272
- }
16273
- // {
16274
- // title: "Quests",
16275
- // link: appLink + "/quests",
16276
- // isExternal: true,
16277
- // },
16278
- ]
16279
- },
16280
- {
16281
- title: "Resources",
16282
- links: [
16283
- {
16284
- title: "Blog",
16285
- link: websiteLink + "/blog",
16286
- isExternal: !1
16287
- },
16288
- {
16289
- title: "Docs",
16290
- link: "https://docs.garden.finance",
16291
- isExternal: !0
16292
- },
16293
- {
16294
- title: "Audits",
16295
- link: "https://github.com/catalogfi/audits",
16296
- isExternal: !0
16297
- },
16298
- {
16299
- title: "Media Kit",
16300
- link: "https://docs.garden.finance/home/garden-brand-guide",
16301
- isExternal: !0
16302
- }
16303
- ]
16304
- },
16305
- {
16306
- title: "Ecosystem",
16307
- links: [
16308
- {
16309
- title: "Analytics",
16310
- link: "https://dune.com/garden_finance/gardenfinance",
16311
- isExternal: !0
16312
- },
16313
- {
16314
- title: "Explorer",
16315
- link: "https://explorer.garden.finance",
16316
- isExternal: !0
16317
- }
16318
- ]
16319
- },
16320
- {
16321
- title: "Community",
16322
- links: [
16323
- {
16324
- title: "Discord",
16325
- link: " https://discord.gg/dZwSjh9922",
16326
- isExternal: !0
16327
- },
16328
- // {
16329
- // title: "Telegram",
16330
- // link: "https://t.me/GardenTownhall",
16331
- // isExternal: true,
16332
- // },
16333
- {
16334
- title: "X",
16335
- link: "https://twitter.com/intent/follow?screen_name=garden_finance",
16336
- isExternal: !0
16337
- }
16338
- ]
16339
- }
16340
- ], Footer = ({ className: e, ...t }) => /* @__PURE__ */ jsxs(
16341
- "footer",
16342
- {
16343
- className: cn(
16344
- "gf-w-full gf-p-8 md:gf-px-28 md:gf-pt-8 md:gf-pb-16",
16345
- e
16346
- ),
16347
- ...t,
16348
- children: [
16349
- /* @__PURE__ */ jsxs("div", { className: "md:gf-flex md:gf-justify-between md:gf-items-start", children: [
16350
- /* @__PURE__ */ jsx("div", { className: "gf-flex gf-items-center gf-mb-6", children: /* @__PURE__ */ jsx(GardenFullLogo, {}) }),
16351
- /* @__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: footerDetails.map((i) => /* @__PURE__ */ jsxs("div", { className: "gf-flex gf-flex-col", children: [
16352
- /* @__PURE__ */ jsx(Typography, { size: "h3", weight: "bold", className: "gf-mb-3", children: i.title }),
16353
- i.links.map((n) => /* @__PURE__ */ jsx(
16354
- "a",
16355
- {
16356
- href: n.link,
16357
- target: i.targetSame ? "_self" : "_blank",
16358
- rel: n.withReferrer ? void 0 : "noreferrer",
16359
- children: /* @__PURE__ */ jsx(Typography, { size: "h3", weight: "medium", children: n.title })
16360
- },
16361
- n.title
16362
- ))
16363
- ] }, i.title)) })
16364
- ] }),
16365
- /* @__PURE__ */ jsx("hr", { className: "gf-mt-6 gf-mb-5 md:gf-mt-12 md:gf-mb-6 gf-border-dark-grey" }),
16366
- /* @__PURE__ */ jsxs("div", { className: "gf-flex gf-flex-col gf-gap-y-3 md:gf-flex-row gf-justify-between gf-items-center", children: [
16367
- /* @__PURE__ */ jsxs("div", { className: "gf-flex gf-gap-10", children: [
16368
- /* @__PURE__ */ jsxs("div", { className: "gf-flex gf-gap-x-2 gf-items-center", children: [
16369
- /* @__PURE__ */ jsxs(Typography, { size: "h4", weight: "medium", children: [
16370
- "Powered by",
16371
- " "
16255
+ }, Footer = ({ className: e, network: t, ...i }) => {
16256
+ const n = t && t === "testnet" ? "https://testnet.garden.finance" : "https://app.garden.finance", a = [
16257
+ {
16258
+ title: "Application",
16259
+ targetSame: !0,
16260
+ links: [
16261
+ {
16262
+ title: "Swap",
16263
+ link: n + "/swap",
16264
+ isExternal: !0,
16265
+ withReferrer: !0
16266
+ },
16267
+ {
16268
+ title: "Stake",
16269
+ link: n + "/stake",
16270
+ isExternal: !0,
16271
+ withReferrer: !0
16272
+ }
16273
+ // {
16274
+ // title: "Quests",
16275
+ // link: appLink + "/quests",
16276
+ // isExternal: true,
16277
+ // },
16278
+ ]
16279
+ },
16280
+ {
16281
+ title: "Resources",
16282
+ links: [
16283
+ {
16284
+ title: "Blog",
16285
+ link: "https://garden.finance" + "/blog",
16286
+ isExternal: !1
16287
+ },
16288
+ {
16289
+ title: "Docs",
16290
+ link: "https://docs.garden.finance",
16291
+ isExternal: !0
16292
+ },
16293
+ {
16294
+ title: "Audits",
16295
+ link: "https://github.com/catalogfi/audits",
16296
+ isExternal: !0
16297
+ },
16298
+ {
16299
+ title: "Media Kit",
16300
+ link: "https://docs.garden.finance/home/garden-brand-guide",
16301
+ isExternal: !0
16302
+ }
16303
+ ]
16304
+ },
16305
+ {
16306
+ title: "Ecosystem",
16307
+ links: [
16308
+ {
16309
+ title: "Analytics",
16310
+ link: "https://dune.com/garden_finance/gardenfinance",
16311
+ isExternal: !0
16312
+ },
16313
+ {
16314
+ title: "Explorer",
16315
+ link: t && t === "testnet" ? "https://testnet-explorer.garden.finance" : "https://explorer.garden.finance",
16316
+ isExternal: !0
16317
+ }
16318
+ ]
16319
+ },
16320
+ {
16321
+ title: "Community",
16322
+ links: [
16323
+ {
16324
+ title: "Discord",
16325
+ link: " https://discord.gg/dZwSjh9922",
16326
+ isExternal: !0
16327
+ },
16328
+ // {
16329
+ // title: "Telegram",
16330
+ // link: "https://t.me/GardenTownhall",
16331
+ // isExternal: true,
16332
+ // },
16333
+ {
16334
+ title: "X",
16335
+ link: "https://twitter.com/intent/follow?screen_name=garden_finance",
16336
+ isExternal: !0
16337
+ }
16338
+ ]
16339
+ }
16340
+ ];
16341
+ return /* @__PURE__ */ jsxs(
16342
+ "footer",
16343
+ {
16344
+ className: cn(
16345
+ "gf-w-full gf-p-8 md:gf-px-28 md:gf-pt-8 md:gf-pb-16",
16346
+ e
16347
+ ),
16348
+ ...i,
16349
+ children: [
16350
+ /* @__PURE__ */ jsxs("div", { className: "md:gf-flex md:gf-justify-between md:gf-items-start", children: [
16351
+ /* @__PURE__ */ jsx("div", { className: "gf-flex gf-items-center gf-mb-6", children: /* @__PURE__ */ jsx(GardenFullLogo, {}) }),
16352
+ /* @__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: [
16353
+ /* @__PURE__ */ jsx(Typography, { size: "h3", weight: "bold", className: "gf-mb-3", children: o.title }),
16354
+ o.links.map((l) => /* @__PURE__ */ jsx(
16355
+ "a",
16356
+ {
16357
+ href: l.link,
16358
+ target: o.targetSame ? "_self" : "_blank",
16359
+ rel: l.withReferrer ? void 0 : "noreferrer",
16360
+ children: /* @__PURE__ */ jsx(Typography, { size: "h3", weight: "medium", children: l.title })
16361
+ },
16362
+ l.title
16363
+ ))
16364
+ ] }, o.title)) })
16365
+ ] }),
16366
+ /* @__PURE__ */ jsx("hr", { className: "gf-mt-6 gf-mb-5 md:gf-mt-12 md:gf-mb-6 gf-border-dark-grey" }),
16367
+ /* @__PURE__ */ jsxs("div", { className: "gf-flex gf-flex-col gf-gap-y-3 md:gf-flex-row gf-justify-between gf-items-center", children: [
16368
+ /* @__PURE__ */ jsxs("div", { className: "gf-flex gf-gap-10", children: [
16369
+ /* @__PURE__ */ jsxs("div", { className: "gf-flex gf-gap-x-2 gf-items-center", children: [
16370
+ /* @__PURE__ */ jsxs(Typography, { size: "h4", weight: "medium", children: [
16371
+ "Powered by",
16372
+ " "
16373
+ ] }),
16374
+ /* @__PURE__ */ jsx("a", { href: "https://catalog.fi", target: "_blank", children: /* @__PURE__ */ jsx(CatalogLogo, { width: 76 }) })
16372
16375
  ] }),
16373
- /* @__PURE__ */ jsx("a", { href: "https://catalog.fi", target: "_blank", children: /* @__PURE__ */ jsx(CatalogLogo, { width: 76 }) })
16376
+ /* @__PURE__ */ jsxs(
16377
+ "a",
16378
+ {
16379
+ href: "https://github.com/catalogfi/audits/blob/main/TrailOfBits.pdf",
16380
+ target: "_blank",
16381
+ className: "gf-flex gf-gap-x-2 gf-items-center",
16382
+ children: [
16383
+ /* @__PURE__ */ jsxs(Typography, { size: "h4", weight: "medium", children: [
16384
+ "Audited by",
16385
+ " "
16386
+ ] }),
16387
+ /* @__PURE__ */ jsx(TrailOfBits, { width: 36 })
16388
+ ]
16389
+ }
16390
+ )
16374
16391
  ] }),
16375
- /* @__PURE__ */ jsxs(
16376
- "a",
16377
- {
16378
- href: "https://github.com/catalogfi/audits/blob/main/TrailOfBits.pdf",
16379
- target: "_blank",
16380
- className: "gf-flex gf-gap-x-2 gf-items-center",
16381
- children: [
16382
- /* @__PURE__ */ jsxs(Typography, { size: "h4", weight: "medium", children: [
16383
- "Audited by",
16384
- " "
16385
- ] }),
16386
- /* @__PURE__ */ jsx(TrailOfBits, { width: 36 })
16387
- ]
16388
- }
16389
- )
16390
- ] }),
16391
- /* @__PURE__ */ jsxs("div", { className: "gf-flex gf-gap-x-6 md:gf-gap-x-4", children: [
16392
- /* @__PURE__ */ jsx("a", { href: "https://garden.finance/GardenFinancePrivacyPolicy.pdf", children: /* @__PURE__ */ jsx(Typography, { size: "h4", weight: "medium", children: "Privacy Policy" }) }),
16393
- /* @__PURE__ */ jsx("a", { href: "https://garden.finance/terms.pdf", children: /* @__PURE__ */ jsx(Typography, { size: "h4", weight: "medium", children: "Terms of Service" }) })
16392
+ /* @__PURE__ */ jsxs("div", { className: "gf-flex gf-gap-x-6 md:gf-gap-x-4", children: [
16393
+ /* @__PURE__ */ jsx("a", { href: "https://garden.finance/GardenFinancePrivacyPolicy.pdf", children: /* @__PURE__ */ jsx(Typography, { size: "h4", weight: "medium", children: "Privacy Policy" }) }),
16394
+ /* @__PURE__ */ jsx("a", { href: "https://garden.finance/terms.pdf", children: /* @__PURE__ */ jsx(Typography, { size: "h4", weight: "medium", children: "Terms of Service" }) })
16395
+ ] })
16394
16396
  ] })
16395
- ] })
16396
- ]
16397
- }
16398
- );
16397
+ ]
16398
+ }
16399
+ );
16400
+ };
16399
16401
  var build = { exports: {} };
16400
16402
  (() => {
16401
16403
  var e = { 181: (s, a, o) => {