@gardenfi/garden-book 0.3.3 → 0.3.4
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/CookieConsent/CookieConsent.js +19 -18
- package/dist/Footer/Footer.d.ts +33 -0
- package/dist/Footer/index.js +129 -98
- package/package.json +1 -1
|
@@ -4,30 +4,31 @@ import { useCookieConsent as x } from "./useCookieConsent.js";
|
|
|
4
4
|
import { CookieConsentNotice as E } from "./CookieConsentNotice.js";
|
|
5
5
|
import { CookieConsentPreferences as N } from "./CookieConsentPreferences.js";
|
|
6
6
|
import { trackConsentEvent as r, DEFAULT_COOKIE_CATEGORIES as b, consentDecision as O } from "./utils.js";
|
|
7
|
-
import { cn as
|
|
7
|
+
import { cn as o } from "../utils/index.js";
|
|
8
8
|
const F = ({
|
|
9
|
-
privacyPolicyUrl:
|
|
10
|
-
categories:
|
|
11
|
-
defaultChecked:
|
|
9
|
+
privacyPolicyUrl: f,
|
|
10
|
+
categories: l = b,
|
|
11
|
+
defaultChecked: a = !0,
|
|
12
12
|
onChange: n,
|
|
13
|
-
config:
|
|
13
|
+
config: m,
|
|
14
14
|
desktopModal: e,
|
|
15
|
-
mobileBottomSheet:
|
|
15
|
+
mobileBottomSheet: u
|
|
16
16
|
}) => {
|
|
17
|
-
const { isOpen:
|
|
17
|
+
const { isOpen: s, view: _, ready: p, setView: v, close: y, acceptAll: A, save: C } = x(m);
|
|
18
18
|
if (!p) return null;
|
|
19
19
|
const g = {
|
|
20
20
|
preventClose: (e == null ? void 0 : e.preventClose) ?? !0,
|
|
21
21
|
disableScrollLock: (e == null ? void 0 : e.disableScrollLock) ?? !0,
|
|
22
|
-
overlayClassName:
|
|
22
|
+
overlayClassName: o(
|
|
23
23
|
"!gf-items-end !gf-justify-start gf-pl-[40px] !gf-bg-transparent !gf-pointer-events-none",
|
|
24
24
|
e == null ? void 0 : e.overlayClassName
|
|
25
25
|
),
|
|
26
|
-
className:
|
|
27
|
-
"!gf-pointer-events-auto !gf-
|
|
26
|
+
className: o(
|
|
27
|
+
s ? "!gf-pointer-events-auto" : "!gf-pointer-events-none",
|
|
28
|
+
"!gf-w-[420px] gf-gap-0 gf-px-3 gf-py-4 gf-rounded-t-4 gf-rounded-b-none",
|
|
28
29
|
e == null ? void 0 : e.className
|
|
29
30
|
)
|
|
30
|
-
},
|
|
31
|
+
}, i = () => {
|
|
31
32
|
A(), r("cookie_consent_set", {
|
|
32
33
|
consent_action: "accept_all",
|
|
33
34
|
consent_analytics: !0,
|
|
@@ -38,25 +39,25 @@ const F = ({
|
|
|
38
39
|
return /* @__PURE__ */ c(
|
|
39
40
|
S,
|
|
40
41
|
{
|
|
41
|
-
open:
|
|
42
|
+
open: s,
|
|
42
43
|
onClose: y,
|
|
43
44
|
desktopModal: g,
|
|
44
|
-
mobileBottomSheet:
|
|
45
|
+
mobileBottomSheet: u,
|
|
45
46
|
children: _ === "notice" ? /* @__PURE__ */ c(
|
|
46
47
|
E,
|
|
47
48
|
{
|
|
48
|
-
privacyPolicyUrl:
|
|
49
|
+
privacyPolicyUrl: f,
|
|
49
50
|
onChangePreferences: () => {
|
|
50
51
|
r("cookie_prefs_opened"), v("preferences");
|
|
51
52
|
},
|
|
52
|
-
onAcceptAll:
|
|
53
|
+
onAcceptAll: i
|
|
53
54
|
}
|
|
54
55
|
) : /* @__PURE__ */ c(
|
|
55
56
|
N,
|
|
56
57
|
{
|
|
57
|
-
categories:
|
|
58
|
-
defaultChecked:
|
|
59
|
-
onAcceptAll:
|
|
58
|
+
categories: l,
|
|
59
|
+
defaultChecked: a,
|
|
60
|
+
onAcceptAll: i,
|
|
60
61
|
onSave: (t) => {
|
|
61
62
|
C(t), r("cookie_consent_set", {
|
|
62
63
|
consent_action: "save",
|
package/dist/Footer/Footer.d.ts
CHANGED
|
@@ -5,12 +5,45 @@ export type SocialLinks = {
|
|
|
5
5
|
x?: string;
|
|
6
6
|
youtube?: string;
|
|
7
7
|
};
|
|
8
|
+
export type FooterLabels = {
|
|
9
|
+
sections?: {
|
|
10
|
+
products?: string;
|
|
11
|
+
resources?: string;
|
|
12
|
+
developers?: string;
|
|
13
|
+
routes?: string;
|
|
14
|
+
};
|
|
15
|
+
products?: {
|
|
16
|
+
swap?: string;
|
|
17
|
+
stake?: string;
|
|
18
|
+
explorer?: string;
|
|
19
|
+
};
|
|
20
|
+
resources?: {
|
|
21
|
+
blog?: string;
|
|
22
|
+
routes?: string;
|
|
23
|
+
faq?: string;
|
|
24
|
+
brandKit?: string;
|
|
25
|
+
analytics?: string;
|
|
26
|
+
governance?: string;
|
|
27
|
+
};
|
|
28
|
+
developers?: {
|
|
29
|
+
docs?: string;
|
|
30
|
+
api?: string;
|
|
31
|
+
sdk?: string;
|
|
32
|
+
security?: string;
|
|
33
|
+
};
|
|
34
|
+
legal?: {
|
|
35
|
+
privacyPolicy?: string;
|
|
36
|
+
termsOfService?: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
8
39
|
type FooterProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
9
40
|
network?: string;
|
|
10
41
|
navigate?: (path: string) => void;
|
|
11
42
|
maskUrl?: string;
|
|
12
43
|
socialLinks?: SocialLinks;
|
|
13
44
|
bgVideoSrc?: string;
|
|
45
|
+
labels?: FooterLabels;
|
|
46
|
+
locale?: string;
|
|
14
47
|
};
|
|
15
48
|
export declare const Footer: React.FC<FooterProps>;
|
|
16
49
|
export {};
|
package/dist/Footer/index.js
CHANGED
|
@@ -1,107 +1,138 @@
|
|
|
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 T, useRef as I, useEffect as R } from "react";
|
|
3
|
+
import { GardenIcon as _ } from "../Logo/GardenIcon.js";
|
|
4
|
+
import { CopyrightsIcon as O } from "../Icons/CopyrightsIcon.js";
|
|
5
|
+
import { DiscordIcon as j } from "../Icons/DiscordIcon.js";
|
|
6
|
+
import { XIcon as $ } from "../Icons/XIcon.js";
|
|
7
|
+
import { YoutubeIcon as P } from "../Icons/YoutubeIcon.js";
|
|
8
|
+
import { cn as M } from "../utils/index.js";
|
|
9
|
+
import { FooterBackgroundAnimation as z } from "./FooterBackgroundAnimation.js";
|
|
10
|
+
import { FooterLinks as l } from "./FooterLink.js";
|
|
11
|
+
import K from "../assets/maskRect.svg.js";
|
|
12
|
+
import { useClientOnly as F } from "../hooks/useClientOnly.js";
|
|
13
|
+
import { Typography as p } 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:
|
|
18
|
+
}, se = ({
|
|
19
|
+
className: w,
|
|
20
20
|
network: s = "mainnet",
|
|
21
|
-
maskUrl:
|
|
22
|
-
socialLinks:
|
|
23
|
-
bgVideoSrc:
|
|
24
|
-
|
|
21
|
+
maskUrl: k = K,
|
|
22
|
+
socialLinks: v,
|
|
23
|
+
bgVideoSrc: C,
|
|
24
|
+
labels: i,
|
|
25
|
+
locale: x,
|
|
26
|
+
...B
|
|
25
27
|
}) => {
|
|
26
|
-
const [
|
|
28
|
+
const [c, h] = T(!1), [N, S] = T(
|
|
27
29
|
null
|
|
28
|
-
),
|
|
29
|
-
|
|
30
|
-
|
|
30
|
+
), g = F(), n = I(null);
|
|
31
|
+
R(() => () => {
|
|
32
|
+
n.current && clearTimeout(n.current);
|
|
31
33
|
}, []);
|
|
32
|
-
const
|
|
34
|
+
const o = {
|
|
35
|
+
products: "Products",
|
|
36
|
+
resources: "Resources",
|
|
37
|
+
developers: "Developers",
|
|
38
|
+
routes: "Routes",
|
|
39
|
+
...i == null ? void 0 : i.sections
|
|
40
|
+
}, u = {
|
|
41
|
+
swap: "Swap",
|
|
42
|
+
stake: "Stake",
|
|
43
|
+
explorer: "Explorer",
|
|
44
|
+
...i == null ? void 0 : i.products
|
|
45
|
+
}, f = {
|
|
46
|
+
blog: "Blog",
|
|
47
|
+
routes: "Routes",
|
|
48
|
+
faq: "FAQs",
|
|
49
|
+
brandKit: "Brand kit",
|
|
50
|
+
analytics: "Analytics",
|
|
51
|
+
governance: "Governance",
|
|
52
|
+
...i == null ? void 0 : i.resources
|
|
53
|
+
}, a = {
|
|
54
|
+
docs: "Docs",
|
|
55
|
+
api: "API",
|
|
56
|
+
sdk: "SDK",
|
|
57
|
+
security: "Security",
|
|
58
|
+
...i == null ? void 0 : i.developers
|
|
59
|
+
}, b = {
|
|
60
|
+
privacyPolicy: "Privacy Policy",
|
|
61
|
+
termsOfService: "Terms of Service",
|
|
62
|
+
...i == null ? void 0 : i.legal
|
|
63
|
+
}, d = s && s === "testnet" ? "https://testnet.garden.finance" : "https://app.garden.finance", e = `https://garden.finance${x ? `/${x}` : ""}`, y = {
|
|
33
64
|
Products: {
|
|
34
65
|
swap: {
|
|
35
|
-
title:
|
|
36
|
-
link: s && s === "testnet" ? `${
|
|
66
|
+
title: u.swap,
|
|
67
|
+
link: s && s === "testnet" ? `${d}/?input-chain=bitcoin_testnet&input-asset=BTC` : `${d}/?input-chain=bitcoin&input-asset=BTC`,
|
|
37
68
|
isExternal: !0
|
|
38
69
|
},
|
|
39
70
|
stake: {
|
|
40
|
-
title:
|
|
41
|
-
link: s && s === "testnet" ? void 0 : `${
|
|
71
|
+
title: u.stake,
|
|
72
|
+
link: s && s === "testnet" ? void 0 : `${d}/stake`,
|
|
42
73
|
isExternal: !0
|
|
43
74
|
},
|
|
44
75
|
explorer: {
|
|
45
|
-
title:
|
|
76
|
+
title: u.explorer,
|
|
46
77
|
link: s && s === "testnet" ? "https://testnet-explorer.garden.finance/" : "https://explorer.garden.finance/",
|
|
47
78
|
isExternal: !0
|
|
48
79
|
}
|
|
49
80
|
},
|
|
50
81
|
Resources: {
|
|
51
82
|
blog: {
|
|
52
|
-
title:
|
|
83
|
+
title: f.blog,
|
|
53
84
|
link: `${e}/blog`,
|
|
54
85
|
isExternal: !0
|
|
55
86
|
},
|
|
56
87
|
routes: {
|
|
57
|
-
title:
|
|
88
|
+
title: f.routes,
|
|
58
89
|
link: `${e}/routes`,
|
|
59
90
|
isExternal: !0
|
|
60
91
|
},
|
|
61
92
|
faq: {
|
|
62
|
-
title:
|
|
93
|
+
title: f.faq,
|
|
63
94
|
link: `${e}/faq`,
|
|
64
95
|
isExternal: !0
|
|
65
96
|
},
|
|
66
97
|
brandKit: {
|
|
67
|
-
title:
|
|
98
|
+
title: f.brandKit,
|
|
68
99
|
link: `${e}/brand-kit`,
|
|
69
100
|
isExternal: !0
|
|
70
101
|
},
|
|
71
102
|
analytics: {
|
|
72
|
-
title:
|
|
103
|
+
title: f.analytics,
|
|
73
104
|
link: "https://dune.com/garden_finance/gardenfinance",
|
|
74
105
|
isExternal: !0
|
|
75
106
|
},
|
|
76
107
|
Governance: {
|
|
77
|
-
title:
|
|
108
|
+
title: f.governance,
|
|
78
109
|
link: "https://docs.garden.finance/home/governance",
|
|
79
110
|
isExternal: !0
|
|
80
111
|
}
|
|
81
112
|
},
|
|
82
113
|
Developers: {
|
|
83
114
|
docs: {
|
|
84
|
-
title:
|
|
115
|
+
title: a.docs,
|
|
85
116
|
link: "https://docs.garden.finance/",
|
|
86
117
|
isExternal: !0
|
|
87
118
|
},
|
|
88
119
|
api: {
|
|
89
|
-
title:
|
|
120
|
+
title: a.api,
|
|
90
121
|
link: "https://docs.garden.finance/developers/api/overview",
|
|
91
122
|
isExternal: !0
|
|
92
123
|
},
|
|
93
124
|
sdk: {
|
|
94
|
-
title:
|
|
125
|
+
title: a.sdk,
|
|
95
126
|
link: "https://docs.garden.finance/developers/sdk/overview",
|
|
96
127
|
isExternal: !0
|
|
97
128
|
},
|
|
98
129
|
security: {
|
|
99
|
-
title:
|
|
130
|
+
title: a.security,
|
|
100
131
|
link: `${e}/security`,
|
|
101
132
|
isExternal: !0
|
|
102
133
|
}
|
|
103
134
|
}
|
|
104
|
-
},
|
|
135
|
+
}, L = {
|
|
105
136
|
btcToSol: {
|
|
106
137
|
title: "BTC to SOL",
|
|
107
138
|
link: e + "/routes/bridge-btc-to-sol",
|
|
@@ -225,113 +256,113 @@ const $ = {
|
|
|
225
256
|
isExternal: !0,
|
|
226
257
|
chain: "Litecoin"
|
|
227
258
|
}
|
|
228
|
-
},
|
|
229
|
-
return /* @__PURE__ */
|
|
259
|
+
}, m = { ...G, ...v }, { Products: A, Resources: E, Developers: U } = y;
|
|
260
|
+
return /* @__PURE__ */ r(
|
|
230
261
|
"footer",
|
|
231
262
|
{
|
|
232
|
-
className:
|
|
263
|
+
className: M(
|
|
233
264
|
"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-px-6 gf-pb-10 gf-pt-20 md:gf-px-10",
|
|
234
|
-
|
|
235
|
-
|
|
265
|
+
w,
|
|
266
|
+
c ? "gf-text-white" : "gf-text-dark-grey"
|
|
236
267
|
),
|
|
237
|
-
...
|
|
268
|
+
...B,
|
|
238
269
|
children: [
|
|
239
|
-
/* @__PURE__ */
|
|
240
|
-
/* @__PURE__ */
|
|
241
|
-
/* @__PURE__ */
|
|
270
|
+
/* @__PURE__ */ r("div", { className: "gf-z-30 gf-w-full gf-max-w-screen-2xl", children: [
|
|
271
|
+
/* @__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: [
|
|
272
|
+
/* @__PURE__ */ r("div", { className: "gf-flex gf-w-full gf-items-center gf-justify-between gf-gap-6", children: [
|
|
242
273
|
/* @__PURE__ */ t(
|
|
243
|
-
|
|
274
|
+
_,
|
|
244
275
|
{
|
|
245
276
|
onMouseEnter: () => {
|
|
246
|
-
|
|
247
|
-
|
|
277
|
+
n.current && clearTimeout(n.current), n.current = setTimeout(() => {
|
|
278
|
+
h(!0);
|
|
248
279
|
}, 300);
|
|
249
280
|
},
|
|
250
281
|
onMouseLeave: () => {
|
|
251
|
-
|
|
282
|
+
n.current && (clearTimeout(n.current), n.current = null), h(!1);
|
|
252
283
|
},
|
|
253
284
|
className: "gf-h-8 gf-w-8 gf-cursor-pointer gf-duration-500 gf-ease-in-out",
|
|
254
|
-
onClick: (
|
|
285
|
+
onClick: (D) => D.preventDefault()
|
|
255
286
|
}
|
|
256
287
|
),
|
|
257
|
-
/* @__PURE__ */
|
|
288
|
+
/* @__PURE__ */ r("div", { className: "gf-flex gf-items-center gf-gap-4", children: [
|
|
258
289
|
/* @__PURE__ */ t(
|
|
259
|
-
|
|
290
|
+
$,
|
|
260
291
|
{
|
|
261
292
|
onClick: () => {
|
|
262
|
-
|
|
293
|
+
g && window.open(m.x, "_blank");
|
|
263
294
|
},
|
|
264
295
|
className: "gf-cursor-pointer gf-duration-500 gf-ease-in-out"
|
|
265
296
|
}
|
|
266
297
|
),
|
|
267
298
|
/* @__PURE__ */ t(
|
|
268
|
-
|
|
299
|
+
j,
|
|
269
300
|
{
|
|
270
301
|
onClick: () => {
|
|
271
|
-
|
|
302
|
+
g && window.open(m.discord, "_blank");
|
|
272
303
|
},
|
|
273
304
|
className: "gf-cursor-pointer gf-duration-500 gf-ease-in-out"
|
|
274
305
|
}
|
|
275
306
|
),
|
|
276
307
|
/* @__PURE__ */ t(
|
|
277
|
-
|
|
308
|
+
P,
|
|
278
309
|
{
|
|
279
310
|
onClick: () => {
|
|
280
|
-
|
|
311
|
+
g && window.open(m.youtube, "_blank");
|
|
281
312
|
},
|
|
282
313
|
className: "gf-cursor-pointer gf-duration-500 gf-ease-in-out"
|
|
283
314
|
}
|
|
284
315
|
)
|
|
285
316
|
] })
|
|
286
317
|
] }),
|
|
287
|
-
/* @__PURE__ */
|
|
288
|
-
/* @__PURE__ */
|
|
318
|
+
/* @__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-6 md:gf-flex-row", children: [
|
|
319
|
+
/* @__PURE__ */ r("div", { className: "gf-flex gf-w-full gf-flex-col sm:gf-flex-row gf-gap-6 gf-items-start gf-justify-between sm:gf-gap-3 md:gf-w-fit", children: [
|
|
289
320
|
/* @__PURE__ */ t("div", { className: "gf-w-full md:gf-hidden", children: /* @__PURE__ */ t(
|
|
290
|
-
|
|
321
|
+
l,
|
|
291
322
|
{
|
|
292
|
-
title:
|
|
293
|
-
links:
|
|
323
|
+
title: o.resources,
|
|
324
|
+
links: E,
|
|
294
325
|
className: "gf-flex gf-w-full gf-flex-col gf-gap-3",
|
|
295
326
|
listClassName: "gf-flex gf-flex-col gf-gap-2"
|
|
296
327
|
}
|
|
297
328
|
) }),
|
|
298
329
|
/* @__PURE__ */ t("div", { className: "gf-flex gf-w-full gf-max-w-[400px] gf-flex-col gf-gap-3 md:gf-w-fit", children: /* @__PURE__ */ t(
|
|
299
|
-
|
|
330
|
+
l,
|
|
300
331
|
{
|
|
301
|
-
title:
|
|
302
|
-
links:
|
|
303
|
-
hoveredIndex:
|
|
304
|
-
onHover:
|
|
332
|
+
title: o.routes,
|
|
333
|
+
links: L,
|
|
334
|
+
hoveredIndex: N,
|
|
335
|
+
onHover: S,
|
|
305
336
|
className: "gf-flex gf-w-full gf-max-w-[400px] gf-flex-col gf-gap-3 md:gf-w-fit",
|
|
306
337
|
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
338
|
isRoutes: !0
|
|
308
339
|
}
|
|
309
340
|
) })
|
|
310
341
|
] }),
|
|
311
|
-
/* @__PURE__ */
|
|
342
|
+
/* @__PURE__ */ r("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: [
|
|
312
343
|
/* @__PURE__ */ t(
|
|
313
|
-
|
|
344
|
+
l,
|
|
314
345
|
{
|
|
315
|
-
title:
|
|
316
|
-
links:
|
|
346
|
+
title: o.products,
|
|
347
|
+
links: A,
|
|
317
348
|
className: "gf-flex gf-w-full gf-flex-col gf-gap-3 md:gf-w-fit",
|
|
318
349
|
listClassName: "gf-flex gf-w-fit gf-flex-col gf-gap-1 gf-gap-x-6"
|
|
319
350
|
}
|
|
320
351
|
),
|
|
321
352
|
/* @__PURE__ */ t(
|
|
322
|
-
|
|
353
|
+
l,
|
|
323
354
|
{
|
|
324
|
-
title:
|
|
325
|
-
links:
|
|
355
|
+
title: o.developers,
|
|
356
|
+
links: U,
|
|
326
357
|
className: "gf-flex gf-w-full gf-flex-col gf-gap-3 md:gf-w-fit",
|
|
327
358
|
listClassName: "gf-flex gf-flex-col gf-gap-1"
|
|
328
359
|
}
|
|
329
360
|
),
|
|
330
361
|
/* @__PURE__ */ t("div", { className: "gf-hidden md:gf-flex", children: /* @__PURE__ */ t(
|
|
331
|
-
|
|
362
|
+
l,
|
|
332
363
|
{
|
|
333
|
-
title:
|
|
334
|
-
links:
|
|
364
|
+
title: o.resources,
|
|
365
|
+
links: E,
|
|
335
366
|
className: "gf-flex gf-w-full gf-flex-col gf-gap-3",
|
|
336
367
|
listClassName: "gf-flex gf-flex-col gf-gap-1"
|
|
337
368
|
}
|
|
@@ -339,30 +370,30 @@ const $ = {
|
|
|
339
370
|
] })
|
|
340
371
|
] })
|
|
341
372
|
] }),
|
|
342
|
-
/* @__PURE__ */
|
|
373
|
+
/* @__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
374
|
/* @__PURE__ */ t(
|
|
344
375
|
"div",
|
|
345
376
|
{
|
|
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 ${
|
|
377
|
+
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 ${c ? "gf-bg-white" : "gf-bg-dark-grey"}`
|
|
347
378
|
}
|
|
348
379
|
),
|
|
349
|
-
/* @__PURE__ */
|
|
350
|
-
/* @__PURE__ */ t("div", { className: "gf-flex gf-w-fit gf-items-center gf-justify-start gf-gap-6", children: /* @__PURE__ */
|
|
351
|
-
|
|
380
|
+
/* @__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: [
|
|
381
|
+
/* @__PURE__ */ t("div", { className: "gf-flex gf-w-fit gf-items-center gf-justify-start gf-gap-6", children: /* @__PURE__ */ r(
|
|
382
|
+
p,
|
|
352
383
|
{
|
|
353
384
|
size: "h5",
|
|
354
385
|
className: "gf-flex gf-items-center gf-gap-1 gf-transition-all gf-duration-500 gf-ease-in-out gf-text-inherit",
|
|
355
386
|
weight: "regular",
|
|
356
387
|
children: [
|
|
357
|
-
/* @__PURE__ */ t(
|
|
388
|
+
/* @__PURE__ */ t(O, {}),
|
|
358
389
|
/* @__PURE__ */ t("span", { children: "Garden" }),
|
|
359
390
|
/* @__PURE__ */ t("span", { children: "2026" })
|
|
360
391
|
]
|
|
361
392
|
}
|
|
362
393
|
) }),
|
|
363
|
-
/* @__PURE__ */
|
|
394
|
+
/* @__PURE__ */ r("div", { className: "gf-flex gf-w-fit gf-items-center gf-justify-end gf-gap-6", children: [
|
|
364
395
|
/* @__PURE__ */ t(
|
|
365
|
-
|
|
396
|
+
p,
|
|
366
397
|
{
|
|
367
398
|
size: "h5",
|
|
368
399
|
as: "a",
|
|
@@ -370,11 +401,11 @@ const $ = {
|
|
|
370
401
|
weight: "regular",
|
|
371
402
|
href: "https://garden.finance/privacy.pdf",
|
|
372
403
|
target: "_blank",
|
|
373
|
-
children:
|
|
404
|
+
children: b.privacyPolicy
|
|
374
405
|
}
|
|
375
406
|
),
|
|
376
407
|
/* @__PURE__ */ t(
|
|
377
|
-
|
|
408
|
+
p,
|
|
378
409
|
{
|
|
379
410
|
as: "a",
|
|
380
411
|
size: "h5",
|
|
@@ -382,7 +413,7 @@ const $ = {
|
|
|
382
413
|
weight: "regular",
|
|
383
414
|
href: "https://garden.finance/terms.pdf",
|
|
384
415
|
target: "_blank",
|
|
385
|
-
children:
|
|
416
|
+
children: b.termsOfService
|
|
386
417
|
}
|
|
387
418
|
)
|
|
388
419
|
] })
|
|
@@ -390,12 +421,12 @@ const $ = {
|
|
|
390
421
|
] })
|
|
391
422
|
] }),
|
|
392
423
|
/* @__PURE__ */ t(
|
|
393
|
-
|
|
424
|
+
z,
|
|
394
425
|
{
|
|
395
426
|
isMobile: !1,
|
|
396
|
-
isLogoHovered:
|
|
397
|
-
maskUrl:
|
|
398
|
-
videoSrc:
|
|
427
|
+
isLogoHovered: c,
|
|
428
|
+
maskUrl: k,
|
|
429
|
+
videoSrc: C
|
|
399
430
|
}
|
|
400
431
|
)
|
|
401
432
|
]
|
|
@@ -403,5 +434,5 @@ const $ = {
|
|
|
403
434
|
);
|
|
404
435
|
};
|
|
405
436
|
export {
|
|
406
|
-
|
|
437
|
+
se as Footer
|
|
407
438
|
};
|