@gardenfi/garden-book 0.2.3-beta.13 → 0.2.3-beta.15
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/BlogCard/BlogCard.js +60 -0
- package/dist/BottomSheet/BottomSheet.js +17 -0
- package/dist/Button/Button.js +108 -0
- package/dist/Button/ClientOnlyLottie.js +27 -0
- package/dist/{Button.js → Button/spinner.json.js} +30 -170
- package/dist/Checkbox/Checkbox.js +7 -0
- package/dist/Chip/Chip.js +20 -0
- package/dist/ClientOnly/ClientOnly.js +6 -0
- package/dist/Container/Container.js +6 -0
- package/dist/Footer/Footer.js +371 -0
- package/dist/Footer/FooterBackgroundAnimation.js +100 -0
- package/dist/Footer/FooterLink.js +86 -0
- package/dist/GradientScroll/GradientScroll.js +73 -0
- package/dist/Icons/APIIcon/APIIcon.js +37 -0
- package/dist/Icons/AddIcon/AddIcon.js +16 -0
- package/dist/Icons/ArrowDownwardIcon/ArrowDownwardIcon.js +16 -0
- package/dist/Icons/ArrowEastIcon/ArrowEastIcon.js +22 -0
- package/dist/Icons/ArrowInwardIcon/ArrowInwardIcon.js +37 -0
- package/dist/Icons/ArrowLeftIcon/ArrowLeftIcon.js +16 -0
- package/dist/Icons/ArrowNorthEastIcon/ArrowNorthEastIcon.js +16 -0
- package/dist/Icons/ArrowNorthWestIcon/ArrowNorthWestIcon.js +16 -0
- package/dist/Icons/ArrowRightIcon/ArrowRightIcon.js +16 -0
- package/dist/Icons/ArrowSouthEastIcon/ArrowSouthEastIcon.js +16 -0
- package/dist/Icons/ArrowSouthWestIcon/ArrowSouthWestIcon.js +16 -0
- package/dist/Icons/ArrowSyncIcon/ArrowSyncIcon.js +16 -0
- package/dist/Icons/ArrowUpwardIcon/ArrowUpwardIcon.js +16 -0
- package/dist/Icons/BlogIcon/BlogIcon.js +37 -0
- package/dist/Icons/BrandKitIcon/BrandKitIcon.js +37 -0
- package/dist/Icons/CancelIcon/CancelIcon.js +22 -0
- package/dist/Icons/ChainflipIcon/ChainflipIcon.js +103 -0
- package/dist/Icons/CheckCircleIcon/CheckCircleIcon.js +22 -0
- package/dist/Icons/CheckIcon/CheckIcon.js +16 -0
- package/dist/Icons/Checked/Checked.js +37 -0
- package/dist/Icons/ClockIcon/ClockIcon.js +16 -0
- package/dist/Icons/CloseIcon/CloseIcon.js +16 -0
- package/dist/Icons/CodeBlockIcon/CodeBlockIcon.js +22 -0
- package/dist/Icons/CompareArrowsIcon/CompareArrowsIcon.js +22 -0
- package/dist/Icons/ConsoleIcon/ConsoleIcon.js +22 -0
- package/dist/Icons/CopyIcon/CopyIcon.js +16 -0
- package/dist/Icons/CopyrightsIcon/CopyrightsIcon.js +22 -0
- package/dist/Icons/DeleteIcon/DeleteIcon.js +16 -0
- package/dist/Icons/DiscordIcon/DiscordIcon.js +22 -0
- package/dist/Icons/DollarChipIcon/DollarChipIcon.js +37 -0
- package/dist/Icons/DraftIcon/DraftIcon.js +37 -0
- package/dist/Icons/EditIcon/EditIcon.js +16 -0
- package/dist/Icons/EncryptedIcon/EncryptedIcon.js +37 -0
- package/dist/Icons/ExchangeIcon/ExchangeIcon.js +19 -0
- package/dist/Icons/FaqIcon/FaqIcon.js +37 -0
- package/dist/Icons/FeesIcon/FeesIcon.js +22 -0
- package/dist/Icons/FingerprintIcon/FingerprintIcon.js +22 -0
- package/dist/Icons/FolderIcon/FolderIcon.js +37 -0
- package/dist/Icons/GasStationIcon/GasStationIcon.js +22 -0
- package/dist/Icons/GiftBoxIcon/GiftBoxIcon.js +37 -0
- package/dist/Icons/{LanguageIcon → GlobeIcon}/GlobeIcon.d.ts +1 -1
- package/dist/Icons/GlobeIcon/GlobeIcon.js +16 -0
- package/dist/Icons/GlobeIcon/index.d.ts +1 -0
- package/dist/Icons/HorizontalSwap/HorizontalSwap.js +37 -0
- package/dist/Icons/HubIcon/HubIcon.js +16 -0
- package/dist/Icons/InfinityIcon/InfinityIcon.js +22 -0
- package/dist/Icons/InfoIcon/InfoIcon.js +16 -0
- package/dist/Icons/KeyboardDownIcon/KeyboardDownIcon.js +16 -0
- package/dist/Icons/KeyboardLeftIcon/KeyboardLeftIcon.js +16 -0
- package/dist/Icons/KeyboardRightIcon/KeyboardRightIcon.js +16 -0
- package/dist/Icons/KeyboardUpIcon/KeyboardUpIcon.js +16 -0
- package/dist/Icons/LinkIcon/LinkIcon.js +16 -0
- package/dist/Icons/LockIcon/LockIcon.js +16 -0
- package/dist/Icons/LogoutIcon/LogoutIcon.js +16 -0
- package/dist/Icons/MenuIcon/MenuIcon.js +16 -0
- package/dist/Icons/MinusIcon/MinusIcon.js +19 -0
- package/dist/Icons/OpenInFullIcon/OpenInFullIcon.js +16 -0
- package/dist/Icons/OpenInNewIcon/OpenInNewIcon.js +22 -0
- package/dist/Icons/OtterSecIcon/OtterSecIcon.js +31 -0
- package/dist/Icons/PageInfoIcon/PageInfoIcon.js +16 -0
- package/dist/Icons/PasskeyIcon/PasskeyIcon.js +22 -0
- package/dist/Icons/PasskeyIcon/index.d.ts +1 -1
- package/dist/Icons/PlusIcon/PlusIcon.js +19 -0
- package/dist/Icons/RadioCheckedIcon/RadioCheckedIcon.js +16 -0
- package/dist/Icons/RadioUncheckedIcon/RadioUncheckedIcon.js +16 -0
- package/dist/Icons/RaiseHandIcon/RaiseHandIcon.js +37 -0
- package/dist/Icons/ReferralIcon/ReferralIcon.js +16 -0
- package/dist/Icons/RelayLinkIcon/RelayLinkIcon.js +88 -0
- package/dist/Icons/RemoveIcon/RemoveIcon.js +16 -0
- package/dist/Icons/Rotate360Icon/Rotate360Icon.js +37 -0
- package/dist/Icons/RoutingIcon/RoutingIcon.js +37 -0
- package/dist/Icons/RowInfoIcon/RowInfoIcon.js +37 -0
- package/dist/Icons/SDKIcon/SDKIcon.js +37 -0
- package/dist/Icons/SearchIcon/SearchIcon.js +16 -0
- package/dist/Icons/SearchIconThin/SearchIconThin.js +37 -0
- package/dist/Icons/Share/Share.js +22 -0
- package/dist/Icons/StakeIcon/StakeIcon.js +37 -0
- package/dist/Icons/StarIcon/StarIcon.js +16 -0
- package/dist/Icons/SwapHorizontalIcon/SwapHorizontalIcon.js +21 -0
- package/dist/Icons/ThorswapIcon/ThorswapIcon.js +55 -0
- package/dist/Icons/TimerIcon/TimerIcon.js +16 -0
- package/dist/Icons/Unchecked/Unchecked.js +37 -0
- package/dist/Icons/WalletIcon/WalletIcon.js +16 -0
- package/dist/Icons/WalletIconRose/WalletIconRose.js +22 -0
- package/dist/Icons/WarningIcon/WarningIcon.js +37 -0
- package/dist/Icons/XIcon/XIcon.js +22 -0
- package/dist/Icons/XSolidIcon/XSolidIcon.js +22 -0
- package/dist/Icons/ZellicIcon/ZellicIcon.js +101 -0
- package/dist/Icons/index.d.ts +1 -1
- package/dist/InfoBadge/InfoBadge.js +16 -0
- package/dist/Logo/ArbitrumLogo/ArbitrumLogo.js +66 -0
- package/dist/Logo/BTCLogo/BTCLogo.js +32 -0
- package/dist/Logo/Camelot/Camelot.js +73 -0
- package/dist/Logo/CatalogLogo/CatalogLogo.js +44 -0
- package/dist/Logo/Coinbase/Coinbase.js +24 -0
- package/dist/Logo/DLCBTC/DLCBTC.js +68 -0
- package/dist/Logo/Debridge/Debridge.js +103 -0
- package/dist/Logo/Dodo/DODO.js +77 -0
- package/dist/Logo/EthereumLogo/EthereumLogo.js +60 -0
- package/dist/Logo/GMX/GMX.js +49 -0
- package/dist/Logo/GMXLogo/GMXLogo.js +40 -0
- package/dist/Logo/GardenDocs/GardenDocs.js +31 -0
- package/dist/Logo/GardenExplorer/GardenExplorer.js +34 -0
- package/dist/Logo/GardenExplorerAlt/GardenExplorerAlt.js +31 -0
- package/dist/Logo/GardenFullLogo/GardenFullLogo.js +66 -0
- package/dist/{GardenIcon-E0OJI-b-.js → Logo/GardenIcon/GardenIcon.js} +11 -13
- package/dist/Logo/GardenIconOutline/GardenIconOutline.js +43 -0
- package/dist/Logo/GardenLogo/GardenLogo.js +33 -0
- package/dist/Logo/GardenLogoDark/GardenLogoDark.js +83 -0
- package/dist/Logo/GardenLogoLight/GardenLogoLight.js +83 -0
- package/dist/Logo/GardenLogoMarkDark/GardenLogoMarkDark.js +41 -0
- package/dist/Logo/GardenLogoMarkLight/GardenLogoMarkLight.js +41 -0
- package/dist/Logo/GardenLogoText/GardenLogoText.js +59 -0
- package/dist/Logo/GardenStrokeIcon/GardenStrokeIcon.js +43 -0
- package/dist/Logo/NFTIcon/NFTIcon.js +37 -0
- package/dist/Logo/PancakeSwap/PancakeSwap.js +134 -0
- package/dist/Logo/PhantomIcon/PhantomIcon.js +23 -0
- package/dist/Logo/PolygonLogo/PolygonLogo.js +31 -0
- package/dist/Logo/Radiant/Radiant.js +31 -0
- package/dist/Logo/RadiantLogo/RadiantLogo.js +40 -0
- package/dist/Logo/Solv/Solv.js +73 -0
- package/dist/Logo/SwellBTC/SwellBTC.js +31 -0
- package/dist/Logo/TraderJoe/TraderJoe.js +98 -0
- package/dist/Logo/TrailOfBits/TrailOfBits.js +190 -0
- package/dist/Logo/TrustWallet/TrustWallet.js +50 -0
- package/dist/Logo/Vertex/Vertex.js +90 -0
- package/dist/Logo/WalletConnect/WalletConnect.js +22 -0
- package/dist/Modal/Modal.js +66 -0
- package/dist/Opacity/Opacity.d.ts +1 -1
- package/dist/Opacity/Opacity.js +25 -0
- package/dist/QuestCard/QuestCard.js +57 -0
- package/dist/Sidebar/Sidebar.js +41 -0
- package/dist/TokenInfo/TokenInfo.js +44 -0
- package/dist/TokenNetworkLogos/TokenNetworkLogos.js +41 -0
- package/dist/{Typography-DX9XpQWB.js → Typography/Typography.js} +23 -25
- package/dist/animations/RollingText/RollingText.d.ts +12 -0
- package/dist/animations/RollingText/RollingText.js +70 -0
- package/dist/animations/ScaleY/ScaleY.d.ts +12 -0
- package/dist/animations/ScaleY/ScaleY.js +32 -0
- package/dist/animations/Shine/Shine.d.ts +11 -0
- package/dist/animations/Shine/Shine.js +6 -0
- package/dist/animations/index.d.ts +5 -0
- package/dist/assets/blogPlaceholder.svg.js +4 -0
- package/dist/assets/maskRect.svg.js +4 -0
- package/dist/hooks/useClientOnly.d.ts +5 -0
- package/dist/hooks/useClientOnly.js +10 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.js +287 -0
- package/dist/node_modules/@radix-ui/primitive/dist/index.js +9 -0
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +29 -0
- package/dist/node_modules/@radix-ui/react-context/dist/index.js +70 -0
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +257 -0
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +127 -0
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +17 -0
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +137 -0
- package/dist/node_modules/@radix-ui/react-id/dist/index.js +13 -0
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js +16 -0
- package/dist/node_modules/@radix-ui/react-presence/dist/index.js +71 -0
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +36 -0
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js +50 -0
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +13 -0
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +54 -0
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +14 -0
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +6 -0
- package/dist/node_modules/aria-hidden/dist/es2015/index.js +52 -0
- package/dist/node_modules/vaul/dist/index.js +1038 -0
- package/dist/style.css +1 -17
- package/dist/utils/utils.d.ts +3 -0
- package/dist/utils/utils.js +6 -0
- package/package.json +16 -4
- package/dist/BlogCard.js +0 -820
- package/dist/BlogCard.js.map +0 -1
- package/dist/BottomSheet.js +0 -2801
- package/dist/BottomSheet.js.map +0 -1
- package/dist/Button/spinner.json.d.ts +0 -3
- package/dist/Button.js.map +0 -1
- package/dist/Checkbox.js +0 -9
- package/dist/Checkbox.js.map +0 -1
- package/dist/Chip-DOSAEkS5.js +0 -24
- package/dist/Chip-DOSAEkS5.js.map +0 -1
- package/dist/Chip.js +0 -5
- package/dist/Chip.js.map +0 -1
- package/dist/ClientOnly-CMQEf-Yl.js +0 -13
- package/dist/ClientOnly-CMQEf-Yl.js.map +0 -1
- package/dist/ClientOnly.js +0 -5
- package/dist/ClientOnly.js.map +0 -1
- package/dist/Combination-BN2ESQ8D.js +0 -666
- package/dist/Combination-BN2ESQ8D.js.map +0 -1
- package/dist/Container.js +0 -9
- package/dist/Container.js.map +0 -1
- package/dist/Footer.js +0 -661
- package/dist/Footer.js.map +0 -1
- package/dist/GardenIcon-E0OJI-b-.js.map +0 -1
- package/dist/GradientScroll.js +0 -86
- package/dist/GradientScroll.js.map +0 -1
- package/dist/Icons/LanguageIcon/index.d.ts +0 -1
- package/dist/Icons.js +0 -1936
- package/dist/Icons.js.map +0 -1
- package/dist/InfoBadge.js +0 -19
- package/dist/InfoBadge.js.map +0 -1
- package/dist/KeyboardDownIcon-hh63DdT7.js +0 -19
- package/dist/KeyboardDownIcon-hh63DdT7.js.map +0 -1
- package/dist/Logo.js +0 -2044
- package/dist/Logo.js.map +0 -1
- package/dist/Modal.js +0 -77
- package/dist/Modal.js.map +0 -1
- package/dist/Opacity-DRe3jTZ4.js +0 -29
- package/dist/Opacity-DRe3jTZ4.js.map +0 -1
- package/dist/Opacity.js +0 -5
- package/dist/Opacity.js.map +0 -1
- package/dist/OpenInFullIcon-D2mt0Gjr.js +0 -34
- package/dist/OpenInFullIcon-D2mt0Gjr.js.map +0 -1
- package/dist/QuestCard.js +0 -60
- package/dist/QuestCard.js.map +0 -1
- package/dist/RadioUncheckedIcon-KnzZG6cp.js +0 -34
- package/dist/RadioUncheckedIcon-KnzZG6cp.js.map +0 -1
- package/dist/Sidebar.js +0 -45
- package/dist/Sidebar.js.map +0 -1
- package/dist/TokenInfo.js +0 -47
- package/dist/TokenInfo.js.map +0 -1
- package/dist/TokenNetworkLogos-DZZrRsmI.js +0 -41
- package/dist/TokenNetworkLogos-DZZrRsmI.js.map +0 -1
- package/dist/TokenNetworkLogos.js +0 -5
- package/dist/TokenNetworkLogos.js.map +0 -1
- package/dist/Typography-DX9XpQWB.js.map +0 -1
- package/dist/Typography.js +0 -5
- package/dist/Typography.js.map +0 -1
- package/dist/Unchecked-B7UGXlAZ.js +0 -76
- package/dist/Unchecked-B7UGXlAZ.js.map +0 -1
- package/dist/XIcon-DC822TMq.js +0 -67
- package/dist/XIcon-DC822TMq.js.map +0 -1
- package/dist/fonts/HafferBlack.woff2 +0 -0
- package/dist/fonts/HafferBold.woff2 +0 -0
- package/dist/fonts/HafferHeavy.woff2 +0 -0
- package/dist/fonts/HafferLight.woff2 +0 -0
- package/dist/fonts/HafferMedium.woff2 +0 -0
- package/dist/fonts/HafferRegular.woff2 +0 -0
- package/dist/fonts/HafferSemiBold.woff2 +0 -0
- package/dist/fonts/HafferThin.woff2 +0 -0
- package/dist/index-Ir5YwUO1.js +0 -45
- package/dist/index-Ir5YwUO1.js.map +0 -1
- package/dist/useClientOnly-Bzx92NOa.js +0 -12
- package/dist/useClientOnly-Bzx92NOa.js.map +0 -1
- package/dist/utils-BnsJHiW8.js +0 -2478
- package/dist/utils-BnsJHiW8.js.map +0 -1
- /package/dist/Icons/PasskeyIcon/{Passkey.d.ts → PasskeyIcon.d.ts} +0 -0
|
@@ -0,0 +1,371 @@
|
|
|
1
|
+
import { jsxs as i, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { useState as d, useRef as E, useEffect as v } from "react";
|
|
3
|
+
import { cn as N } from "../utils/utils.js";
|
|
4
|
+
import { FooterBackgroundAnimation as S } from "./FooterBackgroundAnimation.js";
|
|
5
|
+
import { FooterLinks as r } from "./FooterLink.js";
|
|
6
|
+
import y from "../assets/maskRect.svg.js";
|
|
7
|
+
import { useClientOnly as U } from "../hooks/useClientOnly.js";
|
|
8
|
+
import { GardenIcon as A } from "../Logo/GardenIcon/GardenIcon.js";
|
|
9
|
+
import { XIcon as D } from "../Icons/XIcon/XIcon.js";
|
|
10
|
+
import { DiscordIcon as R } from "../Icons/DiscordIcon/DiscordIcon.js";
|
|
11
|
+
import { Typography as a } from "../Typography/Typography.js";
|
|
12
|
+
import { CopyrightsIcon as I } from "../Icons/CopyrightsIcon/CopyrightsIcon.js";
|
|
13
|
+
const q = ({
|
|
14
|
+
className: m,
|
|
15
|
+
network: s = "mainnet",
|
|
16
|
+
maskUrl: p = y,
|
|
17
|
+
...x
|
|
18
|
+
}) => {
|
|
19
|
+
const [f, g] = d(!1), [h, b] = d(
|
|
20
|
+
null
|
|
21
|
+
), o = U(), l = E(null);
|
|
22
|
+
v(() => () => {
|
|
23
|
+
l.current && clearTimeout(l.current);
|
|
24
|
+
}, []);
|
|
25
|
+
const n = s && s === "testnet" ? "https://testnet.garden.finance" : "https://app.garden.finance", e = "https://garden.finance", w = {
|
|
26
|
+
Products: {
|
|
27
|
+
swap: {
|
|
28
|
+
title: "Swap",
|
|
29
|
+
link: s && s === "testnet" ? `${n}/?input-chain=bitcoin_testnet&input-asset=BTC` : `${n}/?input-chain=bitcoin&input-asset=BTC`,
|
|
30
|
+
isExternal: !0
|
|
31
|
+
},
|
|
32
|
+
stake: {
|
|
33
|
+
title: "Stake",
|
|
34
|
+
link: s && s === "testnet" ? void 0 : `${n}/stake`,
|
|
35
|
+
isExternal: !0
|
|
36
|
+
},
|
|
37
|
+
explorer: {
|
|
38
|
+
title: "Explorer",
|
|
39
|
+
link: s && s === "testnet" ? "https://testnet-explorer.garden.finance/" : "https://explorer.garden.finance/",
|
|
40
|
+
isExternal: !0
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
Resources: {
|
|
44
|
+
blog: {
|
|
45
|
+
title: "Blog",
|
|
46
|
+
link: `${e}/blog`,
|
|
47
|
+
isExternal: !0
|
|
48
|
+
},
|
|
49
|
+
faq: {
|
|
50
|
+
title: "FAQs",
|
|
51
|
+
link: `${e}/faq`,
|
|
52
|
+
isExternal: !0
|
|
53
|
+
},
|
|
54
|
+
brandKit: {
|
|
55
|
+
title: "Brand kit",
|
|
56
|
+
link: `${e}/brand-kit`,
|
|
57
|
+
isExternal: !0
|
|
58
|
+
},
|
|
59
|
+
analytics: {
|
|
60
|
+
title: "Analytics",
|
|
61
|
+
link: "https://dune.com/garden_finance/gardenfinance",
|
|
62
|
+
isExternal: !0
|
|
63
|
+
},
|
|
64
|
+
Audits: {
|
|
65
|
+
title: "Audits",
|
|
66
|
+
link: "https://github.com/gardenfi/audits",
|
|
67
|
+
isExternal: !0
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
Developers: {
|
|
71
|
+
docs: {
|
|
72
|
+
title: "Docs",
|
|
73
|
+
link: "https://docs.garden.finance/",
|
|
74
|
+
isExternal: !0
|
|
75
|
+
},
|
|
76
|
+
api: {
|
|
77
|
+
title: "API",
|
|
78
|
+
link: "https://docs.garden.finance/developers/api/overview",
|
|
79
|
+
isExternal: !0
|
|
80
|
+
},
|
|
81
|
+
sdk: {
|
|
82
|
+
title: "SDK",
|
|
83
|
+
link: "https://docs.garden.finance/developers/sdk/overview",
|
|
84
|
+
isExternal: !0
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}, T = {
|
|
88
|
+
btcToSol: {
|
|
89
|
+
title: "BTC to SOL",
|
|
90
|
+
link: e + "/routes/bridge-btc-to-sol",
|
|
91
|
+
chain: "Solana",
|
|
92
|
+
isExternal: !0
|
|
93
|
+
},
|
|
94
|
+
btcToEth: {
|
|
95
|
+
title: "BTC to ETH",
|
|
96
|
+
link: e + "/routes/bridge-btc-to-eth",
|
|
97
|
+
chain: "Ethereum",
|
|
98
|
+
isExternal: !0
|
|
99
|
+
},
|
|
100
|
+
btcToUsdc: {
|
|
101
|
+
title: "BTC to USDC",
|
|
102
|
+
link: e + "/routes/bridge-btc-to-usdc-arbitrum",
|
|
103
|
+
chain: "Arbitrum",
|
|
104
|
+
isExternal: !0
|
|
105
|
+
},
|
|
106
|
+
btctoUsdcEth: {
|
|
107
|
+
title: "BTC to USDC",
|
|
108
|
+
link: e + "/routes/bridge-btc-to-usdc-ethereum",
|
|
109
|
+
chain: "Ethereum",
|
|
110
|
+
isExternal: !0
|
|
111
|
+
},
|
|
112
|
+
btcToWbtc: {
|
|
113
|
+
title: "BTC to WBTC",
|
|
114
|
+
link: e + "/routes/bridge-btc-to-wbtc-ethereum",
|
|
115
|
+
chain: "Ethereum",
|
|
116
|
+
isExternal: !0
|
|
117
|
+
},
|
|
118
|
+
btcTocbBtc: {
|
|
119
|
+
title: "BTC to cbBtc",
|
|
120
|
+
link: e + "/routes/bridge-btc-to-cbbtc-base",
|
|
121
|
+
chain: "Base",
|
|
122
|
+
isExternal: !0
|
|
123
|
+
},
|
|
124
|
+
btcToSui: {
|
|
125
|
+
title: "BTC to SUI",
|
|
126
|
+
link: e + "/routes/bridge-btc-to-sui",
|
|
127
|
+
chain: "Sui",
|
|
128
|
+
isExternal: !0
|
|
129
|
+
},
|
|
130
|
+
btcToWbtcUni: {
|
|
131
|
+
title: "BTC to WBTC",
|
|
132
|
+
link: e + "/routes/bridge-btc-to-wbtc-unichain",
|
|
133
|
+
chain: "Unichain",
|
|
134
|
+
isExternal: !0
|
|
135
|
+
},
|
|
136
|
+
btcToBnb: {
|
|
137
|
+
title: "BTC to BNB",
|
|
138
|
+
link: e + "/routes/bridge-btc-to-bnb",
|
|
139
|
+
chain: "BNB Chain",
|
|
140
|
+
isExternal: !0
|
|
141
|
+
},
|
|
142
|
+
btcToMon: {
|
|
143
|
+
title: "BTC to MON",
|
|
144
|
+
link: e + "/routes/bridge-btc-to-mon",
|
|
145
|
+
chain: "Monad",
|
|
146
|
+
isExternal: !0
|
|
147
|
+
},
|
|
148
|
+
cbBtcBaseTocbBtcSolana: {
|
|
149
|
+
title: " to cbBtc",
|
|
150
|
+
link: e + "/routes/bridge-cbbtc-base-to-cbbtc-solana",
|
|
151
|
+
inputAsset: "cbBtc",
|
|
152
|
+
inputChain: "Base",
|
|
153
|
+
chain: "Solana",
|
|
154
|
+
isExternal: !0
|
|
155
|
+
},
|
|
156
|
+
usdcBnbToBtc: {
|
|
157
|
+
title: " to BTC",
|
|
158
|
+
link: e + "/routes/bridge-usdc-bnb-to-btc",
|
|
159
|
+
inputAsset: "USDC",
|
|
160
|
+
inputChain: "BNB Chain",
|
|
161
|
+
isExternal: !0
|
|
162
|
+
},
|
|
163
|
+
btcToUsdtEthereum: {
|
|
164
|
+
title: " to USDT",
|
|
165
|
+
link: e + "/routes/bridge-btc-to-usdt-ethereum",
|
|
166
|
+
inputAsset: "BTC",
|
|
167
|
+
chain: "Ethereum",
|
|
168
|
+
isExternal: !0
|
|
169
|
+
},
|
|
170
|
+
btcToUsdcSolana: {
|
|
171
|
+
title: " to USDC",
|
|
172
|
+
link: e + "/routes/bridge-btc-to-usdc-solana",
|
|
173
|
+
inputAsset: "BTC",
|
|
174
|
+
chain: "Solana",
|
|
175
|
+
isExternal: !0
|
|
176
|
+
},
|
|
177
|
+
usdcEthereumToBtc: {
|
|
178
|
+
title: " to BTC",
|
|
179
|
+
link: e + "/routes/bridge-usdc-ethereum-to-btc",
|
|
180
|
+
inputAsset: "USDC",
|
|
181
|
+
inputChain: "Ethereum",
|
|
182
|
+
isExternal: !0
|
|
183
|
+
},
|
|
184
|
+
solToBtc: {
|
|
185
|
+
title: " to BTC",
|
|
186
|
+
link: e + "/routes/bridge-sol-to-btc",
|
|
187
|
+
inputAsset: "SOL",
|
|
188
|
+
inputChain: "Solana",
|
|
189
|
+
isExternal: !0
|
|
190
|
+
},
|
|
191
|
+
usdcEthereumToUsdcBase: {
|
|
192
|
+
title: " to USDC",
|
|
193
|
+
link: e + "/routes/bridge-usdc-ethereum-to-usdc-base",
|
|
194
|
+
inputAsset: "USDC",
|
|
195
|
+
inputChain: "Ethereum",
|
|
196
|
+
chain: "Base",
|
|
197
|
+
isExternal: !0
|
|
198
|
+
}
|
|
199
|
+
}, c = {
|
|
200
|
+
discord: "https://discord.gg/7feudTFMXB",
|
|
201
|
+
x: "https://x.com/gardenfi"
|
|
202
|
+
}, { Products: k, Resources: u, Developers: B } = w;
|
|
203
|
+
return /* @__PURE__ */ i(
|
|
204
|
+
"footer",
|
|
205
|
+
{
|
|
206
|
+
className: N(
|
|
207
|
+
"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",
|
|
208
|
+
m,
|
|
209
|
+
f ? "gf-text-white" : "gf-text-dark-grey"
|
|
210
|
+
),
|
|
211
|
+
...x,
|
|
212
|
+
children: [
|
|
213
|
+
/* @__PURE__ */ i("div", { className: "gf-z-30 gf-w-full gf-max-w-screen-2xl", children: [
|
|
214
|
+
/* @__PURE__ */ i("div", { className: "gf-mx-auto gf-flex gf-w-full gf-flex-col gf-items-start gf-justify-between gf-gap-8", children: [
|
|
215
|
+
/* @__PURE__ */ i("div", { className: "gf-flex gf-w-full gf-items-center gf-justify-between gf-gap-6", children: [
|
|
216
|
+
/* @__PURE__ */ t(
|
|
217
|
+
A,
|
|
218
|
+
{
|
|
219
|
+
onMouseEnter: () => {
|
|
220
|
+
l.current && clearTimeout(l.current), l.current = setTimeout(() => {
|
|
221
|
+
g(!0);
|
|
222
|
+
}, 300);
|
|
223
|
+
},
|
|
224
|
+
onMouseLeave: () => {
|
|
225
|
+
l.current && (clearTimeout(l.current), l.current = null), g(!1);
|
|
226
|
+
},
|
|
227
|
+
className: "gf-h-8 gf-w-8 gf-cursor-pointer gf-duration-500 gf-ease-in-out",
|
|
228
|
+
onClick: (C) => C.preventDefault()
|
|
229
|
+
}
|
|
230
|
+
),
|
|
231
|
+
/* @__PURE__ */ i("div", { className: "gf-flex gf-items-center gf-gap-4", children: [
|
|
232
|
+
/* @__PURE__ */ t(
|
|
233
|
+
D,
|
|
234
|
+
{
|
|
235
|
+
onClick: () => {
|
|
236
|
+
o && window.open(c.x, "_blank");
|
|
237
|
+
},
|
|
238
|
+
className: "gf-cursor-pointer gf-duration-500 gf-ease-in-out"
|
|
239
|
+
}
|
|
240
|
+
),
|
|
241
|
+
/* @__PURE__ */ t(
|
|
242
|
+
R,
|
|
243
|
+
{
|
|
244
|
+
onClick: () => {
|
|
245
|
+
o && window.open(c.discord, "_blank");
|
|
246
|
+
},
|
|
247
|
+
className: "gf-cursor-pointer gf-duration-500 gf-ease-in-out"
|
|
248
|
+
}
|
|
249
|
+
)
|
|
250
|
+
] })
|
|
251
|
+
] }),
|
|
252
|
+
/* @__PURE__ */ i("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: [
|
|
253
|
+
/* @__PURE__ */ i("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: [
|
|
254
|
+
/* @__PURE__ */ t("div", { className: "gf-w-full md:gf-hidden", children: /* @__PURE__ */ t(
|
|
255
|
+
r,
|
|
256
|
+
{
|
|
257
|
+
title: "Resources",
|
|
258
|
+
links: u,
|
|
259
|
+
className: "gf-flex gf-w-full gf-flex-col gf-gap-3",
|
|
260
|
+
listClassName: "gf-flex gf-flex-col gf-gap-2"
|
|
261
|
+
}
|
|
262
|
+
) }),
|
|
263
|
+
/* @__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(
|
|
264
|
+
r,
|
|
265
|
+
{
|
|
266
|
+
title: "Routes",
|
|
267
|
+
links: T,
|
|
268
|
+
hoveredIndex: h,
|
|
269
|
+
onHover: b,
|
|
270
|
+
className: "gf-flex gf-w-full gf-max-w-[400px] gf-flex-col gf-gap-3 md:gf-w-fit",
|
|
271
|
+
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",
|
|
272
|
+
isRoutes: !0
|
|
273
|
+
}
|
|
274
|
+
) })
|
|
275
|
+
] }),
|
|
276
|
+
/* @__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: [
|
|
277
|
+
/* @__PURE__ */ t(
|
|
278
|
+
r,
|
|
279
|
+
{
|
|
280
|
+
title: "Products",
|
|
281
|
+
links: k,
|
|
282
|
+
className: "gf-flex gf-w-full gf-flex-col gf-gap-3 md:gf-w-fit",
|
|
283
|
+
listClassName: "gf-flex gf-w-fit gf-flex-col gf-gap-1 gf-gap-x-6"
|
|
284
|
+
}
|
|
285
|
+
),
|
|
286
|
+
/* @__PURE__ */ t(
|
|
287
|
+
r,
|
|
288
|
+
{
|
|
289
|
+
title: "Developers",
|
|
290
|
+
links: B,
|
|
291
|
+
className: "gf-flex gf-w-full gf-flex-col gf-gap-3 md:gf-w-fit",
|
|
292
|
+
listClassName: "gf-flex gf-flex-col gf-gap-1"
|
|
293
|
+
}
|
|
294
|
+
),
|
|
295
|
+
/* @__PURE__ */ t("div", { className: "gf-hidden md:gf-flex", children: /* @__PURE__ */ t(
|
|
296
|
+
r,
|
|
297
|
+
{
|
|
298
|
+
title: "Resources",
|
|
299
|
+
links: u,
|
|
300
|
+
className: "gf-flex gf-w-full gf-flex-col gf-gap-3",
|
|
301
|
+
listClassName: "gf-flex gf-flex-col gf-gap-1"
|
|
302
|
+
}
|
|
303
|
+
) })
|
|
304
|
+
] })
|
|
305
|
+
] })
|
|
306
|
+
] }),
|
|
307
|
+
/* @__PURE__ */ i("div", { className: "gf-relative gf-mt-6 gf-flex gf-w-full gf-max-w-screen-2xl gf-items-center gf-justify-center", children: [
|
|
308
|
+
/* @__PURE__ */ t(
|
|
309
|
+
"div",
|
|
310
|
+
{
|
|
311
|
+
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 ${f ? "gf-bg-white" : "gf-bg-dark-grey"}`
|
|
312
|
+
}
|
|
313
|
+
),
|
|
314
|
+
/* @__PURE__ */ i("div", { className: "gf-z-10 gf-my-6 gf-flex gf-w-full gf-items-center gf-justify-between gf-gap-4", children: [
|
|
315
|
+
/* @__PURE__ */ t("div", { className: "gf-flex gf-w-fit gf-items-center gf-justify-start gf-gap-6", children: /* @__PURE__ */ i(
|
|
316
|
+
a,
|
|
317
|
+
{
|
|
318
|
+
size: "h5",
|
|
319
|
+
className: "gf-flex gf-items-center gf-gap-1 gf-transition-all gf-duration-500 gf-ease-in-out gf-text-inherit",
|
|
320
|
+
weight: "regular",
|
|
321
|
+
children: [
|
|
322
|
+
/* @__PURE__ */ t(I, {}),
|
|
323
|
+
/* @__PURE__ */ t("span", { children: "Garden" }),
|
|
324
|
+
/* @__PURE__ */ t("span", { children: "2025" })
|
|
325
|
+
]
|
|
326
|
+
}
|
|
327
|
+
) }),
|
|
328
|
+
/* @__PURE__ */ i("div", { className: "gf-flex gf-w-fit gf-items-center gf-justify-end gf-gap-6", children: [
|
|
329
|
+
/* @__PURE__ */ t(
|
|
330
|
+
a,
|
|
331
|
+
{
|
|
332
|
+
size: "h5",
|
|
333
|
+
as: "a",
|
|
334
|
+
className: "gf-cursor-pointer gf-underline-offset-2 gf-transition-all gf-duration-500 gf-ease-in-out gf-hover:underline gf-text-inherit",
|
|
335
|
+
weight: "regular",
|
|
336
|
+
href: "/privacy.pdf",
|
|
337
|
+
target: "_blank",
|
|
338
|
+
children: "Privacy Policy"
|
|
339
|
+
}
|
|
340
|
+
),
|
|
341
|
+
/* @__PURE__ */ t(
|
|
342
|
+
a,
|
|
343
|
+
{
|
|
344
|
+
as: "a",
|
|
345
|
+
size: "h5",
|
|
346
|
+
className: "gf-cursor-pointer gf-underline-offset-2 gf-transition-all gf-duration-500 gf-ease-in-out gf-hover:underline gf-text-inherit",
|
|
347
|
+
weight: "regular",
|
|
348
|
+
href: "/terms.pdf",
|
|
349
|
+
target: "_blank",
|
|
350
|
+
children: "Terms of Service"
|
|
351
|
+
}
|
|
352
|
+
)
|
|
353
|
+
] })
|
|
354
|
+
] })
|
|
355
|
+
] })
|
|
356
|
+
] }),
|
|
357
|
+
/* @__PURE__ */ t(
|
|
358
|
+
S,
|
|
359
|
+
{
|
|
360
|
+
isMobile: !1,
|
|
361
|
+
isLogoHovered: f,
|
|
362
|
+
maskUrl: p
|
|
363
|
+
}
|
|
364
|
+
)
|
|
365
|
+
]
|
|
366
|
+
}
|
|
367
|
+
);
|
|
368
|
+
};
|
|
369
|
+
export {
|
|
370
|
+
q as Footer
|
|
371
|
+
};
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { jsxs as g, Fragment as p, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { useMotionValue as y, useTransform as v, AnimatePresence as h, motion as k } from "framer-motion";
|
|
3
|
+
import { useState as r, useRef as s, useEffect as b } from "react";
|
|
4
|
+
const S = ({
|
|
5
|
+
isMobile: l,
|
|
6
|
+
isLogoHovered: n,
|
|
7
|
+
maskUrl: c
|
|
8
|
+
}) => {
|
|
9
|
+
const [i] = r(
|
|
10
|
+
"https://garden-bucket-cdn.s3.eu-central-1.amazonaws.com/flowers_bg.mp4"
|
|
11
|
+
), [f, o] = r("initial"), m = s(null), e = s(null), u = y(45), d = v(u, (a) => `${a}% center`);
|
|
12
|
+
return b(() => {
|
|
13
|
+
if (n)
|
|
14
|
+
o("visible");
|
|
15
|
+
else {
|
|
16
|
+
o("exit");
|
|
17
|
+
const a = setTimeout(() => {
|
|
18
|
+
o("initial");
|
|
19
|
+
}, 800);
|
|
20
|
+
return () => clearTimeout(a);
|
|
21
|
+
}
|
|
22
|
+
}, [n]), /* @__PURE__ */ g(p, { children: [
|
|
23
|
+
/* @__PURE__ */ t(
|
|
24
|
+
"video",
|
|
25
|
+
{
|
|
26
|
+
ref: m,
|
|
27
|
+
src: i,
|
|
28
|
+
autoPlay: !0,
|
|
29
|
+
loop: !0,
|
|
30
|
+
muted: !0,
|
|
31
|
+
controls: !1,
|
|
32
|
+
preload: "metadata",
|
|
33
|
+
playsInline: !0,
|
|
34
|
+
className: "gf-pointer-events-none gf-absolute gf-left-0 gf-top-0 gf-z-0 gf-h-full gf-w-screen gf-object-cover gf-opacity-0"
|
|
35
|
+
},
|
|
36
|
+
"video-flowers"
|
|
37
|
+
),
|
|
38
|
+
/* @__PURE__ */ t(h, { mode: "wait", children: /* @__PURE__ */ t(
|
|
39
|
+
k.div,
|
|
40
|
+
{
|
|
41
|
+
animate: f,
|
|
42
|
+
variants: {
|
|
43
|
+
initial: { maskPosition: "45%", opacity: 0 },
|
|
44
|
+
visible: { maskPosition: "10%", opacity: 1 },
|
|
45
|
+
exit: {
|
|
46
|
+
maskPosition: "-60%",
|
|
47
|
+
opacity: 0,
|
|
48
|
+
transition: {
|
|
49
|
+
duration: 1.2,
|
|
50
|
+
ease: [0, 0.77, 0.3, 1],
|
|
51
|
+
opacity: {
|
|
52
|
+
delay: 0.4
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
transition: {
|
|
58
|
+
duration: 1,
|
|
59
|
+
ease: [0.22, 0.68, 0.88, 0.96],
|
|
60
|
+
delay: 0.15,
|
|
61
|
+
opacity: {
|
|
62
|
+
times: [0, 1, 1, 1]
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
style: {
|
|
66
|
+
maskImage: `linear-gradient(black, black), url('${c}')`,
|
|
67
|
+
maskComposite: "exclude",
|
|
68
|
+
maskSize: l ? "1200% 200%" : "820% 600%",
|
|
69
|
+
maskPosition: d
|
|
70
|
+
},
|
|
71
|
+
className: "gf-pointer-events-none gf-absolute gf-left-0 gf-top-0 gf-z-0 gf-h-full gf-w-full gf-overflow-hidden gf-opacity-0",
|
|
72
|
+
children: /* @__PURE__ */ t(
|
|
73
|
+
"video",
|
|
74
|
+
{
|
|
75
|
+
ref: e,
|
|
76
|
+
src: i,
|
|
77
|
+
autoPlay: !0,
|
|
78
|
+
loop: !0,
|
|
79
|
+
muted: !0,
|
|
80
|
+
controls: !1,
|
|
81
|
+
preload: "metadata",
|
|
82
|
+
playsInline: !0,
|
|
83
|
+
className: "gf-pointer-events-none gf-h-full gf-w-screen gf-object-cover",
|
|
84
|
+
onCanPlayThrough: () => {
|
|
85
|
+
e.current && e.current.play().catch(console.error);
|
|
86
|
+
},
|
|
87
|
+
onLoadStart: () => {
|
|
88
|
+
e.current && e.current.play().catch(console.error);
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"video-flowers-animated"
|
|
92
|
+
)
|
|
93
|
+
},
|
|
94
|
+
"hovered"
|
|
95
|
+
) })
|
|
96
|
+
] });
|
|
97
|
+
};
|
|
98
|
+
export {
|
|
99
|
+
S as FooterBackgroundAnimation
|
|
100
|
+
};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { jsxs as s, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { RollingText as i } from "../animations/RollingText/RollingText.js";
|
|
3
|
+
import { Typography as r } from "../Typography/Typography.js";
|
|
4
|
+
const o = ({
|
|
5
|
+
title: c,
|
|
6
|
+
links: n,
|
|
7
|
+
hoveredIndex: g,
|
|
8
|
+
onHover: e,
|
|
9
|
+
className: u = "gf-flex gf-w-full gf-flex-col gf-gap-3 md:gf-w-fit",
|
|
10
|
+
listClassName: p = "gf-flex gf-flex-col gf-gap-1",
|
|
11
|
+
isRoutes: l = !1
|
|
12
|
+
}) => /* @__PURE__ */ s("div", { className: u, children: [
|
|
13
|
+
/* @__PURE__ */ t(
|
|
14
|
+
r,
|
|
15
|
+
{
|
|
16
|
+
size: "h4",
|
|
17
|
+
weight: "medium",
|
|
18
|
+
className: "gf-flex gf-items-center gf-gap-2 gf-transition-all gf-duration-500 gf-ease-in-out gf-text-inherit",
|
|
19
|
+
children: /* @__PURE__ */ t("span", { children: c })
|
|
20
|
+
}
|
|
21
|
+
),
|
|
22
|
+
/* @__PURE__ */ t("ul", { className: p, children: Object.values(n).map(
|
|
23
|
+
(a, f) => a.link && /* @__PURE__ */ t(
|
|
24
|
+
"li",
|
|
25
|
+
{
|
|
26
|
+
className: l ? "gf-w-fit" : "",
|
|
27
|
+
onMouseEnter: () => {
|
|
28
|
+
e == null || e(f);
|
|
29
|
+
},
|
|
30
|
+
onMouseLeave: () => {
|
|
31
|
+
e == null || e(null);
|
|
32
|
+
},
|
|
33
|
+
children: /* @__PURE__ */ s(
|
|
34
|
+
r,
|
|
35
|
+
{
|
|
36
|
+
as: "a",
|
|
37
|
+
href: a.link,
|
|
38
|
+
target: "_blank",
|
|
39
|
+
size: "h4",
|
|
40
|
+
weight: "regular",
|
|
41
|
+
className: `gf-cursor-pointer gf-transition-all gf-duration-500 gf-ease-in-out gf-text-inherit ${l ? "gf-flex gf-w-fit gf-gap-0.5 gf-items-end gf-transition-colors gf-duration-500 gf-ease-in-out" : ""}`,
|
|
42
|
+
children: [
|
|
43
|
+
a.inputAsset && /* @__PURE__ */ t(
|
|
44
|
+
i,
|
|
45
|
+
{
|
|
46
|
+
value: a.inputAsset || "",
|
|
47
|
+
isHovered: g === f
|
|
48
|
+
}
|
|
49
|
+
),
|
|
50
|
+
l && a.inputChain && /* @__PURE__ */ t(
|
|
51
|
+
i,
|
|
52
|
+
{
|
|
53
|
+
delay: 0.1,
|
|
54
|
+
className: "gf-text-xs gf-italic gf-translate-y-[0.6px]",
|
|
55
|
+
value: a.inputChain,
|
|
56
|
+
isHovered: g === f
|
|
57
|
+
}
|
|
58
|
+
),
|
|
59
|
+
/* @__PURE__ */ t(
|
|
60
|
+
i,
|
|
61
|
+
{
|
|
62
|
+
delay: 0.15,
|
|
63
|
+
value: a.title,
|
|
64
|
+
isHovered: g === f
|
|
65
|
+
}
|
|
66
|
+
),
|
|
67
|
+
l && a.chain && /* @__PURE__ */ t(
|
|
68
|
+
i,
|
|
69
|
+
{
|
|
70
|
+
delay: 0.3,
|
|
71
|
+
className: "gf-text-xs gf-italic gf-translate-y-[0.6px] -gf-translate-x-[2px]",
|
|
72
|
+
value: a.chain,
|
|
73
|
+
isHovered: g === f
|
|
74
|
+
}
|
|
75
|
+
)
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
)
|
|
79
|
+
},
|
|
80
|
+
f
|
|
81
|
+
)
|
|
82
|
+
) })
|
|
83
|
+
] });
|
|
84
|
+
export {
|
|
85
|
+
o as FooterLinks
|
|
86
|
+
};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { jsxs as x, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { useState as u, useRef as g, useEffect as a } from "react";
|
|
3
|
+
import { cn as y } from "../utils/utils.js";
|
|
4
|
+
const N = ({
|
|
5
|
+
children: p,
|
|
6
|
+
className: m,
|
|
7
|
+
height: s,
|
|
8
|
+
gradientHeight: e = 24,
|
|
9
|
+
onClose: c = !1,
|
|
10
|
+
...v
|
|
11
|
+
}) => {
|
|
12
|
+
const [w, b] = u(!0), [d, h] = u(!0), t = g(null), i = g(null), l = () => {
|
|
13
|
+
if (t.current) {
|
|
14
|
+
const { scrollTop: o, scrollHeight: f, clientHeight: r } = t.current;
|
|
15
|
+
b(o + r < f), h(o > 0);
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
return a(() => {
|
|
19
|
+
c && t.current && (t.current.scrollTop = 0);
|
|
20
|
+
}, [c]), a(() => {
|
|
21
|
+
const o = t.current, f = i.current;
|
|
22
|
+
if (!o || !f) return;
|
|
23
|
+
l();
|
|
24
|
+
const r = new ResizeObserver(() => {
|
|
25
|
+
l();
|
|
26
|
+
});
|
|
27
|
+
return r.observe(o), r.observe(f), () => {
|
|
28
|
+
r.disconnect();
|
|
29
|
+
};
|
|
30
|
+
}, []), /* @__PURE__ */ x(
|
|
31
|
+
"div",
|
|
32
|
+
{
|
|
33
|
+
className: y(
|
|
34
|
+
"gf-w-full gf-bg-white gf-relative gf-overflow-hidden",
|
|
35
|
+
m
|
|
36
|
+
),
|
|
37
|
+
style: { height: typeof s == "number" ? `${s}px` : s },
|
|
38
|
+
...v,
|
|
39
|
+
children: [
|
|
40
|
+
/* @__PURE__ */ n(
|
|
41
|
+
"div",
|
|
42
|
+
{
|
|
43
|
+
className: "gf-h-full gf-w-full gf-overflow-auto gf-no-scrollbar",
|
|
44
|
+
onScroll: l,
|
|
45
|
+
ref: t,
|
|
46
|
+
children: /* @__PURE__ */ n("div", { ref: i, children: p })
|
|
47
|
+
}
|
|
48
|
+
),
|
|
49
|
+
d && /* @__PURE__ */ n(
|
|
50
|
+
"div",
|
|
51
|
+
{
|
|
52
|
+
className: " gf-w-full gf-absolute gf-top-0 gf-left-0 gf-z-40 gf-bg-gradient-to-b gf-from-white gf-via-white/80 gf-to-transparent gf-pointer-events-none",
|
|
53
|
+
style: {
|
|
54
|
+
height: typeof e == "number" ? `${e}px` : e
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
),
|
|
58
|
+
w && /* @__PURE__ */ n(
|
|
59
|
+
"div",
|
|
60
|
+
{
|
|
61
|
+
className: " gf-w-full gf-absolute gf-bottom-0 gf-left-0 gf-z-40 gf-bg-gradient-to-t gf-from-white gf-via-white/80 gf-to-transparent gf-pointer-events-none",
|
|
62
|
+
style: {
|
|
63
|
+
height: typeof e == "number" ? `${e}px` : e
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
)
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
);
|
|
70
|
+
};
|
|
71
|
+
export {
|
|
72
|
+
N as GradientScroll
|
|
73
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { jsxs as s, jsx as C } from "react/jsx-runtime";
|
|
2
|
+
const i = (e) => /* @__PURE__ */ s(
|
|
3
|
+
"svg",
|
|
4
|
+
{
|
|
5
|
+
width: "16",
|
|
6
|
+
height: "16",
|
|
7
|
+
viewBox: "0 0 16 16",
|
|
8
|
+
fill: "none",
|
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
+
...e,
|
|
11
|
+
children: [
|
|
12
|
+
/* @__PURE__ */ C(
|
|
13
|
+
"mask",
|
|
14
|
+
{
|
|
15
|
+
id: "mask0_24315_24445",
|
|
16
|
+
style: { maskType: "alpha" },
|
|
17
|
+
maskUnits: "userSpaceOnUse",
|
|
18
|
+
x: "0",
|
|
19
|
+
y: "0",
|
|
20
|
+
width: "16",
|
|
21
|
+
height: "16",
|
|
22
|
+
children: /* @__PURE__ */ C("rect", { width: "16", height: "16", fill: "#D9D9D9" })
|
|
23
|
+
}
|
|
24
|
+
),
|
|
25
|
+
/* @__PURE__ */ C("g", { mask: "url(#mask0_24315_24445)", children: /* @__PURE__ */ C(
|
|
26
|
+
"path",
|
|
27
|
+
{
|
|
28
|
+
d: "M9.51267 13V12H11.16C11.396 12 11.5949 11.9201 11.7568 11.7603C11.9188 11.6004 11.9998 11.4068 11.9998 11.1795V9.80767C11.9998 9.41111 12.1178 9.05556 12.3537 8.741C12.5896 8.42644 12.8968 8.20767 13.2755 8.08467V7.91533C12.8968 7.79233 12.5896 7.57356 12.3537 7.259C12.1178 6.94444 11.9998 6.58889 11.9998 6.19233V4.8205C11.9998 4.59317 11.9188 4.39956 11.7568 4.23967C11.5949 4.07989 11.396 4 11.16 4H9.51267V3H11.16C11.6729 3 12.1077 3.17733 12.4645 3.532C12.8214 3.88678 12.9998 4.31628 12.9998 4.8205V6.19233C12.9998 6.42822 13.0829 6.62611 13.2492 6.786C13.4154 6.94578 13.6186 7.02567 13.8588 7.02567H14.3332V8.97433H13.8588C13.6186 8.97433 13.4154 9.05422 13.2492 9.214C13.0829 9.37389 12.9998 9.57178 12.9998 9.80767V11.1795C12.9998 11.6837 12.8214 12.1132 12.4645 12.468C12.1077 12.8227 11.6729 13 11.16 13H9.51267ZM4.83967 13C4.33112 13 3.89734 12.8227 3.53834 12.468C3.17934 12.1132 2.99984 11.6837 2.99984 11.1795V9.80767C2.99984 9.57178 2.91673 9.37389 2.7505 9.214C2.58428 9.05422 2.38106 8.97433 2.14084 8.97433H1.6665V7.02567H2.14084C2.38106 7.02567 2.58428 6.94578 2.7505 6.786C2.91673 6.62611 2.99984 6.42822 2.99984 6.19233V4.8205C2.99984 4.31628 3.17934 3.88678 3.53834 3.532C3.89734 3.17733 4.33112 3 4.83967 3H6.49334V4H4.83967C4.608 4 4.41012 4.07989 4.246 4.23967C4.08189 4.39956 3.99984 4.59317 3.99984 4.8205V6.19233C3.99984 6.58889 3.88295 6.94444 3.64917 7.259C3.41539 7.57356 3.10706 7.79233 2.72417 7.91533V8.08467C3.10706 8.20767 3.41539 8.42644 3.64917 8.741C3.88295 9.05556 3.99984 9.41111 3.99984 9.80767V11.1795C3.99984 11.4068 4.08189 11.6004 4.246 11.7603C4.41012 11.9201 4.608 12 4.83967 12H6.49334V13H4.83967Z",
|
|
29
|
+
fill: "currentColor"
|
|
30
|
+
}
|
|
31
|
+
) })
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
);
|
|
35
|
+
export {
|
|
36
|
+
i as APIIcon
|
|
37
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
const e = (t) => /* @__PURE__ */ r(
|
|
3
|
+
"svg",
|
|
4
|
+
{
|
|
5
|
+
width: "12",
|
|
6
|
+
height: "12",
|
|
7
|
+
viewBox: "0 0 12 12",
|
|
8
|
+
fill: "currentColor",
|
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
+
...t,
|
|
11
|
+
children: /* @__PURE__ */ r("path", { d: "M5.16797 6.83332H0.167969V5.16666H5.16797V0.166656H6.83464V5.16666H11.8346V6.83332H6.83464V11.8333H5.16797V6.83332Z" })
|
|
12
|
+
}
|
|
13
|
+
);
|
|
14
|
+
export {
|
|
15
|
+
e as AddIcon
|
|
16
|
+
};
|