@gardenfi/garden-book 0.3.3 → 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.
- package/dist/Button/index.js +6 -6
- package/dist/CookieConsent/CookieConsent.js +31 -30
- package/dist/CookieConsent/CookieConsentNotice.js +14 -15
- package/dist/CookieConsent/CookieConsentPreferences.js +18 -18
- package/dist/Footer/Footer.d.ts +34 -0
- package/dist/Footer/FooterLink.d.ts +1 -0
- package/dist/Footer/FooterLink.js +14 -8
- package/dist/Footer/index.js +251 -194
- package/dist/Icons/BugReportIcon.d.ts +5 -0
- package/dist/Icons/BugReportIcon.js +16 -0
- package/dist/Icons/SecurityVerifiedIcon.d.ts +5 -0
- package/dist/Icons/SecurityVerifiedIcon.js +22 -0
- package/dist/Icons/YoutubeIcon.js +2 -2
- package/dist/Icons/index.d.ts +2 -0
- package/dist/Icons/index.js +66 -62
- package/dist/Logo/AmberLogoFull.d.ts +5 -0
- package/dist/Logo/AmberLogoFull.js +25 -0
- package/dist/Logo/ArbitrumLogoFull.d.ts +5 -0
- package/dist/Logo/ArbitrumLogoFull.js +122 -0
- package/dist/Logo/BaseLogoFull.d.ts +5 -0
- package/dist/Logo/BaseLogoFull.js +34 -0
- package/dist/Logo/BnbChainLogoFull.d.ts +5 -0
- package/dist/Logo/BnbChainLogoFull.js +83 -0
- package/dist/Logo/HyperliquidLogoFull.d.ts +5 -0
- package/dist/Logo/HyperliquidLogoFull.js +104 -0
- package/dist/Logo/JumperLogoFull.d.ts +5 -0
- package/dist/Logo/JumperLogoFull.js +77 -0
- package/dist/Logo/LiFiLogoFull.d.ts +5 -0
- package/dist/Logo/LiFiLogoFull.js +43 -0
- package/dist/Logo/LightsparkLogoFull.d.ts +5 -0
- package/dist/Logo/LightsparkLogoFull.js +56 -0
- package/dist/Logo/LitecoinLogoFull.d.ts +5 -0
- package/dist/Logo/LitecoinLogoFull.js +97 -0
- package/dist/Logo/MaestroLogoFull.d.ts +5 -0
- package/dist/Logo/MaestroLogoFull.js +31 -0
- package/dist/Logo/MegaEthLogoFull.d.ts +5 -0
- package/dist/Logo/MegaEthLogoFull.js +94 -0
- package/dist/Logo/MonadLogoFull.d.ts +5 -0
- package/dist/Logo/MonadLogoFull.js +62 -0
- package/dist/Logo/MulticoinCapitalLogoFull.d.ts +5 -0
- package/dist/Logo/MulticoinCapitalLogoFull.js +154 -0
- package/dist/Logo/PhantomLogoFull.d.ts +5 -0
- package/dist/Logo/PhantomLogoFull.js +76 -0
- package/dist/Logo/RangoLogoFull.d.ts +5 -0
- package/dist/Logo/RangoLogoFull.js +168 -0
- package/dist/Logo/SatsTerminalLogoFull.d.ts +5 -0
- package/dist/Logo/SatsTerminalLogoFull.js +81 -0
- package/dist/Logo/SolanaLogoFull.d.ts +5 -0
- package/dist/Logo/SolanaLogoFull.js +84 -0
- package/dist/Logo/StarknetLogoFull.d.ts +5 -0
- package/dist/Logo/StarknetLogoFull.js +141 -0
- package/dist/Logo/SwapKitLogoFull.d.ts +5 -0
- package/dist/Logo/SwapKitLogoFull.js +97 -0
- package/dist/Logo/XverseLogoFull.d.ts +5 -0
- package/dist/Logo/XverseLogoFull.js +99 -0
- package/dist/Logo/index.d.ts +20 -0
- package/dist/Logo/index.js +94 -54
- package/dist/Typography/Typography.d.ts +9 -6
- package/dist/Typography/index.js +64 -54
- package/dist/index.js +370 -326
- package/dist/style.css +1 -1
- package/dist/utils/index.js +27 -4
- package/package.json +1 -1
package/dist/Footer/index.js
CHANGED
|
@@ -1,135 +1,182 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { GardenIcon as
|
|
4
|
-
import { CopyrightsIcon as
|
|
5
|
-
import { DiscordIcon as
|
|
6
|
-
import { XIcon as
|
|
7
|
-
import { YoutubeIcon as
|
|
8
|
-
import { cn as
|
|
9
|
-
import { FooterBackgroundAnimation as
|
|
10
|
-
import { FooterLinks as
|
|
11
|
-
import
|
|
12
|
-
import { useClientOnly as
|
|
13
|
-
import { Typography as
|
|
14
|
-
const
|
|
1
|
+
import { jsxs as r, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { useState as w, useRef as R, useEffect as _ } from "react";
|
|
3
|
+
import { GardenIcon as O } from "../Logo/GardenIcon.js";
|
|
4
|
+
import { CopyrightsIcon as $ } from "../Icons/CopyrightsIcon.js";
|
|
5
|
+
import { DiscordIcon as j } from "../Icons/DiscordIcon.js";
|
|
6
|
+
import { XIcon as P } from "../Icons/XIcon.js";
|
|
7
|
+
import { YoutubeIcon as z } from "../Icons/YoutubeIcon.js";
|
|
8
|
+
import { cn as l } from "../utils/index.js";
|
|
9
|
+
import { FooterBackgroundAnimation as M } from "./FooterBackgroundAnimation.js";
|
|
10
|
+
import { FooterLinks as c } from "./FooterLink.js";
|
|
11
|
+
import K from "../assets/maskRect.svg.js";
|
|
12
|
+
import { useClientOnly as F } from "../hooks/useClientOnly.js";
|
|
13
|
+
import { Typography as u } from "../Typography/index.js";
|
|
14
|
+
const G = {
|
|
15
15
|
discord: "https://discord.gg/7feudTFMXB",
|
|
16
16
|
x: "https://x.com/gardenfi",
|
|
17
17
|
youtube: "https://www.youtube.com/channel/UCwtzK4AitT4B0B6sly6QmyA?sub_confirmation=1"
|
|
18
|
-
},
|
|
19
|
-
className:
|
|
20
|
-
network:
|
|
21
|
-
maskUrl:
|
|
22
|
-
socialLinks:
|
|
23
|
-
bgVideoSrc:
|
|
24
|
-
|
|
18
|
+
}, se = ({
|
|
19
|
+
className: T,
|
|
20
|
+
network: n = "mainnet",
|
|
21
|
+
maskUrl: C = K,
|
|
22
|
+
socialLinks: k,
|
|
23
|
+
bgVideoSrc: v,
|
|
24
|
+
labels: i,
|
|
25
|
+
locale: x,
|
|
26
|
+
...B
|
|
25
27
|
}) => {
|
|
26
|
-
const [
|
|
28
|
+
const [s, b] = w(!1), [S, N] = w(
|
|
27
29
|
null
|
|
28
|
-
),
|
|
29
|
-
|
|
30
|
-
|
|
30
|
+
), d = F(), o = R(null);
|
|
31
|
+
_(() => () => {
|
|
32
|
+
o.current && clearTimeout(o.current);
|
|
31
33
|
}, []);
|
|
32
|
-
const a =
|
|
34
|
+
const a = {
|
|
35
|
+
products: "Products",
|
|
36
|
+
resources: "Resources",
|
|
37
|
+
developers: "Developers",
|
|
38
|
+
routes: "Routes",
|
|
39
|
+
security: "Security",
|
|
40
|
+
...i == null ? void 0 : i.sections
|
|
41
|
+
}, p = {
|
|
42
|
+
swap: "Swap",
|
|
43
|
+
stake: "Stake",
|
|
44
|
+
explorer: "Explorer",
|
|
45
|
+
...i == null ? void 0 : i.products
|
|
46
|
+
}, f = {
|
|
47
|
+
blog: "Blog",
|
|
48
|
+
routes: "Routes",
|
|
49
|
+
faq: "FAQs",
|
|
50
|
+
brandKit: "Brand kit",
|
|
51
|
+
analytics: "Analytics",
|
|
52
|
+
governance: "Governance",
|
|
53
|
+
...i == null ? void 0 : i.resources
|
|
54
|
+
}, g = {
|
|
55
|
+
docs: "Docs",
|
|
56
|
+
api: "API",
|
|
57
|
+
sdk: "SDK",
|
|
58
|
+
security: "Security",
|
|
59
|
+
...i == null ? void 0 : i.developers
|
|
60
|
+
}, E = {
|
|
61
|
+
privacyPolicy: "Privacy Policy",
|
|
62
|
+
termsOfService: "Terms of Service",
|
|
63
|
+
...i == null ? void 0 : i.legal
|
|
64
|
+
}, m = n && n === "testnet" ? "https://testnet.garden.finance" : "https://app.garden.finance", e = `https://garden.finance${x ? `/${x}` : ""}`, y = {
|
|
33
65
|
Products: {
|
|
34
66
|
swap: {
|
|
35
|
-
title:
|
|
36
|
-
link:
|
|
67
|
+
title: p.swap,
|
|
68
|
+
link: n && n === "testnet" ? `${m}/?input-chain=bitcoin_testnet&input-asset=BTC` : `${m}/?input-chain=bitcoin&input-asset=BTC`,
|
|
37
69
|
isExternal: !0
|
|
38
70
|
},
|
|
39
71
|
stake: {
|
|
40
|
-
title:
|
|
41
|
-
link:
|
|
72
|
+
title: p.stake,
|
|
73
|
+
link: n && n === "testnet" ? void 0 : `${m}/stake`,
|
|
42
74
|
isExternal: !0
|
|
43
75
|
},
|
|
44
76
|
explorer: {
|
|
45
|
-
title:
|
|
46
|
-
link:
|
|
77
|
+
title: p.explorer,
|
|
78
|
+
link: n && n === "testnet" ? "https://testnet-explorer.garden.finance/" : "https://explorer.garden.finance/",
|
|
47
79
|
isExternal: !0
|
|
48
80
|
}
|
|
49
81
|
},
|
|
50
82
|
Resources: {
|
|
51
83
|
blog: {
|
|
52
|
-
title:
|
|
84
|
+
title: f.blog,
|
|
53
85
|
link: `${e}/blog`,
|
|
54
86
|
isExternal: !0
|
|
55
87
|
},
|
|
56
88
|
routes: {
|
|
57
|
-
title:
|
|
89
|
+
title: f.routes,
|
|
58
90
|
link: `${e}/routes`,
|
|
59
91
|
isExternal: !0
|
|
60
92
|
},
|
|
61
93
|
faq: {
|
|
62
|
-
title:
|
|
94
|
+
title: f.faq,
|
|
63
95
|
link: `${e}/faq`,
|
|
64
96
|
isExternal: !0
|
|
65
97
|
},
|
|
66
98
|
brandKit: {
|
|
67
|
-
title:
|
|
99
|
+
title: f.brandKit,
|
|
68
100
|
link: `${e}/brand-kit`,
|
|
69
101
|
isExternal: !0
|
|
70
102
|
},
|
|
71
103
|
analytics: {
|
|
72
|
-
title:
|
|
104
|
+
title: f.analytics,
|
|
73
105
|
link: "https://dune.com/garden_finance/gardenfinance",
|
|
74
106
|
isExternal: !0
|
|
75
107
|
},
|
|
76
108
|
Governance: {
|
|
77
|
-
title:
|
|
109
|
+
title: f.governance,
|
|
78
110
|
link: "https://docs.garden.finance/home/governance",
|
|
79
111
|
isExternal: !0
|
|
80
112
|
}
|
|
81
113
|
},
|
|
82
114
|
Developers: {
|
|
83
115
|
docs: {
|
|
84
|
-
title:
|
|
116
|
+
title: g.docs,
|
|
85
117
|
link: "https://docs.garden.finance/",
|
|
86
118
|
isExternal: !0
|
|
87
119
|
},
|
|
88
120
|
api: {
|
|
89
|
-
title:
|
|
121
|
+
title: g.api,
|
|
90
122
|
link: "https://docs.garden.finance/developers/api/overview",
|
|
91
123
|
isExternal: !0
|
|
92
124
|
},
|
|
93
125
|
sdk: {
|
|
94
|
-
title:
|
|
126
|
+
title: g.sdk,
|
|
95
127
|
link: "https://docs.garden.finance/developers/sdk/overview",
|
|
96
128
|
isExternal: !0
|
|
97
129
|
},
|
|
98
130
|
security: {
|
|
99
|
-
title:
|
|
131
|
+
title: g.security,
|
|
100
132
|
link: `${e}/security`,
|
|
101
133
|
isExternal: !0
|
|
102
134
|
}
|
|
103
135
|
}
|
|
104
|
-
},
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
136
|
+
}, L = {
|
|
137
|
+
// Left column
|
|
138
|
+
btcToWbtc: {
|
|
139
|
+
title: "BTC to WBTC",
|
|
140
|
+
link: e + "/routes/bridge-btc-to-wbtc-ethereum",
|
|
141
|
+
chain: "Ethereum",
|
|
109
142
|
isExternal: !0
|
|
110
143
|
},
|
|
111
|
-
|
|
112
|
-
title: "
|
|
113
|
-
link: e + "/routes/bridge-btc-to-
|
|
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
|
+
},
|
|
151
|
+
btctoUsdcEth: {
|
|
152
|
+
title: "BTC to USDC",
|
|
153
|
+
link: e + "/routes/bridge-btc-to-usdc-ethereum",
|
|
114
154
|
chain: "Ethereum",
|
|
115
155
|
isExternal: !0
|
|
116
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
|
+
},
|
|
117
164
|
btcToUsdc: {
|
|
118
165
|
title: "BTC to USDC",
|
|
119
166
|
link: e + "/routes/bridge-btc-to-usdc-arbitrum",
|
|
120
167
|
chain: "Arbitrum",
|
|
121
168
|
isExternal: !0
|
|
122
169
|
},
|
|
123
|
-
|
|
124
|
-
title: "BTC to
|
|
125
|
-
link: e + "/routes/bridge-btc-to-
|
|
170
|
+
btcToEth: {
|
|
171
|
+
title: "BTC to ETH",
|
|
172
|
+
link: e + "/routes/bridge-btc-to-eth",
|
|
126
173
|
chain: "Ethereum",
|
|
127
174
|
isExternal: !0
|
|
128
175
|
},
|
|
129
|
-
|
|
130
|
-
title: "BTC to
|
|
131
|
-
link: e + "/routes/bridge-btc-to-
|
|
132
|
-
chain: "
|
|
176
|
+
btcToSol: {
|
|
177
|
+
title: "BTC to SOL",
|
|
178
|
+
link: e + "/routes/bridge-btc-to-sol",
|
|
179
|
+
chain: "Solana",
|
|
133
180
|
isExternal: !0
|
|
134
181
|
},
|
|
135
182
|
btcTocbBtc: {
|
|
@@ -138,63 +185,36 @@ const $ = {
|
|
|
138
185
|
chain: "Base",
|
|
139
186
|
isExternal: !0
|
|
140
187
|
},
|
|
141
|
-
btcToSui: {
|
|
142
|
-
title: "BTC to SUI",
|
|
143
|
-
link: e + "/routes/bridge-btc-to-sui",
|
|
144
|
-
chain: "Sui",
|
|
145
|
-
isExternal: !0
|
|
146
|
-
},
|
|
147
|
-
// btcToWbtcUni: {
|
|
148
|
-
// title: "BTC to WBTC",
|
|
149
|
-
// link: homepage + "/routes/bridge-btc-to-wbtc-unichain",
|
|
150
|
-
// chain: "Unichain",
|
|
151
|
-
// isExternal: true,
|
|
152
|
-
// },
|
|
153
188
|
btcToBnb: {
|
|
154
189
|
title: "BTC to BNB",
|
|
155
190
|
link: e + "/routes/bridge-btc-to-bnb",
|
|
156
191
|
chain: "BNB Chain",
|
|
157
192
|
isExternal: !0
|
|
158
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
|
+
},
|
|
159
207
|
btcToMon: {
|
|
160
208
|
title: "BTC to MON",
|
|
161
209
|
link: e + "/routes/bridge-btc-to-mon",
|
|
162
210
|
chain: "Monad",
|
|
163
211
|
isExternal: !0
|
|
164
212
|
},
|
|
165
|
-
|
|
166
|
-
title: " to cbBTC",
|
|
167
|
-
link: e + "/routes/bridge-cbbtc-base-to-cbbtc-solana",
|
|
168
|
-
inputAsset: "cbBTC",
|
|
169
|
-
inputChain: "Base",
|
|
170
|
-
chain: "Solana",
|
|
171
|
-
isExternal: !0
|
|
172
|
-
},
|
|
173
|
-
usdcBnbToBtc: {
|
|
174
|
-
title: " to BTC",
|
|
175
|
-
link: e + "/routes/bridge-usdc-bnb-to-btc",
|
|
176
|
-
inputAsset: "USDC",
|
|
177
|
-
inputChain: "BNB Chain",
|
|
178
|
-
isExternal: !0
|
|
179
|
-
},
|
|
180
|
-
btcToUsdtEthereum: {
|
|
181
|
-
title: " to USDT",
|
|
182
|
-
link: e + "/routes/bridge-btc-to-usdt-ethereum",
|
|
183
|
-
inputAsset: "BTC",
|
|
184
|
-
chain: "Ethereum",
|
|
185
|
-
isExternal: !0
|
|
186
|
-
},
|
|
187
|
-
usdtEthereumToBtc: {
|
|
213
|
+
solToBtc: {
|
|
188
214
|
title: " to BTC",
|
|
189
|
-
link: e + "/routes/bridge-
|
|
190
|
-
inputAsset: "
|
|
191
|
-
|
|
192
|
-
},
|
|
193
|
-
btcToUsdcSolana: {
|
|
194
|
-
title: " to USDC",
|
|
195
|
-
link: e + "/routes/bridge-btc-to-usdc-solana",
|
|
196
|
-
inputAsset: "BTC",
|
|
197
|
-
chain: "Solana",
|
|
215
|
+
link: e + "/routes/bridge-sol-to-btc",
|
|
216
|
+
inputAsset: "SOL",
|
|
217
|
+
inputChain: "Solana",
|
|
198
218
|
isExternal: !0
|
|
199
219
|
},
|
|
200
220
|
usdcEthereumToBtc: {
|
|
@@ -204,13 +224,6 @@ const $ = {
|
|
|
204
224
|
inputChain: "Ethereum",
|
|
205
225
|
isExternal: !0
|
|
206
226
|
},
|
|
207
|
-
solToBtc: {
|
|
208
|
-
title: " to BTC",
|
|
209
|
-
link: e + "/routes/bridge-sol-to-btc",
|
|
210
|
-
inputAsset: "SOL",
|
|
211
|
-
inputChain: "Solana",
|
|
212
|
-
isExternal: !0
|
|
213
|
-
},
|
|
214
227
|
usdcEthereumToUsdcBase: {
|
|
215
228
|
title: " to USDC",
|
|
216
229
|
link: e + "/routes/bridge-usdc-ethereum-to-usdc-base",
|
|
@@ -219,170 +232,214 @@ const $ = {
|
|
|
219
232
|
chain: "Base",
|
|
220
233
|
isExternal: !0
|
|
221
234
|
},
|
|
222
|
-
|
|
223
|
-
title: "
|
|
224
|
-
link: e + "/routes/bridge-
|
|
225
|
-
|
|
226
|
-
|
|
235
|
+
usdcBnbToBtc: {
|
|
236
|
+
title: " to BTC",
|
|
237
|
+
link: e + "/routes/bridge-usdc-bnb-to-btc",
|
|
238
|
+
inputAsset: "USDC",
|
|
239
|
+
inputChain: "BNB Chain",
|
|
240
|
+
isExternal: !0
|
|
241
|
+
},
|
|
242
|
+
usdtEthereumToBtc: {
|
|
243
|
+
title: " to BTC",
|
|
244
|
+
link: e + "/routes/bridge-usdt-to-btc",
|
|
245
|
+
inputAsset: "USDT",
|
|
246
|
+
isExternal: !0
|
|
247
|
+
},
|
|
248
|
+
cbBtcBaseTocbBtcSolana: {
|
|
249
|
+
title: " to cbBTC",
|
|
250
|
+
link: e + "/routes/bridge-cbbtc-base-to-cbbtc-solana",
|
|
251
|
+
inputAsset: "cbBTC",
|
|
252
|
+
inputChain: "Base",
|
|
253
|
+
chain: "Solana",
|
|
254
|
+
isExternal: !0
|
|
227
255
|
}
|
|
228
|
-
|
|
229
|
-
|
|
256
|
+
// btcToWbtcUni: {
|
|
257
|
+
// title: "BTC to WBTC",
|
|
258
|
+
// link: homepage + "/routes/bridge-btc-to-wbtc-unichain",
|
|
259
|
+
// chain: "Unichain",
|
|
260
|
+
// isExternal: true,
|
|
261
|
+
// },
|
|
262
|
+
}, h = { ...G, ...k }, { Products: A, Resources: U, Developers: D } = y;
|
|
263
|
+
return /* @__PURE__ */ r(
|
|
230
264
|
"footer",
|
|
231
265
|
{
|
|
232
|
-
className:
|
|
233
|
-
"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-
|
|
234
|
-
|
|
235
|
-
|
|
266
|
+
className: l(
|
|
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
|
+
T,
|
|
269
|
+
s ? "gf-text-white" : "gf-text-dark-grey"
|
|
236
270
|
),
|
|
237
|
-
...
|
|
271
|
+
...B,
|
|
238
272
|
children: [
|
|
239
|
-
/* @__PURE__ */
|
|
240
|
-
/* @__PURE__ */
|
|
241
|
-
/* @__PURE__ */
|
|
273
|
+
/* @__PURE__ */ r("div", { className: "gf-z-30 gf-mx-auto gf-w-full gf-max-w-[1056px] gf-px-4 sm:gf-max-w-[1104px] sm:gf-px-6 md:gf-px-10", children: [
|
|
274
|
+
/* @__PURE__ */ r("div", { className: "gf-mx-auto gf-flex gf-w-full gf-flex-col gf-items-start gf-justify-between gf-gap-8", children: [
|
|
275
|
+
/* @__PURE__ */ r("div", { className: "gf-flex gf-w-full gf-items-center gf-justify-between gf-gap-6", children: [
|
|
242
276
|
/* @__PURE__ */ t(
|
|
243
|
-
|
|
277
|
+
O,
|
|
244
278
|
{
|
|
245
279
|
onMouseEnter: () => {
|
|
246
|
-
|
|
247
|
-
|
|
280
|
+
o.current && clearTimeout(o.current), o.current = setTimeout(() => {
|
|
281
|
+
b(!0);
|
|
248
282
|
}, 300);
|
|
249
283
|
},
|
|
250
284
|
onMouseLeave: () => {
|
|
251
|
-
|
|
285
|
+
o.current && (clearTimeout(o.current), o.current = null), b(!1);
|
|
252
286
|
},
|
|
253
287
|
className: "gf-h-8 gf-w-8 gf-cursor-pointer gf-duration-500 gf-ease-in-out",
|
|
254
|
-
onClick: (
|
|
288
|
+
onClick: (I) => I.preventDefault()
|
|
255
289
|
}
|
|
256
290
|
),
|
|
257
|
-
/* @__PURE__ */
|
|
291
|
+
/* @__PURE__ */ r("div", { className: "gf-flex gf-items-center gf-gap-4", children: [
|
|
258
292
|
/* @__PURE__ */ t(
|
|
259
|
-
|
|
293
|
+
P,
|
|
260
294
|
{
|
|
261
295
|
onClick: () => {
|
|
262
|
-
|
|
296
|
+
d && window.open(h.x, "_blank");
|
|
263
297
|
},
|
|
264
298
|
className: "gf-cursor-pointer gf-duration-500 gf-ease-in-out"
|
|
265
299
|
}
|
|
266
300
|
),
|
|
267
301
|
/* @__PURE__ */ t(
|
|
268
|
-
|
|
302
|
+
j,
|
|
269
303
|
{
|
|
270
304
|
onClick: () => {
|
|
271
|
-
|
|
305
|
+
d && window.open(h.discord, "_blank");
|
|
272
306
|
},
|
|
273
307
|
className: "gf-cursor-pointer gf-duration-500 gf-ease-in-out"
|
|
274
308
|
}
|
|
275
309
|
),
|
|
276
310
|
/* @__PURE__ */ t(
|
|
277
|
-
|
|
311
|
+
z,
|
|
278
312
|
{
|
|
279
313
|
onClick: () => {
|
|
280
|
-
|
|
314
|
+
d && window.open(h.youtube, "_blank");
|
|
281
315
|
},
|
|
282
316
|
className: "gf-cursor-pointer gf-duration-500 gf-ease-in-out"
|
|
283
317
|
}
|
|
284
318
|
)
|
|
285
319
|
] })
|
|
286
320
|
] }),
|
|
287
|
-
/* @__PURE__ */
|
|
288
|
-
/* @__PURE__ */
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
links: k,
|
|
303
|
-
hoveredIndex: w,
|
|
304
|
-
onHover: T,
|
|
305
|
-
className: "gf-flex gf-w-full gf-max-w-[400px] gf-flex-col gf-gap-3 md:gf-w-fit",
|
|
306
|
-
listClassName: "gf-grid gf-w-full gf-grid-cols-1 gf-gap-1 gf-gap-x-8 md:gf-grid-cols-2 md:gf-grid-rows-2",
|
|
307
|
-
isRoutes: !0
|
|
308
|
-
}
|
|
309
|
-
) })
|
|
310
|
-
] }),
|
|
311
|
-
/* @__PURE__ */ i("div", { className: "gf-flex gf-w-full gf-items-start gf-justify-between gf-gap-3 md:gf-w-fit md:gf-gap-16", children: [
|
|
321
|
+
/* @__PURE__ */ r("div", { className: "gf-flex gf-w-full gf-max-w-screen-2xl gf-flex-col-reverse gf-items-start gf-justify-between gf-gap-8 md:gf-flex-row md:gf-gap-6", children: [
|
|
322
|
+
/* @__PURE__ */ t("div", { className: "gf-flex gf-w-full gf-flex-col gf-gap-3 md:gf-w-fit md:gf-max-w-[400px]", children: /* @__PURE__ */ t(
|
|
323
|
+
c,
|
|
324
|
+
{
|
|
325
|
+
title: a.routes,
|
|
326
|
+
links: L,
|
|
327
|
+
hoveredIndex: S,
|
|
328
|
+
onHover: N,
|
|
329
|
+
className: "gf-flex gf-w-full gf-flex-col gf-gap-3 md:gf-w-fit",
|
|
330
|
+
listClassName: "gf-grid gf-w-full gf-grid-cols-1 gf-gap-1 gf-gap-x-8 sm:gf-grid-cols-2 sm:gf-grid-flow-col sm:gf-grid-rows-9",
|
|
331
|
+
isRoutes: !0,
|
|
332
|
+
isLogoHovered: s
|
|
333
|
+
}
|
|
334
|
+
) }),
|
|
335
|
+
/* @__PURE__ */ r("div", { className: "gf-grid gf-w-full gf-grid-cols-2 gf-gap-x-6 gf-gap-y-8 md:gf-flex md:gf-w-fit md:gf-flex-row md:gf-items-start md:gf-gap-8", children: [
|
|
312
336
|
/* @__PURE__ */ t(
|
|
313
|
-
|
|
337
|
+
c,
|
|
314
338
|
{
|
|
315
|
-
title:
|
|
316
|
-
links:
|
|
339
|
+
title: a.products,
|
|
340
|
+
links: A,
|
|
317
341
|
className: "gf-flex gf-w-full gf-flex-col gf-gap-3 md:gf-w-fit",
|
|
318
|
-
listClassName: "gf-flex gf-w-fit gf-flex-col gf-gap-1 gf-gap-x-6"
|
|
342
|
+
listClassName: "gf-flex gf-w-fit gf-flex-col gf-gap-1 gf-gap-x-6",
|
|
343
|
+
isLogoHovered: s
|
|
319
344
|
}
|
|
320
345
|
),
|
|
321
346
|
/* @__PURE__ */ t(
|
|
322
|
-
|
|
347
|
+
c,
|
|
323
348
|
{
|
|
324
|
-
title:
|
|
325
|
-
links:
|
|
349
|
+
title: a.developers,
|
|
350
|
+
links: D,
|
|
326
351
|
className: "gf-flex gf-w-full gf-flex-col gf-gap-3 md:gf-w-fit",
|
|
327
|
-
listClassName: "gf-flex gf-flex-col gf-gap-1"
|
|
352
|
+
listClassName: "gf-flex gf-flex-col gf-gap-1",
|
|
353
|
+
isLogoHovered: s
|
|
328
354
|
}
|
|
329
355
|
),
|
|
330
|
-
/* @__PURE__ */ t(
|
|
331
|
-
|
|
356
|
+
/* @__PURE__ */ t(
|
|
357
|
+
c,
|
|
332
358
|
{
|
|
333
|
-
title:
|
|
334
|
-
links:
|
|
335
|
-
className: "gf-flex gf-w-full gf-flex-col gf-gap-3",
|
|
336
|
-
listClassName: "gf-flex gf-flex-col gf-gap-1"
|
|
359
|
+
title: a.resources,
|
|
360
|
+
links: U,
|
|
361
|
+
className: "gf-flex gf-w-full gf-flex-col gf-gap-3 md:gf-w-fit",
|
|
362
|
+
listClassName: "gf-flex gf-flex-col gf-gap-1",
|
|
363
|
+
isLogoHovered: s
|
|
337
364
|
}
|
|
338
|
-
)
|
|
365
|
+
),
|
|
366
|
+
/* @__PURE__ */ r("div", { className: "gf-flex gf-w-full gf-flex-col gf-gap-3 md:gf-w-fit", children: [
|
|
367
|
+
/* @__PURE__ */ t(
|
|
368
|
+
u,
|
|
369
|
+
{
|
|
370
|
+
size: "h4",
|
|
371
|
+
weight: "medium",
|
|
372
|
+
className: "gf-flex gf-items-center gf-gap-2 gf-transition-all gf-duration-500 gf-ease-in-out gf-text-inherit",
|
|
373
|
+
children: /* @__PURE__ */ t("span", { children: a.security })
|
|
374
|
+
}
|
|
375
|
+
),
|
|
376
|
+
/* @__PURE__ */ t(
|
|
377
|
+
"img",
|
|
378
|
+
{
|
|
379
|
+
src: "https://cdn.garden.finance/catalog/landing/soc2-white.png",
|
|
380
|
+
alt: "SOC 2 certified",
|
|
381
|
+
width: 53,
|
|
382
|
+
height: 53,
|
|
383
|
+
className: "gf-h-[53px] gf-w-[53px] gf-transition-all gf-duration-500 gf-ease-in-out"
|
|
384
|
+
}
|
|
385
|
+
)
|
|
386
|
+
] })
|
|
339
387
|
] })
|
|
340
388
|
] })
|
|
341
389
|
] }),
|
|
342
|
-
/* @__PURE__ */
|
|
390
|
+
/* @__PURE__ */ r("div", { className: "gf-relative gf-mt-6 gf-flex gf-w-full gf-max-w-screen-2xl gf-items-center gf-justify-center", children: [
|
|
343
391
|
/* @__PURE__ */ t(
|
|
344
392
|
"div",
|
|
345
393
|
{
|
|
346
|
-
className: `gf-absolute gf-left-0 gf-top-0 gf-h-[1px] gf-w-full gf-transition-all gf-duration-500 gf-ease-in-out ${
|
|
394
|
+
className: `gf-absolute gf-left-0 gf-top-0 gf-h-[1px] gf-w-full gf-transition-all gf-duration-500 gf-ease-in-out ${s ? "gf-bg-white" : "gf-bg-[#E3E0EB]"}`
|
|
347
395
|
}
|
|
348
396
|
),
|
|
349
|
-
/* @__PURE__ */
|
|
350
|
-
/* @__PURE__ */ t("div", { className: "gf-flex gf-w-fit gf-items-center gf-justify-start gf-gap-6", children: /* @__PURE__ */
|
|
351
|
-
|
|
397
|
+
/* @__PURE__ */ r("div", { className: "gf-z-10 gf-my-6 gf-flex gf-w-full gf-items-center gf-justify-between gf-gap-4", children: [
|
|
398
|
+
/* @__PURE__ */ t("div", { className: "gf-flex gf-w-fit gf-items-center gf-justify-start gf-gap-6", children: /* @__PURE__ */ r(
|
|
399
|
+
u,
|
|
352
400
|
{
|
|
353
401
|
size: "h5",
|
|
354
|
-
className:
|
|
402
|
+
className: l(
|
|
403
|
+
"gf-flex gf-items-center gf-gap-1 gf-transition-all gf-duration-500 gf-ease-in-out",
|
|
404
|
+
s ? "gf-text-inherit" : "gf-text-graphite"
|
|
405
|
+
),
|
|
355
406
|
weight: "regular",
|
|
356
407
|
children: [
|
|
357
|
-
/* @__PURE__ */ t(
|
|
408
|
+
/* @__PURE__ */ t($, {}),
|
|
358
409
|
/* @__PURE__ */ t("span", { children: "Garden" }),
|
|
359
410
|
/* @__PURE__ */ t("span", { children: "2026" })
|
|
360
411
|
]
|
|
361
412
|
}
|
|
362
413
|
) }),
|
|
363
|
-
/* @__PURE__ */
|
|
414
|
+
/* @__PURE__ */ r("div", { className: "gf-flex gf-w-fit gf-items-center gf-justify-end gf-gap-6", children: [
|
|
364
415
|
/* @__PURE__ */ t(
|
|
365
|
-
|
|
416
|
+
u,
|
|
366
417
|
{
|
|
367
418
|
size: "h5",
|
|
368
419
|
as: "a",
|
|
369
|
-
className:
|
|
420
|
+
className: l(
|
|
421
|
+
"gf-cursor-pointer gf-underline-offset-2 gf-transition-all gf-duration-500 gf-ease-in-out gf-hover:underline",
|
|
422
|
+
s ? "gf-text-inherit" : "gf-text-graphite"
|
|
423
|
+
),
|
|
370
424
|
weight: "regular",
|
|
371
425
|
href: "https://garden.finance/privacy.pdf",
|
|
372
426
|
target: "_blank",
|
|
373
|
-
children:
|
|
427
|
+
children: E.privacyPolicy
|
|
374
428
|
}
|
|
375
429
|
),
|
|
376
430
|
/* @__PURE__ */ t(
|
|
377
|
-
|
|
431
|
+
u,
|
|
378
432
|
{
|
|
379
433
|
as: "a",
|
|
380
434
|
size: "h5",
|
|
381
|
-
className:
|
|
435
|
+
className: l(
|
|
436
|
+
"gf-cursor-pointer gf-underline-offset-2 gf-transition-all gf-duration-500 gf-ease-in-out gf-hover:underline",
|
|
437
|
+
s ? "gf-text-inherit" : "gf-text-graphite"
|
|
438
|
+
),
|
|
382
439
|
weight: "regular",
|
|
383
440
|
href: "https://garden.finance/terms.pdf",
|
|
384
441
|
target: "_blank",
|
|
385
|
-
children:
|
|
442
|
+
children: E.termsOfService
|
|
386
443
|
}
|
|
387
444
|
)
|
|
388
445
|
] })
|
|
@@ -390,12 +447,12 @@ const $ = {
|
|
|
390
447
|
] })
|
|
391
448
|
] }),
|
|
392
449
|
/* @__PURE__ */ t(
|
|
393
|
-
|
|
450
|
+
M,
|
|
394
451
|
{
|
|
395
452
|
isMobile: !1,
|
|
396
|
-
isLogoHovered:
|
|
397
|
-
maskUrl:
|
|
398
|
-
videoSrc:
|
|
453
|
+
isLogoHovered: s,
|
|
454
|
+
maskUrl: C,
|
|
455
|
+
videoSrc: v
|
|
399
456
|
}
|
|
400
457
|
)
|
|
401
458
|
]
|
|
@@ -403,5 +460,5 @@ const $ = {
|
|
|
403
460
|
);
|
|
404
461
|
};
|
|
405
462
|
export {
|
|
406
|
-
|
|
463
|
+
se as Footer
|
|
407
464
|
};
|