@gardenfi/garden-book 0.3.4-beta.1 → 0.3.4-beta.2
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.
|
@@ -32,7 +32,7 @@ const g = ({
|
|
|
32
32
|
{
|
|
33
33
|
variant: "secondary",
|
|
34
34
|
size: "sm",
|
|
35
|
-
className: "gf-w-full gf-border gf-border-mist",
|
|
35
|
+
className: "gf-w-full gf-border gf-border-mist h-10",
|
|
36
36
|
onClick: o,
|
|
37
37
|
children: "Change preferences"
|
|
38
38
|
}
|
|
@@ -42,7 +42,7 @@ const g = ({
|
|
|
42
42
|
{
|
|
43
43
|
variant: "primary",
|
|
44
44
|
size: "sm",
|
|
45
|
-
className: "gf-w-full",
|
|
45
|
+
className: "gf-w-full h-10",
|
|
46
46
|
onClick: s,
|
|
47
47
|
children: "Accept all"
|
|
48
48
|
}
|
|
@@ -52,7 +52,7 @@ const v = ({
|
|
|
52
52
|
{
|
|
53
53
|
variant: "secondary",
|
|
54
54
|
size: "sm",
|
|
55
|
-
className: "gf-w-full gf-border gf-border-mist",
|
|
55
|
+
className: "gf-w-full gf-border gf-border-mist h-10",
|
|
56
56
|
onClick: o,
|
|
57
57
|
children: "Accept all"
|
|
58
58
|
}
|
|
@@ -62,7 +62,7 @@ const v = ({
|
|
|
62
62
|
{
|
|
63
63
|
variant: "primary",
|
|
64
64
|
size: "sm",
|
|
65
|
-
className: "gf-w-full",
|
|
65
|
+
className: "gf-w-full h-10",
|
|
66
66
|
onClick: () => t(f),
|
|
67
67
|
children: "Save"
|
|
68
68
|
}
|
package/dist/Footer/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { CopyrightsIcon as $ } from "../Icons/CopyrightsIcon.js";
|
|
|
5
5
|
import { DiscordIcon as j } from "../Icons/DiscordIcon.js";
|
|
6
6
|
import { XIcon as P } from "../Icons/XIcon.js";
|
|
7
7
|
import { YoutubeIcon as z } from "../Icons/YoutubeIcon.js";
|
|
8
|
-
import { cn as
|
|
8
|
+
import { cn as l } from "../utils/index.js";
|
|
9
9
|
import { FooterBackgroundAnimation as M } from "./FooterBackgroundAnimation.js";
|
|
10
10
|
import { FooterLinks as c } from "./FooterLink.js";
|
|
11
11
|
import K from "../assets/maskRect.svg.js";
|
|
@@ -19,8 +19,8 @@ const G = {
|
|
|
19
19
|
className: T,
|
|
20
20
|
network: n = "mainnet",
|
|
21
21
|
maskUrl: C = K,
|
|
22
|
-
socialLinks:
|
|
23
|
-
bgVideoSrc:
|
|
22
|
+
socialLinks: k,
|
|
23
|
+
bgVideoSrc: v,
|
|
24
24
|
labels: i,
|
|
25
25
|
locale: x,
|
|
26
26
|
...B
|
|
@@ -51,7 +51,7 @@ const G = {
|
|
|
51
51
|
analytics: "Analytics",
|
|
52
52
|
governance: "Governance",
|
|
53
53
|
...i == null ? void 0 : i.resources
|
|
54
|
-
},
|
|
54
|
+
}, g = {
|
|
55
55
|
docs: "Docs",
|
|
56
56
|
api: "API",
|
|
57
57
|
sdk: "SDK",
|
|
@@ -113,46 +113,103 @@ const G = {
|
|
|
113
113
|
},
|
|
114
114
|
Developers: {
|
|
115
115
|
docs: {
|
|
116
|
-
title:
|
|
116
|
+
title: g.docs,
|
|
117
117
|
link: "https://docs.garden.finance/",
|
|
118
118
|
isExternal: !0
|
|
119
119
|
},
|
|
120
120
|
api: {
|
|
121
|
-
title:
|
|
121
|
+
title: g.api,
|
|
122
122
|
link: "https://docs.garden.finance/developers/api/overview",
|
|
123
123
|
isExternal: !0
|
|
124
124
|
},
|
|
125
125
|
sdk: {
|
|
126
|
-
title:
|
|
126
|
+
title: g.sdk,
|
|
127
127
|
link: "https://docs.garden.finance/developers/sdk/overview",
|
|
128
128
|
isExternal: !0
|
|
129
129
|
},
|
|
130
130
|
security: {
|
|
131
|
-
title:
|
|
131
|
+
title: g.security,
|
|
132
132
|
link: `${e}/security`,
|
|
133
133
|
isExternal: !0
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
136
|
}, L = {
|
|
137
|
-
// Left column
|
|
137
|
+
// Left column
|
|
138
138
|
btcToWbtc: {
|
|
139
139
|
title: "BTC to WBTC",
|
|
140
140
|
link: e + "/routes/bridge-btc-to-wbtc-ethereum",
|
|
141
141
|
chain: "Ethereum",
|
|
142
142
|
isExternal: !0
|
|
143
143
|
},
|
|
144
|
+
btcToUsdtEthereum: {
|
|
145
|
+
title: " to USDT",
|
|
146
|
+
link: e + "/routes/bridge-btc-to-usdt-ethereum",
|
|
147
|
+
inputAsset: "BTC",
|
|
148
|
+
chain: "Ethereum",
|
|
149
|
+
isExternal: !0
|
|
150
|
+
},
|
|
144
151
|
btctoUsdcEth: {
|
|
145
152
|
title: "BTC to USDC",
|
|
146
153
|
link: e + "/routes/bridge-btc-to-usdc-ethereum",
|
|
147
154
|
chain: "Ethereum",
|
|
148
155
|
isExternal: !0
|
|
149
156
|
},
|
|
157
|
+
btcToUsdcSolana: {
|
|
158
|
+
title: " to USDC",
|
|
159
|
+
link: e + "/routes/bridge-btc-to-usdc-solana",
|
|
160
|
+
inputAsset: "BTC",
|
|
161
|
+
chain: "Solana",
|
|
162
|
+
isExternal: !0
|
|
163
|
+
},
|
|
164
|
+
btcToUsdc: {
|
|
165
|
+
title: "BTC to USDC",
|
|
166
|
+
link: e + "/routes/bridge-btc-to-usdc-arbitrum",
|
|
167
|
+
chain: "Arbitrum",
|
|
168
|
+
isExternal: !0
|
|
169
|
+
},
|
|
170
|
+
btcToEth: {
|
|
171
|
+
title: "BTC to ETH",
|
|
172
|
+
link: e + "/routes/bridge-btc-to-eth",
|
|
173
|
+
chain: "Ethereum",
|
|
174
|
+
isExternal: !0
|
|
175
|
+
},
|
|
176
|
+
btcToSol: {
|
|
177
|
+
title: "BTC to SOL",
|
|
178
|
+
link: e + "/routes/bridge-btc-to-sol",
|
|
179
|
+
chain: "Solana",
|
|
180
|
+
isExternal: !0
|
|
181
|
+
},
|
|
150
182
|
btcTocbBtc: {
|
|
151
183
|
title: "BTC to cbBTC",
|
|
152
184
|
link: e + "/routes/bridge-btc-to-cbbtc-base",
|
|
153
185
|
chain: "Base",
|
|
154
186
|
isExternal: !0
|
|
155
187
|
},
|
|
188
|
+
btcToBnb: {
|
|
189
|
+
title: "BTC to BNB",
|
|
190
|
+
link: e + "/routes/bridge-btc-to-bnb",
|
|
191
|
+
chain: "BNB Chain",
|
|
192
|
+
isExternal: !0
|
|
193
|
+
},
|
|
194
|
+
// Right column
|
|
195
|
+
btcToLtc: {
|
|
196
|
+
title: "BTC to LTC",
|
|
197
|
+
link: e + "/routes/bridge-btc-to-ltc",
|
|
198
|
+
isExternal: !0,
|
|
199
|
+
chain: "Litecoin"
|
|
200
|
+
},
|
|
201
|
+
btcToSui: {
|
|
202
|
+
title: "BTC to SUI",
|
|
203
|
+
link: e + "/routes/bridge-btc-to-sui",
|
|
204
|
+
chain: "Sui",
|
|
205
|
+
isExternal: !0
|
|
206
|
+
},
|
|
207
|
+
btcToMon: {
|
|
208
|
+
title: "BTC to MON",
|
|
209
|
+
link: e + "/routes/bridge-btc-to-mon",
|
|
210
|
+
chain: "Monad",
|
|
211
|
+
isExternal: !0
|
|
212
|
+
},
|
|
156
213
|
solToBtc: {
|
|
157
214
|
title: " to BTC",
|
|
158
215
|
link: e + "/routes/bridge-sol-to-btc",
|
|
@@ -160,10 +217,11 @@ const G = {
|
|
|
160
217
|
inputChain: "Solana",
|
|
161
218
|
isExternal: !0
|
|
162
219
|
},
|
|
163
|
-
|
|
164
|
-
title: "
|
|
165
|
-
link: e + "/routes/bridge-
|
|
166
|
-
|
|
220
|
+
usdcEthereumToBtc: {
|
|
221
|
+
title: " to BTC",
|
|
222
|
+
link: e + "/routes/bridge-usdc-ethereum-to-btc",
|
|
223
|
+
inputAsset: "USDC",
|
|
224
|
+
inputChain: "Ethereum",
|
|
167
225
|
isExternal: !0
|
|
168
226
|
},
|
|
169
227
|
usdcEthereumToUsdcBase: {
|
|
@@ -174,12 +232,6 @@ const G = {
|
|
|
174
232
|
chain: "Base",
|
|
175
233
|
isExternal: !0
|
|
176
234
|
},
|
|
177
|
-
btcToUsdc: {
|
|
178
|
-
title: "BTC to USDC",
|
|
179
|
-
link: e + "/routes/bridge-btc-to-usdc-arbitrum",
|
|
180
|
-
chain: "Arbitrum",
|
|
181
|
-
isExternal: !0
|
|
182
|
-
},
|
|
183
235
|
usdcBnbToBtc: {
|
|
184
236
|
title: " to BTC",
|
|
185
237
|
link: e + "/routes/bridge-usdc-bnb-to-btc",
|
|
@@ -187,40 +239,12 @@ const G = {
|
|
|
187
239
|
inputChain: "BNB Chain",
|
|
188
240
|
isExternal: !0
|
|
189
241
|
},
|
|
190
|
-
usdcEthereumToBtc: {
|
|
191
|
-
title: " to BTC",
|
|
192
|
-
link: e + "/routes/bridge-usdc-ethereum-to-btc",
|
|
193
|
-
inputAsset: "USDC",
|
|
194
|
-
inputChain: "Ethereum",
|
|
195
|
-
isExternal: !0
|
|
196
|
-
},
|
|
197
|
-
// Right column
|
|
198
|
-
btcToUsdtEthereum: {
|
|
199
|
-
title: " to USDT",
|
|
200
|
-
link: e + "/routes/bridge-btc-to-usdt-ethereum",
|
|
201
|
-
inputAsset: "BTC",
|
|
202
|
-
chain: "Ethereum",
|
|
203
|
-
isExternal: !0
|
|
204
|
-
},
|
|
205
|
-
btcToEth: {
|
|
206
|
-
title: "BTC to ETH",
|
|
207
|
-
link: e + "/routes/bridge-btc-to-eth",
|
|
208
|
-
chain: "Ethereum",
|
|
209
|
-
isExternal: !0
|
|
210
|
-
},
|
|
211
242
|
usdtEthereumToBtc: {
|
|
212
243
|
title: " to BTC",
|
|
213
244
|
link: e + "/routes/bridge-usdt-to-btc",
|
|
214
245
|
inputAsset: "USDT",
|
|
215
246
|
isExternal: !0
|
|
216
247
|
},
|
|
217
|
-
btcToUsdcSolana: {
|
|
218
|
-
title: " to USDC",
|
|
219
|
-
link: e + "/routes/bridge-btc-to-usdc-solana",
|
|
220
|
-
inputAsset: "BTC",
|
|
221
|
-
chain: "Solana",
|
|
222
|
-
isExternal: !0
|
|
223
|
-
},
|
|
224
248
|
cbBtcBaseTocbBtcSolana: {
|
|
225
249
|
title: " to cbBTC",
|
|
226
250
|
link: e + "/routes/bridge-cbbtc-base-to-cbbtc-solana",
|
|
@@ -228,30 +252,6 @@ const G = {
|
|
|
228
252
|
inputChain: "Base",
|
|
229
253
|
chain: "Solana",
|
|
230
254
|
isExternal: !0
|
|
231
|
-
},
|
|
232
|
-
btcToLtc: {
|
|
233
|
-
title: "BTC to LTC",
|
|
234
|
-
link: e + "/routes/bridge-btc-to-ltc",
|
|
235
|
-
isExternal: !0,
|
|
236
|
-
chain: "Litecoin"
|
|
237
|
-
},
|
|
238
|
-
btcToSui: {
|
|
239
|
-
title: "BTC to SUI",
|
|
240
|
-
link: e + "/routes/bridge-btc-to-sui",
|
|
241
|
-
chain: "Sui",
|
|
242
|
-
isExternal: !0
|
|
243
|
-
},
|
|
244
|
-
btcToBnb: {
|
|
245
|
-
title: "BTC to BNB",
|
|
246
|
-
link: e + "/routes/bridge-btc-to-bnb",
|
|
247
|
-
chain: "BNB Chain",
|
|
248
|
-
isExternal: !0
|
|
249
|
-
},
|
|
250
|
-
btcToMon: {
|
|
251
|
-
title: "BTC to MON",
|
|
252
|
-
link: e + "/routes/bridge-btc-to-mon",
|
|
253
|
-
chain: "Monad",
|
|
254
|
-
isExternal: !0
|
|
255
255
|
}
|
|
256
256
|
// btcToWbtcUni: {
|
|
257
257
|
// title: "BTC to WBTC",
|
|
@@ -259,11 +259,11 @@ const G = {
|
|
|
259
259
|
// chain: "Unichain",
|
|
260
260
|
// isExternal: true,
|
|
261
261
|
// },
|
|
262
|
-
}, h = { ...G, ...
|
|
262
|
+
}, h = { ...G, ...k }, { Products: A, Resources: U, Developers: D } = y;
|
|
263
263
|
return /* @__PURE__ */ r(
|
|
264
264
|
"footer",
|
|
265
265
|
{
|
|
266
|
-
className:
|
|
266
|
+
className: l(
|
|
267
267
|
"gf-z-10 gf-relative gf-mx-auto gf-flex gf-w-full gf-flex-col gf-items-center gf-justify-center gf-bg-white gf-pb-10 gf-pt-20",
|
|
268
268
|
T,
|
|
269
269
|
s ? "gf-text-white" : "gf-text-dark-grey"
|
|
@@ -376,14 +376,11 @@ const G = {
|
|
|
376
376
|
/* @__PURE__ */ t(
|
|
377
377
|
"img",
|
|
378
378
|
{
|
|
379
|
-
src: "https://cdn.garden.finance/catalog/landing/soc2.png",
|
|
379
|
+
src: "https://cdn.garden.finance/catalog/landing/soc2-white.png",
|
|
380
380
|
alt: "SOC 2 certified",
|
|
381
381
|
width: 53,
|
|
382
382
|
height: 53,
|
|
383
|
-
className:
|
|
384
|
-
"gf-h-[53px] gf-w-[53px] gf-transition-all gf-duration-500 gf-ease-in-out",
|
|
385
|
-
s && "gf-invert"
|
|
386
|
-
)
|
|
383
|
+
className: "gf-h-[53px] gf-w-[53px] gf-transition-all gf-duration-500 gf-ease-in-out"
|
|
387
384
|
}
|
|
388
385
|
)
|
|
389
386
|
] })
|
|
@@ -402,7 +399,7 @@ const G = {
|
|
|
402
399
|
u,
|
|
403
400
|
{
|
|
404
401
|
size: "h5",
|
|
405
|
-
className:
|
|
402
|
+
className: l(
|
|
406
403
|
"gf-flex gf-items-center gf-gap-1 gf-transition-all gf-duration-500 gf-ease-in-out",
|
|
407
404
|
s ? "gf-text-inherit" : "gf-text-graphite"
|
|
408
405
|
),
|
|
@@ -420,7 +417,7 @@ const G = {
|
|
|
420
417
|
{
|
|
421
418
|
size: "h5",
|
|
422
419
|
as: "a",
|
|
423
|
-
className:
|
|
420
|
+
className: l(
|
|
424
421
|
"gf-cursor-pointer gf-underline-offset-2 gf-transition-all gf-duration-500 gf-ease-in-out gf-hover:underline",
|
|
425
422
|
s ? "gf-text-inherit" : "gf-text-graphite"
|
|
426
423
|
),
|
|
@@ -435,7 +432,7 @@ const G = {
|
|
|
435
432
|
{
|
|
436
433
|
as: "a",
|
|
437
434
|
size: "h5",
|
|
438
|
-
className:
|
|
435
|
+
className: l(
|
|
439
436
|
"gf-cursor-pointer gf-underline-offset-2 gf-transition-all gf-duration-500 gf-ease-in-out gf-hover:underline",
|
|
440
437
|
s ? "gf-text-inherit" : "gf-text-graphite"
|
|
441
438
|
),
|
|
@@ -455,7 +452,7 @@ const G = {
|
|
|
455
452
|
isMobile: !1,
|
|
456
453
|
isLogoHovered: s,
|
|
457
454
|
maskUrl: C,
|
|
458
|
-
videoSrc:
|
|
455
|
+
videoSrc: v
|
|
459
456
|
}
|
|
460
457
|
)
|
|
461
458
|
]
|