@gardenfi/garden-book 0.1.89 → 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/ui.es.js CHANGED
@@ -16253,149 +16253,152 @@ const InfoBadge = ({ children: e, className: t, ...i }) => /* @__PURE__ */ jsx(
16253
16253
  ]
16254
16254
  }
16255
16255
  );
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
- " "
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 }) })
16372
16376
  ] }),
16373
- /* @__PURE__ */ jsx("a", { href: "https://catalog.fi", target: "_blank", children: /* @__PURE__ */ jsx(CatalogLogo, { width: 76 }) })
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
+ )
16374
16392
  ] }),
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" }) })
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
+ ] })
16394
16397
  ] })
16395
- ] })
16396
- ]
16397
- }
16398
- );
16398
+ ]
16399
+ }
16400
+ );
16401
+ };
16399
16402
  var build = { exports: {} };
16400
16403
  (() => {
16401
16404
  var e = { 181: (s, a, o) => {