@gardenfi/garden-book 0.3.2 → 0.3.4-beta.1
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/BottomSheet/BottomSheet.d.ts +4 -0
- package/dist/BottomSheet/index.js +38 -26
- package/dist/Button/index.js +6 -6
- package/dist/CookieConsent/CookieConsent.d.ts +7 -0
- package/dist/CookieConsent/CookieConsent.js +61 -37
- package/dist/CookieConsent/CookieConsentNotice.js +13 -14
- package/dist/CookieConsent/CookieConsentPreferences.js +17 -17
- package/dist/CookieConsent/store.js +19 -19
- package/dist/CookieConsent/utils.d.ts +8 -0
- package/dist/CookieConsent/utils.js +41 -25
- package/dist/DashboardLayout/DashboardSidebar.js +5 -5
- package/dist/DashboardLayout/MobileMenu.js +74 -66
- 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 +249 -189
- 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/ResponsiveModal/ResponsiveModal.d.ts +29 -11
- package/dist/ResponsiveModal/index.js +53 -54
- package/dist/Typography/Typography.d.ts +9 -6
- package/dist/Typography/index.js +64 -54
- package/dist/index.d.ts +44 -44
- 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,173 +1,183 @@
|
|
|
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 g } 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: v,
|
|
23
|
+
bgVideoSrc: k,
|
|
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
|
+
}, l = {
|
|
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: l.docs,
|
|
85
117
|
link: "https://docs.garden.finance/",
|
|
86
118
|
isExternal: !0
|
|
87
119
|
},
|
|
88
120
|
api: {
|
|
89
|
-
title:
|
|
121
|
+
title: l.api,
|
|
90
122
|
link: "https://docs.garden.finance/developers/api/overview",
|
|
91
123
|
isExternal: !0
|
|
92
124
|
},
|
|
93
125
|
sdk: {
|
|
94
|
-
title:
|
|
126
|
+
title: l.sdk,
|
|
95
127
|
link: "https://docs.garden.finance/developers/sdk/overview",
|
|
96
128
|
isExternal: !0
|
|
97
129
|
},
|
|
98
130
|
security: {
|
|
99
|
-
title:
|
|
131
|
+
title: l.security,
|
|
100
132
|
link: `${e}/security`,
|
|
101
133
|
isExternal: !0
|
|
102
134
|
}
|
|
103
135
|
}
|
|
104
|
-
},
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
isExternal: !0
|
|
110
|
-
},
|
|
111
|
-
btcToEth: {
|
|
112
|
-
title: "BTC to ETH",
|
|
113
|
-
link: e + "/routes/bridge-btc-to-eth",
|
|
136
|
+
}, L = {
|
|
137
|
+
// Left column (highest volume)
|
|
138
|
+
btcToWbtc: {
|
|
139
|
+
title: "BTC to WBTC",
|
|
140
|
+
link: e + "/routes/bridge-btc-to-wbtc-ethereum",
|
|
114
141
|
chain: "Ethereum",
|
|
115
142
|
isExternal: !0
|
|
116
143
|
},
|
|
117
|
-
btcToUsdc: {
|
|
118
|
-
title: "BTC to USDC",
|
|
119
|
-
link: e + "/routes/bridge-btc-to-usdc-arbitrum",
|
|
120
|
-
chain: "Arbitrum",
|
|
121
|
-
isExternal: !0
|
|
122
|
-
},
|
|
123
144
|
btctoUsdcEth: {
|
|
124
145
|
title: "BTC to USDC",
|
|
125
146
|
link: e + "/routes/bridge-btc-to-usdc-ethereum",
|
|
126
147
|
chain: "Ethereum",
|
|
127
148
|
isExternal: !0
|
|
128
149
|
},
|
|
129
|
-
btcToWbtc: {
|
|
130
|
-
title: "BTC to WBTC",
|
|
131
|
-
link: e + "/routes/bridge-btc-to-wbtc-ethereum",
|
|
132
|
-
chain: "Ethereum",
|
|
133
|
-
isExternal: !0
|
|
134
|
-
},
|
|
135
150
|
btcTocbBtc: {
|
|
136
151
|
title: "BTC to cbBTC",
|
|
137
152
|
link: e + "/routes/bridge-btc-to-cbbtc-base",
|
|
138
153
|
chain: "Base",
|
|
139
154
|
isExternal: !0
|
|
140
155
|
},
|
|
141
|
-
|
|
142
|
-
title: "
|
|
143
|
-
link: e + "/routes/bridge-
|
|
144
|
-
|
|
156
|
+
solToBtc: {
|
|
157
|
+
title: " to BTC",
|
|
158
|
+
link: e + "/routes/bridge-sol-to-btc",
|
|
159
|
+
inputAsset: "SOL",
|
|
160
|
+
inputChain: "Solana",
|
|
145
161
|
isExternal: !0
|
|
146
162
|
},
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
// isExternal: true,
|
|
152
|
-
// },
|
|
153
|
-
btcToBnb: {
|
|
154
|
-
title: "BTC to BNB",
|
|
155
|
-
link: e + "/routes/bridge-btc-to-bnb",
|
|
156
|
-
chain: "BNB Chain",
|
|
163
|
+
btcToSol: {
|
|
164
|
+
title: "BTC to SOL",
|
|
165
|
+
link: e + "/routes/bridge-btc-to-sol",
|
|
166
|
+
chain: "Solana",
|
|
157
167
|
isExternal: !0
|
|
158
168
|
},
|
|
159
|
-
|
|
160
|
-
title: "
|
|
161
|
-
link: e + "/routes/bridge-
|
|
162
|
-
|
|
169
|
+
usdcEthereumToUsdcBase: {
|
|
170
|
+
title: " to USDC",
|
|
171
|
+
link: e + "/routes/bridge-usdc-ethereum-to-usdc-base",
|
|
172
|
+
inputAsset: "USDC",
|
|
173
|
+
inputChain: "Ethereum",
|
|
174
|
+
chain: "Base",
|
|
163
175
|
isExternal: !0
|
|
164
176
|
},
|
|
165
|
-
|
|
166
|
-
title: " to
|
|
167
|
-
link: e + "/routes/bridge-
|
|
168
|
-
|
|
169
|
-
inputChain: "Base",
|
|
170
|
-
chain: "Solana",
|
|
177
|
+
btcToUsdc: {
|
|
178
|
+
title: "BTC to USDC",
|
|
179
|
+
link: e + "/routes/bridge-btc-to-usdc-arbitrum",
|
|
180
|
+
chain: "Arbitrum",
|
|
171
181
|
isExternal: !0
|
|
172
182
|
},
|
|
173
183
|
usdcBnbToBtc: {
|
|
@@ -177,6 +187,14 @@ const $ = {
|
|
|
177
187
|
inputChain: "BNB Chain",
|
|
178
188
|
isExternal: !0
|
|
179
189
|
},
|
|
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
|
|
180
198
|
btcToUsdtEthereum: {
|
|
181
199
|
title: " to USDT",
|
|
182
200
|
link: e + "/routes/bridge-btc-to-usdt-ethereum",
|
|
@@ -184,6 +202,12 @@ const $ = {
|
|
|
184
202
|
chain: "Ethereum",
|
|
185
203
|
isExternal: !0
|
|
186
204
|
},
|
|
205
|
+
btcToEth: {
|
|
206
|
+
title: "BTC to ETH",
|
|
207
|
+
link: e + "/routes/bridge-btc-to-eth",
|
|
208
|
+
chain: "Ethereum",
|
|
209
|
+
isExternal: !0
|
|
210
|
+
},
|
|
187
211
|
usdtEthereumToBtc: {
|
|
188
212
|
title: " to BTC",
|
|
189
213
|
link: e + "/routes/bridge-usdt-to-btc",
|
|
@@ -197,26 +221,12 @@ const $ = {
|
|
|
197
221
|
chain: "Solana",
|
|
198
222
|
isExternal: !0
|
|
199
223
|
},
|
|
200
|
-
|
|
201
|
-
title: " to
|
|
202
|
-
link: e + "/routes/bridge-
|
|
203
|
-
inputAsset: "
|
|
204
|
-
inputChain: "
|
|
205
|
-
|
|
206
|
-
},
|
|
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
|
-
usdcEthereumToUsdcBase: {
|
|
215
|
-
title: " to USDC",
|
|
216
|
-
link: e + "/routes/bridge-usdc-ethereum-to-usdc-base",
|
|
217
|
-
inputAsset: "USDC",
|
|
218
|
-
inputChain: "Ethereum",
|
|
219
|
-
chain: "Base",
|
|
224
|
+
cbBtcBaseTocbBtcSolana: {
|
|
225
|
+
title: " to cbBTC",
|
|
226
|
+
link: e + "/routes/bridge-cbbtc-base-to-cbbtc-solana",
|
|
227
|
+
inputAsset: "cbBTC",
|
|
228
|
+
inputChain: "Base",
|
|
229
|
+
chain: "Solana",
|
|
220
230
|
isExternal: !0
|
|
221
231
|
},
|
|
222
232
|
btcToLtc: {
|
|
@@ -224,165 +234,215 @@ const $ = {
|
|
|
224
234
|
link: e + "/routes/bridge-btc-to-ltc",
|
|
225
235
|
isExternal: !0,
|
|
226
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
|
|
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, ...v }, { 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: g(
|
|
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.png",
|
|
380
|
+
alt: "SOC 2 certified",
|
|
381
|
+
width: 53,
|
|
382
|
+
height: 53,
|
|
383
|
+
className: g(
|
|
384
|
+
"gf-h-[53px] gf-w-[53px] gf-transition-all gf-duration-500 gf-ease-in-out",
|
|
385
|
+
s && "gf-invert"
|
|
386
|
+
)
|
|
387
|
+
}
|
|
388
|
+
)
|
|
389
|
+
] })
|
|
339
390
|
] })
|
|
340
391
|
] })
|
|
341
392
|
] }),
|
|
342
|
-
/* @__PURE__ */
|
|
393
|
+
/* @__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
394
|
/* @__PURE__ */ t(
|
|
344
395
|
"div",
|
|
345
396
|
{
|
|
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 ${
|
|
397
|
+
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
398
|
}
|
|
348
399
|
),
|
|
349
|
-
/* @__PURE__ */
|
|
350
|
-
/* @__PURE__ */ t("div", { className: "gf-flex gf-w-fit gf-items-center gf-justify-start gf-gap-6", children: /* @__PURE__ */
|
|
351
|
-
|
|
400
|
+
/* @__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: [
|
|
401
|
+
/* @__PURE__ */ t("div", { className: "gf-flex gf-w-fit gf-items-center gf-justify-start gf-gap-6", children: /* @__PURE__ */ r(
|
|
402
|
+
u,
|
|
352
403
|
{
|
|
353
404
|
size: "h5",
|
|
354
|
-
className:
|
|
405
|
+
className: g(
|
|
406
|
+
"gf-flex gf-items-center gf-gap-1 gf-transition-all gf-duration-500 gf-ease-in-out",
|
|
407
|
+
s ? "gf-text-inherit" : "gf-text-graphite"
|
|
408
|
+
),
|
|
355
409
|
weight: "regular",
|
|
356
410
|
children: [
|
|
357
|
-
/* @__PURE__ */ t(
|
|
411
|
+
/* @__PURE__ */ t($, {}),
|
|
358
412
|
/* @__PURE__ */ t("span", { children: "Garden" }),
|
|
359
413
|
/* @__PURE__ */ t("span", { children: "2026" })
|
|
360
414
|
]
|
|
361
415
|
}
|
|
362
416
|
) }),
|
|
363
|
-
/* @__PURE__ */
|
|
417
|
+
/* @__PURE__ */ r("div", { className: "gf-flex gf-w-fit gf-items-center gf-justify-end gf-gap-6", children: [
|
|
364
418
|
/* @__PURE__ */ t(
|
|
365
|
-
|
|
419
|
+
u,
|
|
366
420
|
{
|
|
367
421
|
size: "h5",
|
|
368
422
|
as: "a",
|
|
369
|
-
className:
|
|
423
|
+
className: g(
|
|
424
|
+
"gf-cursor-pointer gf-underline-offset-2 gf-transition-all gf-duration-500 gf-ease-in-out gf-hover:underline",
|
|
425
|
+
s ? "gf-text-inherit" : "gf-text-graphite"
|
|
426
|
+
),
|
|
370
427
|
weight: "regular",
|
|
371
428
|
href: "https://garden.finance/privacy.pdf",
|
|
372
429
|
target: "_blank",
|
|
373
|
-
children:
|
|
430
|
+
children: E.privacyPolicy
|
|
374
431
|
}
|
|
375
432
|
),
|
|
376
433
|
/* @__PURE__ */ t(
|
|
377
|
-
|
|
434
|
+
u,
|
|
378
435
|
{
|
|
379
436
|
as: "a",
|
|
380
437
|
size: "h5",
|
|
381
|
-
className:
|
|
438
|
+
className: g(
|
|
439
|
+
"gf-cursor-pointer gf-underline-offset-2 gf-transition-all gf-duration-500 gf-ease-in-out gf-hover:underline",
|
|
440
|
+
s ? "gf-text-inherit" : "gf-text-graphite"
|
|
441
|
+
),
|
|
382
442
|
weight: "regular",
|
|
383
443
|
href: "https://garden.finance/terms.pdf",
|
|
384
444
|
target: "_blank",
|
|
385
|
-
children:
|
|
445
|
+
children: E.termsOfService
|
|
386
446
|
}
|
|
387
447
|
)
|
|
388
448
|
] })
|
|
@@ -390,12 +450,12 @@ const $ = {
|
|
|
390
450
|
] })
|
|
391
451
|
] }),
|
|
392
452
|
/* @__PURE__ */ t(
|
|
393
|
-
|
|
453
|
+
M,
|
|
394
454
|
{
|
|
395
455
|
isMobile: !1,
|
|
396
|
-
isLogoHovered:
|
|
397
|
-
maskUrl:
|
|
398
|
-
videoSrc:
|
|
456
|
+
isLogoHovered: s,
|
|
457
|
+
maskUrl: C,
|
|
458
|
+
videoSrc: k
|
|
399
459
|
}
|
|
400
460
|
)
|
|
401
461
|
]
|
|
@@ -403,5 +463,5 @@ const $ = {
|
|
|
403
463
|
);
|
|
404
464
|
};
|
|
405
465
|
export {
|
|
406
|
-
|
|
466
|
+
se as Footer
|
|
407
467
|
};
|