@luxfi/core 5.3.7 → 10.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +36 -80
- package/tsconfig.json +10 -15
- package/tsconfig.tsbuildinfo +1 -0
- package/types/asset.ts +28 -0
- package/types/contract.ts +13 -0
- package/types/deposit-address.ts +9 -0
- package/types/exchange.ts +25 -0
- package/types/index.ts +21 -4
- package/types/network-type.ts +16 -0
- package/types/network.ts +58 -0
- package/types/swap-status.ts +58 -0
- package/types/transaction-type.ts +5 -0
- package/types/utila.ts +36 -0
- package/commerce/ui/conf.ts +0 -13
- package/commerce/ui/context.tsx +0 -123
- package/commerce/ui/store.ts +0 -290
- package/components/access-code-input.tsx +0 -71
- package/components/auth/auth-listener.tsx +0 -29
- package/components/auth/auth-token/clear-auth-token.tsx +0 -12
- package/components/auth/auth-token/set-auth-token.tsx +0 -16
- package/components/auth/common-auth-domains.ts +0 -16
- package/components/auth/login-panel.tsx +0 -107
- package/components/back-button.tsx +0 -49
- package/components/chat-widget.tsx +0 -85
- package/components/commerce/_to_deprecate_checkout-widget/const.ts +0 -13
- package/components/commerce/_to_deprecate_checkout-widget/index.tsx_ +0 -188
- package/components/commerce/_to_deprecate_checkout-widget/obs-string-set.ts +0 -48
- package/components/commerce/_to_deprecate_checkout-widget/use-anim-clx-set.ts +0 -59
- package/components/commerce/bag-button.tsx +0 -98
- package/components/commerce/buy-button.tsx +0 -34
- package/components/commerce/checkout-button.tsx +0 -129
- package/components/commerce/checkout-panel/cart-accordian.tsx +0 -66
- package/components/commerce/checkout-panel/checkout-panel-props.ts +0 -10
- package/components/commerce/checkout-panel/desktop-bag-carousel.tsx +0 -36
- package/components/commerce/checkout-panel/desktop-cp.tsx +0 -83
- package/components/commerce/checkout-panel/index.tsx +0 -126
- package/components/commerce/checkout-panel/mobile-cp.tsx +0 -67
- package/components/commerce/checkout-panel/policy-links.tsx +0 -29
- package/components/commerce/checkout-panel/steps-indicator.tsx +0 -39
- package/components/commerce/checkout-panel/thank-you.tsx +0 -18
- package/components/commerce/desktop-bag-popup.tsx +0 -78
- package/components/commerce/desktop-nav-menu.tsx +0 -194
- package/components/commerce/drawer/index.tsx +0 -88
- package/components/commerce/drawer/micro.tsx +0 -145
- package/components/commerce/drawer/shell.tsx +0 -85
- package/components/commerce/mobile-bag-drawer.tsx +0 -51
- package/components/commerce/mobile-login-button.tsx +0 -108
- package/components/commerce/mobile-menu-toggle-button.tsx +0 -35
- package/components/commerce/mobile-nav-menu-ai.tsx +0 -51
- package/components/commerce/mobile-nav-menu-item.tsx +0 -50
- package/components/commerce/mobile-nav-menu.tsx +0 -102
- package/components/contact-dialog/contact-form.tsx +0 -113
- package/components/contact-dialog/disclaimer.tsx +0 -13
- package/components/contact-dialog/index.tsx +0 -64
- package/components/copyright.tsx +0 -21
- package/components/drawer-margin.tsx +0 -28
- package/components/footer.tsx +0 -78
- package/components/header/desktop.tsx +0 -51
- package/components/header/index.tsx +0 -50
- package/components/header/mobile.tsx +0 -163
- package/components/header/theme-toggle.tsx +0 -26
- package/components/icons/24k-gold-card.tsx +0 -43
- package/components/icons/ai-chat-act.tsx +0 -47
- package/components/icons/ai-chat.tsx +0 -29
- package/components/icons/anodized-titanium.tsx +0 -45
- package/components/icons/avatar.tsx +0 -11
- package/components/icons/bag-icon.tsx +0 -10
- package/components/icons/blog-act.tsx +0 -14
- package/components/icons/blog.tsx +0 -20
- package/components/icons/bridge-act.tsx +0 -18
- package/components/icons/bridge.tsx +0 -68
- package/components/icons/changelog-act.tsx +0 -15
- package/components/icons/changelog.tsx +0 -21
- package/components/icons/chrome.tsx +0 -45
- package/components/icons/coins-act.tsx +0 -29
- package/components/icons/coins.tsx +0 -20
- package/components/icons/compare-cards-act.tsx +0 -30
- package/components/icons/compare-cards.tsx +0 -21
- package/components/icons/credit-act.tsx +0 -29
- package/components/icons/credit.tsx +0 -20
- package/components/icons/customer-support-act.tsx +0 -27
- package/components/icons/customer-support.tsx +0 -21
- package/components/icons/customers-act.tsx +0 -65
- package/components/icons/customers.tsx +0 -33
- package/components/icons/developer-docs-act.tsx +0 -26
- package/components/icons/developer-docs.tsx +0 -20
- package/components/icons/exchange-act.tsx +0 -27
- package/components/icons/exchange.tsx +0 -21
- package/components/icons/explorer-act.tsx +0 -27
- package/components/icons/explorer.tsx +0 -22
- package/components/icons/faqs-act.tsx +0 -27
- package/components/icons/faqs.tsx +0 -21
- package/components/icons/github.tsx +0 -14
- package/components/icons/guides-act.tsx +0 -26
- package/components/icons/guides.tsx +0 -21
- package/components/icons/gun-metal.tsx +0 -44
- package/components/icons/index.tsx +0 -43
- package/components/icons/integrations-act.tsx +0 -41
- package/components/icons/integrations.tsx +0 -25
- package/components/icons/irradescent.tsx +0 -41
- package/components/icons/launch-subnet.tsx +0 -21
- package/components/icons/launchsubnet-act.tsx +0 -29
- package/components/icons/left-arrow.tsx +0 -11
- package/components/icons/lux-finance-act.tsx +0 -34
- package/components/icons/lux-finance.tsx +0 -23
- package/components/icons/lux-logo.tsx +0 -10
- package/components/icons/lux-pass-act.tsx +0 -41
- package/components/icons/lux-pass.tsx +0 -25
- package/components/icons/lux-quests-act.tsx +0 -15
- package/components/icons/lux-quests.tsx +0 -21
- package/components/icons/market-act.tsx +0 -39
- package/components/icons/market.tsx +0 -24
- package/components/icons/mirrored-titanium.tsx +0 -46
- package/components/icons/more-benefits-act.tsx +0 -29
- package/components/icons/more-benefits.tsx +0 -21
- package/components/icons/open-source-act.tsx +0 -41
- package/components/icons/open-source.tsx +0 -26
- package/components/icons/right-arrow.tsx +0 -10
- package/components/icons/safe-act.tsx +0 -77
- package/components/icons/safe.tsx +0 -37
- package/components/icons/search.tsx +0 -12
- package/components/icons/secure-delivery.tsx +0 -13
- package/components/icons/shop-act.tsx +0 -29
- package/components/icons/shop.tsx +0 -20
- package/components/icons/social-icon.tsx +0 -35
- package/components/icons/social-svg.css +0 -3
- package/components/icons/sterling-silver-card.tsx +0 -44
- package/components/icons/templates-act.tsx +0 -29
- package/components/icons/templates.tsx +0 -21
- package/components/icons/validators-act.tsx +0 -42
- package/components/icons/validators.tsx +0 -41
- package/components/icons/view-all-card-act.tsx +0 -28
- package/components/icons/view-all-card.tsx +0 -20
- package/components/icons/wallet-act.tsx +0 -29
- package/components/icons/wallet.tsx +0 -20
- package/components/icons/warpcast.tsx +0 -58
- package/components/icons/youtube-logo.tsx +0 -59
- package/components/index.ts +0 -25
- package/components/logo.tsx +0 -89
- package/components/main.tsx +0 -27
- package/components/mini-chart/index.tsx +0 -8
- package/components/mini-chart/mini-chart-props.ts +0 -44
- package/components/mini-chart/mini-chart.tsx +0 -85
- package/components/mini-chart/wrapper.tsx +0 -23
- package/components/not-found/index.tsx +0 -28
- package/components/not-found/not-found-content.mdx +0 -5
- package/components/scripts.tsx +0 -24
- package/components/tooltip.tsx +0 -31
- package/environment.d.ts +0 -6
- package/next/analytics/fpixel.ts +0 -16
- package/next/analytics/google-analytics.ts +0 -14
- package/next/analytics/index.ts +0 -3
- package/next/analytics/pixel-analytics.tsx +0 -55
- package/next/font/get-app-router-font-classes.ts +0 -12
- package/next/font/load-and-return-lux-next-fonts-on-import.ts +0 -68
- package/next/font/local/Druk-Wide-Bold.ttf +0 -0
- package/next/font/local/Druk-Wide-Medium.ttf +0 -0
- package/next/font/local/InterVariable-Italic.ttf +0 -0
- package/next/font/local/InterVariable-Italic.woff2 +0 -0
- package/next/font/local/InterVariable.ttf +0 -0
- package/next/font/local/InterVariable.woff2 +0 -0
- package/next/font/next-font-desc.ts +0 -28
- package/next/font/pages-router-font-vars.tsx +0 -18
- package/next/head-metadata/from-next/metadata-types.ts +0 -158
- package/next/head-metadata/from-next/opengraph-types.ts +0 -267
- package/next/head-metadata/from-next/twitter-types.ts +0 -92
- package/next/head-metadata/index.tsx +0 -208
- package/next/index.ts +0 -1
- package/next/middleware/determine-device-mw.ts +0 -16
- package/root-layout/WHY_THIS_IS_SEPARATE.txt +0 -2
- package/root-layout/index.tsx +0 -112
- package/server-actions/TO-DO.txt +0 -1
- package/server-actions/firebase-app.ts +0 -14
- package/server-actions/index.ts +0 -5
- package/server-actions/store-contact.ts +0 -51
- package/site-def/footer/community.tsx +0 -67
- package/site-def/footer/company.ts +0 -37
- package/site-def/footer/ecosystem.ts +0 -37
- package/site-def/footer/index.tsx +0 -26
- package/site-def/footer/legal.ts +0 -28
- package/site-def/footer/network.ts +0 -45
- package/site-def/footer/svg/warpcast-logo.svg +0 -12
- package/site-def/index.ts +0 -3
- package/site-def/main-nav.tsx +0 -458
- package/style/cart-animation.css +0 -29
- package/style/checkout-animation.css +0 -23
- package/style/drawer-handle-overrides.css +0 -160
- package/style/lux-colors.css +0 -85
- package/style/lux-global.css +0 -51
- package/tailwind/fontFamily.tailwind.lux.ts +0 -18
- package/tailwind/index.ts +0 -2
- package/tailwind/lux-tw-fonts.ts +0 -40
- package/tailwind/tailwind.config.lux-preset.ts +0 -10
- package/types/chatbot-config.ts +0 -7
- package/types/chatbot-suggested-question.ts +0 -7
- package/types/contact-info.ts +0 -11
- package/types/site-def.ts +0 -43
package/site-def/main-nav.tsx
DELETED
@@ -1,458 +0,0 @@
|
|
1
|
-
import type { LinkDef } from '@hanzo/ui/types'
|
2
|
-
import Anodized from '../components/icons/anodized-titanium'
|
3
|
-
import GunMetal from '../components/icons/gun-metal'
|
4
|
-
import Chrome from '../components/icons/chrome'
|
5
|
-
import Irradescent from '../components/icons/irradescent'
|
6
|
-
import CompareCards from '../components/icons/compare-cards'
|
7
|
-
import ViewAllCards from '../components/icons/view-all-card'
|
8
|
-
import MoreBenefits from '../components/icons/more-benefits'
|
9
|
-
import GoldCard from '../components/icons/24k-gold-card'
|
10
|
-
import Sterling from '../components/icons/sterling-silver-card'
|
11
|
-
import MirroredTitanium from '../components/icons/mirrored-titanium'
|
12
|
-
import AIChat from '../components/icons/ai-chat'
|
13
|
-
import Exchange from '../components/icons/exchange'
|
14
|
-
import Market from '../components/icons/market'
|
15
|
-
import Shop from '../components/icons/shop'
|
16
|
-
import Credit from '../components/icons/credit'
|
17
|
-
import LuxFinance from '../components/icons/lux-finance'
|
18
|
-
import LuxQuests from '../components/icons/lux-quests'
|
19
|
-
import DeveloperDocs from '../components/icons/developer-docs'
|
20
|
-
import Integration from '../components/icons/integrations'
|
21
|
-
import Templates from '../components/icons/templates'
|
22
|
-
import Guides from '../components/icons/guides'
|
23
|
-
import Customers from '../components/icons/customers'
|
24
|
-
import Blog from '../components/icons/blog'
|
25
|
-
import ChangeLog from '../components/icons/changelog'
|
26
|
-
import type { CLIENT_STATIC_FILES_PATH } from 'next/dist/shared/lib/constants'
|
27
|
-
import CustomerSupport from '../components/icons/customer-support'
|
28
|
-
import FAQs from '../components/icons/faqs'
|
29
|
-
import Bridge from '../components/icons/bridge'
|
30
|
-
import Explorer from '../components/icons/explorer'
|
31
|
-
import LaunchSubnet from '../components/icons/launch-subnet'
|
32
|
-
import Coins from '../components/icons/coins'
|
33
|
-
import Safe from '../components/icons/safe'
|
34
|
-
import Wallet from '../components/icons/wallet'
|
35
|
-
import Validators from '../components/icons/validators'
|
36
|
-
import OpenSource from '../components/icons/open-source'
|
37
|
-
import LuxPass from '../components/icons/lux-pass'
|
38
|
-
import CompareCardsAct from '../components/icons/compare-cards-act'
|
39
|
-
import ViewAllCardsAct from '../components/icons/view-all-card-act'
|
40
|
-
import MoreBenefitsAct from '../components/icons/more-benefits-act'
|
41
|
-
import AIChatAct from '../components/icons/ai-chat-act'
|
42
|
-
import ExchangeAct from '../components/icons/exchange-act'
|
43
|
-
import MarketAct from '../components/icons/market-act'
|
44
|
-
import ShopAct from '../components/icons/shop-act'
|
45
|
-
import CreditAct from '../components/icons/credit-act'
|
46
|
-
import LuxFinanceAct from '../components/icons/lux-finance-act'
|
47
|
-
import LuxQuestsAct from '../components/icons/lux-quests-act'
|
48
|
-
import BridgeAct from '../components/icons/bridge-act'
|
49
|
-
import ExplorerAct from '../components/icons/explorer-act'
|
50
|
-
import LaunchSubnetAct from '../components/icons/launchsubnet-act'
|
51
|
-
import CoinsAct from '../components/icons/coins-act'
|
52
|
-
import SafeAct from '../components/icons/safe-act'
|
53
|
-
import LuxWalletAct from '../components/icons/wallet-act'
|
54
|
-
import ValidatorsAct from '../components/icons/validators-act'
|
55
|
-
import DeveloperDocsAct from '../components/icons/developer-docs-act'
|
56
|
-
import OpenSourceAct from '../components/icons/open-source-act'
|
57
|
-
import LuxPassAct from '../components/icons/lux-pass-act'
|
58
|
-
import IntegrationAct from '../components/icons/integrations-act'
|
59
|
-
import TemplatesAct from '../components/icons/templates-act'
|
60
|
-
import CustomersAct from '../components/icons/customers-act'
|
61
|
-
import BlogAct from '../components/icons/blog-act'
|
62
|
-
import ChangeLogAct from '../components/icons/changelog-act'
|
63
|
-
import CustomerSupportAct from '../components/icons/customer-support-act'
|
64
|
-
import FAQsAct from '../components/icons/faqs-act'
|
65
|
-
import GuidesAct from '../components/icons/guides-act'
|
66
|
-
|
67
|
-
export interface LinkDefExtended extends LinkDef {
|
68
|
-
isAIMenu?: boolean
|
69
|
-
icon?: any,
|
70
|
-
details?: string,
|
71
|
-
childMenu?: ChildMenu[]
|
72
|
-
|
73
|
-
}
|
74
|
-
|
75
|
-
export interface ChildMenu extends LinkDef{
|
76
|
-
groupName?:string
|
77
|
-
icon_act?:any
|
78
|
-
}
|
79
|
-
|
80
|
-
export default [
|
81
|
-
{
|
82
|
-
title: "AI",
|
83
|
-
icon: "",
|
84
|
-
href: "https://lux.chat",
|
85
|
-
newTab: false,
|
86
|
-
isAIMenu: true,
|
87
|
-
},
|
88
|
-
{
|
89
|
-
title: "Cards",
|
90
|
-
icon: "",
|
91
|
-
details: "Lux Credit is a part of the Lux Network ecosystem that offers a crypto credit card solution. This service allows users to easily conduct transactions using their cryptocurrency holdings. The Lux Credit card aims to bridge the gap between traditional financial systems and the growing world of digital assets, providing a seamless way to spend cryptocurrencies in everyday transactions.",
|
92
|
-
href: "https://lux.credit",
|
93
|
-
newTab: false,
|
94
|
-
childMenu: [
|
95
|
-
{
|
96
|
-
groupName:'Black Card',
|
97
|
-
title: "Anodized Black Titanium",
|
98
|
-
icon: <Anodized />,
|
99
|
-
icon_act: '',
|
100
|
-
href: "https://lux.credit/cards/black?sku=LXM-CR-B-ABT",
|
101
|
-
newTab: false,
|
102
|
-
contents:"" //insert string to here
|
103
|
-
},
|
104
|
-
{
|
105
|
-
groupName:'Black Card',
|
106
|
-
title: "Black Gunmetal",
|
107
|
-
icon: <GunMetal />,
|
108
|
-
icon_act: '',
|
109
|
-
href: "https://lux.credit/cards/black?sku=LXM-CR-B-GM",
|
110
|
-
newTab: false,
|
111
|
-
contents:"" //insert string to here
|
112
|
-
},
|
113
|
-
{
|
114
|
-
groupName:'Founder Card',
|
115
|
-
title: "Cool Chrome",
|
116
|
-
icon: <Chrome />,
|
117
|
-
icon_act: '',
|
118
|
-
href: "https://lux.credit/cards/founder?sku=LXM-CR-F-CC",
|
119
|
-
newTab: false,
|
120
|
-
contents:"" //insert string to here
|
121
|
-
},
|
122
|
-
{
|
123
|
-
groupName:'Founder Card',
|
124
|
-
title: "Iridescent Chrome",
|
125
|
-
icon: <Irradescent />,
|
126
|
-
icon_act: '',
|
127
|
-
href: "https://lux.credit/cards/founder?sku=LXM-CR-F-IC",
|
128
|
-
newTab: false,
|
129
|
-
contents:"" //insert string to here
|
130
|
-
},
|
131
|
-
{
|
132
|
-
groupName:'Explore',
|
133
|
-
title: "Compare cards",
|
134
|
-
icon: <CompareCards width={25} height={25} />,
|
135
|
-
icon_act: <CompareCardsAct width={27} height={27} />,
|
136
|
-
href: "https://lux.credit/compare",
|
137
|
-
newTab: false,
|
138
|
-
contents:"Evaluate Lux cards"
|
139
|
-
},
|
140
|
-
{
|
141
|
-
groupName:'Explore',
|
142
|
-
title: "View all cards",
|
143
|
-
icon: <ViewAllCards width={25} height={25} />,
|
144
|
-
icon_act: <ViewAllCardsAct width={25} height={25}/>,
|
145
|
-
href: "https://lux.credit/cards",
|
146
|
-
newTab: false,
|
147
|
-
contents:"General overview"
|
148
|
-
},
|
149
|
-
{
|
150
|
-
groupName:'Explore',
|
151
|
-
title: "More benefits",
|
152
|
-
icon: <MoreBenefits width={25} height={25} />,
|
153
|
-
icon_act: <MoreBenefitsAct width={27} height={27} />,
|
154
|
-
href: "#",
|
155
|
-
newTab: false,
|
156
|
-
contents:"See what's truly unique"
|
157
|
-
},
|
158
|
-
{
|
159
|
-
groupName:'Elite Card',
|
160
|
-
title: "24k Gold",
|
161
|
-
icon: <GoldCard />,
|
162
|
-
icon_act: "",
|
163
|
-
href: "https://lux.credit/cards/elite?sku=LXM-CR-E-24G",
|
164
|
-
newTab: false,
|
165
|
-
contents:"" //insert string to here
|
166
|
-
},
|
167
|
-
{
|
168
|
-
groupName:'Elite Card',
|
169
|
-
title: "Sterling Silver",
|
170
|
-
icon: <Sterling />,
|
171
|
-
icon_act: "",
|
172
|
-
href: "https://lux.credit/cards/elite?sku=LXM-CR-E-SS",
|
173
|
-
newTab: false,
|
174
|
-
contents:"" //insert string to here
|
175
|
-
},
|
176
|
-
{
|
177
|
-
groupName:'Sovereign Card',
|
178
|
-
title: "Reflective Titanium",
|
179
|
-
icon: <MirroredTitanium/>,
|
180
|
-
icon_act: "",
|
181
|
-
href: "https://lux.credit/cards/sovereign?sku=LXM-CR-S-RT",
|
182
|
-
newTab: false,
|
183
|
-
contents:"" //insert string to here
|
184
|
-
},
|
185
|
-
]
|
186
|
-
},
|
187
|
-
{
|
188
|
-
title: "Ecosystem",
|
189
|
-
icon: "",
|
190
|
-
details: "The Lux Ecosystem is a comprehensive suite of blockchain-based services and platforms designed to offer a wide range of functionalities, from decentralized finance (DeFi) to asset management and secure transactions.",
|
191
|
-
href: "https://lux.link",
|
192
|
-
newTab: false,
|
193
|
-
childMenu: [
|
194
|
-
{
|
195
|
-
groupName:'Blockchain',
|
196
|
-
title: "AI Chat",
|
197
|
-
icon: <AIChat width={25} height={25} />,
|
198
|
-
icon_act: <AIChatAct width={27} height={27}/>,
|
199
|
-
href: "https://lux.chat",
|
200
|
-
newTab: false,
|
201
|
-
contents:"Ask anything, literally"
|
202
|
-
},
|
203
|
-
{
|
204
|
-
groupName:'Blockchain',
|
205
|
-
title: "Exchange",
|
206
|
-
icon: <Exchange width={25} height={25} />,
|
207
|
-
icon_act: <ExchangeAct width={27} height={27} />,
|
208
|
-
href: "https://lux.exchange",
|
209
|
-
newTab: false,
|
210
|
-
contents:"Buy, sell, trade, swap..."
|
211
|
-
},
|
212
|
-
{
|
213
|
-
groupName:'Blockchain',
|
214
|
-
title: "Market",
|
215
|
-
icon: <Market width={25} height={25} />,
|
216
|
-
icon_act: <MarketAct width={27} height={27}/>,
|
217
|
-
href: "https://lux.market",
|
218
|
-
newTab: false,
|
219
|
-
contents:"Digital collectibles & more"
|
220
|
-
},
|
221
|
-
{
|
222
|
-
groupName:'Blockchain',
|
223
|
-
title: "Shop",
|
224
|
-
icon: <Shop width={25} height={25} />,
|
225
|
-
icon_act: <ShopAct width={27} height={27}/>,
|
226
|
-
href: "https://lux.market",
|
227
|
-
newTab: false,
|
228
|
-
contents:"Find any Lux product for sale"
|
229
|
-
},
|
230
|
-
{
|
231
|
-
groupName:'Real World',
|
232
|
-
title: "Credit",
|
233
|
-
icon: <Credit width={25} height={25} />,
|
234
|
-
icon_act: <CreditAct width={27} height={27}/>,
|
235
|
-
href: "https://lux.credit",
|
236
|
-
newTab: false,
|
237
|
-
contents:"Risk free loans"
|
238
|
-
},
|
239
|
-
{
|
240
|
-
groupName:'Real World',
|
241
|
-
title: "Lux Finance",
|
242
|
-
icon: <LuxFinance width={25} height={25} />,
|
243
|
-
icon_act: <LuxFinanceAct width={27} height={27}/>,
|
244
|
-
href: "https://lux.finance",
|
245
|
-
newTab: false,
|
246
|
-
contents:"Financial arbitrage"
|
247
|
-
},
|
248
|
-
{
|
249
|
-
groupName:'More',
|
250
|
-
title: "Lux Quest",
|
251
|
-
icon: <LuxQuests width={25} height={25} />,
|
252
|
-
icon_act: <LuxQuestsAct width={27} height={27}/>,
|
253
|
-
href: "https://lux.quest",
|
254
|
-
newTab: false,
|
255
|
-
contents:"Go above and beyond"
|
256
|
-
}
|
257
|
-
]
|
258
|
-
},
|
259
|
-
{
|
260
|
-
title: "Network",
|
261
|
-
icon: "",
|
262
|
-
details: "Lux Network is a scalable, quantum-safe blockchain designed to offer high throughput and low latency. It is part of a broader ecosystem that includes various platforms and services aimed at integrating traditional finance (TradFi) with decentralized finance (DeFi), providing secure and efficient solutions for asset management, trading, and more.",
|
263
|
-
href: "https://lux.network/",
|
264
|
-
newTab: false,
|
265
|
-
childMenu: [
|
266
|
-
{
|
267
|
-
groupName:'Defi Tools',
|
268
|
-
title: "Bridge",
|
269
|
-
icon: <Bridge width={25} height={25} />,
|
270
|
-
icon_act: <BridgeAct width={27} height={27}/>,
|
271
|
-
href: "https://bridge.lux.network/",
|
272
|
-
newTab: false,
|
273
|
-
contents:"Teleport assets"
|
274
|
-
},
|
275
|
-
{
|
276
|
-
groupName:'Defi Tools',
|
277
|
-
title: "Explorer",
|
278
|
-
icon: <Explorer width={25} height={25} />,
|
279
|
-
icon_act: <ExplorerAct width={27} height={27}/>,
|
280
|
-
href: "https://explorer.lux.network/",
|
281
|
-
newTab: false,
|
282
|
-
contents:"All transactions"
|
283
|
-
},
|
284
|
-
{
|
285
|
-
groupName:'Defi Tools',
|
286
|
-
title: "Launch Subnet",
|
287
|
-
icon: <LaunchSubnet width={25} height={25} />,
|
288
|
-
icon_act: <LaunchSubnetAct width={27} height={27}/>,
|
289
|
-
href: "https://docs.lux.network/build/subnet/hello-subnet",
|
290
|
-
newTab: false,
|
291
|
-
contents:"Easy, free, and superior"
|
292
|
-
},
|
293
|
-
{
|
294
|
-
groupName:'Earn',
|
295
|
-
title: "Coins",
|
296
|
-
icon: <Coins width={25} height={25} />,
|
297
|
-
icon_act: <CoinsAct width={27} height={27}/>,
|
298
|
-
href: "https://lux.network/coin",
|
299
|
-
newTab: false,
|
300
|
-
contents:"Be part of the ecosystem"
|
301
|
-
},
|
302
|
-
{
|
303
|
-
groupName:'Earn',
|
304
|
-
title: "Safe",
|
305
|
-
icon: <Safe width={25} height={25} />,
|
306
|
-
icon_act: <SafeAct width={27} height={27} />,
|
307
|
-
href: "https://safe.lux.network",
|
308
|
-
newTab: false,
|
309
|
-
contents:"Multi-signature wallet"
|
310
|
-
},
|
311
|
-
{
|
312
|
-
groupName:'Earn',
|
313
|
-
title: "Lux Wallet",
|
314
|
-
icon: <Wallet width={25} height={25} />,
|
315
|
-
icon_act: <LuxWalletAct width={27} height={27}/>,
|
316
|
-
href: "https://wallet.lux.network",
|
317
|
-
newTab: false,
|
318
|
-
contents:"Safe and quantum secure"
|
319
|
-
},
|
320
|
-
{
|
321
|
-
groupName:'Earn',
|
322
|
-
title: "Validators",
|
323
|
-
icon: <Validators width={25} height={25} />,
|
324
|
-
icon_act: <ValidatorsAct width={27} height={27}/>,
|
325
|
-
href: "https://lux.market/validator",
|
326
|
-
newTab: false,
|
327
|
-
contents:"Own a part of the network"
|
328
|
-
},
|
329
|
-
{
|
330
|
-
groupName:'Get Access',
|
331
|
-
title: "Developer docs",
|
332
|
-
icon: <DeveloperDocs width={25} height={25} />,
|
333
|
-
icon_act: <DeveloperDocsAct width={27} height={27}/>,
|
334
|
-
href: "#",
|
335
|
-
newTab: false,
|
336
|
-
contents:"Software explained"
|
337
|
-
},
|
338
|
-
{
|
339
|
-
groupName:'Get Access',
|
340
|
-
title: "Open Source",
|
341
|
-
icon: <OpenSource width={25} height={25} />,
|
342
|
-
icon_act: <OpenSourceAct width={27} height={27}/>,
|
343
|
-
href: "#",
|
344
|
-
newTab: false,
|
345
|
-
contents:"Accessible for everyone"
|
346
|
-
},
|
347
|
-
{
|
348
|
-
groupName:'Get Access',
|
349
|
-
title: "Lux Pass",
|
350
|
-
icon: <LuxPass width={25} height={25} />,
|
351
|
-
icon_act: <LuxPassAct width={27} height={27}/>,
|
352
|
-
href: "#",
|
353
|
-
newTab: false,
|
354
|
-
contents:"All access pass to network"
|
355
|
-
},
|
356
|
-
]
|
357
|
-
},
|
358
|
-
{
|
359
|
-
title: "Resources",
|
360
|
-
icon: '',
|
361
|
-
href: "",
|
362
|
-
newTab: false,
|
363
|
-
details: "",
|
364
|
-
childMenu: [
|
365
|
-
{
|
366
|
-
groupName:'Tools',
|
367
|
-
title: "Resource Center",
|
368
|
-
icon: <AIChat width={25} height={25} />,
|
369
|
-
icon_act: <AIChatAct width={27} height={27}/>,
|
370
|
-
href: "#",
|
371
|
-
newTab: false,
|
372
|
-
contents:"Dynamic solutions"
|
373
|
-
},
|
374
|
-
{
|
375
|
-
groupName:'Tools',
|
376
|
-
title: "Integrations",
|
377
|
-
icon: <Integration width={25} height={25} />,
|
378
|
-
icon_act: <IntegrationAct width={27} height={27}/>,
|
379
|
-
href: "#",
|
380
|
-
newTab: false,
|
381
|
-
contents:"Simplified onboarding"
|
382
|
-
},
|
383
|
-
{
|
384
|
-
groupName:'Tools',
|
385
|
-
title: "Templates",
|
386
|
-
icon: <Templates width={25} height={25} />,
|
387
|
-
icon_act: <TemplatesAct width={27} height={27}/>,
|
388
|
-
href: "#",
|
389
|
-
newTab: false,
|
390
|
-
contents:"Speedy app development"
|
391
|
-
},
|
392
|
-
{
|
393
|
-
groupName:'Tools',
|
394
|
-
title: "Guides",
|
395
|
-
icon: <Guides width={25} height={25} />,
|
396
|
-
icon_act: <GuidesAct width={27} height={27}/>,
|
397
|
-
href: "#",
|
398
|
-
newTab: false,
|
399
|
-
contents:"Find help quickly"
|
400
|
-
},
|
401
|
-
{
|
402
|
-
groupName:'Company',
|
403
|
-
title: "Customers",
|
404
|
-
icon: <Customers width={25} height={25} />,
|
405
|
-
icon_act: <CustomersAct width={27} height={27}/>,
|
406
|
-
href: "#",
|
407
|
-
newTab: false,
|
408
|
-
contents:"Trusted by the best teams"
|
409
|
-
},
|
410
|
-
{
|
411
|
-
groupName:'Company',
|
412
|
-
title: "Blog",
|
413
|
-
icon: <Blog width={25} height={25} />,
|
414
|
-
icon_act: <BlogAct width={27} height={27}/>,
|
415
|
-
href: "#",
|
416
|
-
newTab: false,
|
417
|
-
contents:"Latest posts and changes"
|
418
|
-
},
|
419
|
-
{
|
420
|
-
groupName:'Company',
|
421
|
-
title: "Changelog",
|
422
|
-
icon: <ChangeLog width={25} height={25} />,
|
423
|
-
icon_act: <ChangeLogAct width={27} height={27} />,
|
424
|
-
href: "#",
|
425
|
-
newTab: false,
|
426
|
-
contents:"Manage deployments"
|
427
|
-
},
|
428
|
-
{
|
429
|
-
groupName:'More',
|
430
|
-
title: "Developer docs",
|
431
|
-
icon: <DeveloperDocs width={25} height={25} />,
|
432
|
-
icon_act: <DeveloperDocsAct width={25} height={25}/>,
|
433
|
-
href: "#",
|
434
|
-
newTab: false,
|
435
|
-
contents:"Software explained"
|
436
|
-
},
|
437
|
-
{
|
438
|
-
groupName:'More',
|
439
|
-
title: "Customer Support",
|
440
|
-
icon: <CustomerSupport width={25} height={25} />,
|
441
|
-
icon_act: <CustomerSupportAct width={27} height={27}/>,
|
442
|
-
href: "#",
|
443
|
-
newTab: false,
|
444
|
-
contents:"Dedicated help, 24/7"
|
445
|
-
},
|
446
|
-
{
|
447
|
-
groupName:'More',
|
448
|
-
title: "FAQs",
|
449
|
-
icon: <FAQs width={25} height={25} />,
|
450
|
-
icon_act: <FAQsAct width={27} height={27}/>,
|
451
|
-
href: "#",
|
452
|
-
newTab: false,
|
453
|
-
contents:"Common queries"
|
454
|
-
}
|
455
|
-
]
|
456
|
-
},
|
457
|
-
] satisfies LinkDefExtended[]
|
458
|
-
|
package/style/cart-animation.css
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
@keyframes wiggle-larger {
|
2
|
-
0% { transform: rotate(0deg); }
|
3
|
-
18% { transform: rotate(10deg) scale(0.9); }
|
4
|
-
32% { transform: rotate(0deg) scale(1.05);; }
|
5
|
-
50% { transform: rotate(-10deg) scale(1.05); }
|
6
|
-
68% { transform: rotate(0deg) scale(1.1); }
|
7
|
-
84% { transform: rotate(10deg) scale(1); }
|
8
|
-
100% { transform: rotate(0deg) scale(1);}
|
9
|
-
}
|
10
|
-
|
11
|
-
@keyframes wiggle-smaller {
|
12
|
-
0% { transform: rotate(0deg); }
|
13
|
-
18% { transform: rotate(10deg) scale(1.05); }
|
14
|
-
32% { transform: rotate(0deg) scale(0.9);; }
|
15
|
-
50% { transform: rotate(-10deg) scale(0.9); }
|
16
|
-
68% { transform: rotate(0deg) scale(0.85); }
|
17
|
-
84% { transform: rotate(10deg) scale(1); }
|
18
|
-
100% { transform: rotate(0deg) scale(1);}
|
19
|
-
}
|
20
|
-
|
21
|
-
.wiggle-larger-animation,
|
22
|
-
.item-added-to-cart-animation {
|
23
|
-
animation: wiggle-larger 350ms;
|
24
|
-
}
|
25
|
-
|
26
|
-
.wiggle-smaller-animation,
|
27
|
-
.item-removed-from-cart-animation {
|
28
|
-
animation: wiggle-smaller 300ms;
|
29
|
-
}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
@keyframes checkout-widget-fade-in {
|
2
|
-
0% { transform: scale(0.5); opacity: 0; }
|
3
|
-
100% { transform: scale(1); opacity: 1;}
|
4
|
-
}
|
5
|
-
|
6
|
-
.checkout-widget-appears {
|
7
|
-
animation-name: checkout-widget-fade-in;
|
8
|
-
animation-duration: 200ms;
|
9
|
-
}
|
10
|
-
|
11
|
-
.checkout-widget-disappears {
|
12
|
-
animation-name: checkout-widget-fade-in;
|
13
|
-
animation-duration: 200ms;
|
14
|
-
animation-direction: reverse;
|
15
|
-
animation-fill-mode: forwards;
|
16
|
-
}
|
17
|
-
|
18
|
-
.checkout-widget-appears-after-buy-drawer-closes {
|
19
|
-
animation-fill-mode: backwards;
|
20
|
-
/* Drawer is hardcoded to open in 0.5s. We can start slightly sooner. */
|
21
|
-
animation-delay: 400ms;
|
22
|
-
}
|
23
|
-
|
@@ -1,160 +0,0 @@
|
|
1
|
-
[vaul-drawer] {
|
2
|
-
touch-action: none;
|
3
|
-
transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1);
|
4
|
-
}
|
5
|
-
|
6
|
-
[vaul-drawer][vaul-drawer-direction='bottom'] {
|
7
|
-
transform: translate3d(0, 100%, 0);
|
8
|
-
}
|
9
|
-
|
10
|
-
[vaul-drawer][vaul-drawer-direction='top'] {
|
11
|
-
transform: translate3d(0, -100%, 0);
|
12
|
-
}
|
13
|
-
|
14
|
-
[vaul-drawer][vaul-drawer-direction='left'] {
|
15
|
-
transform: translate3d(-100%, 0, 0);
|
16
|
-
}
|
17
|
-
|
18
|
-
[vaul-drawer][vaul-drawer-direction='right'] {
|
19
|
-
transform: translate3d(100%, 0, 0);
|
20
|
-
}
|
21
|
-
|
22
|
-
.vaul-dragging .vaul-scrollable [vault-drawer-direction='top'] {
|
23
|
-
overflow-y: hidden !important;
|
24
|
-
}
|
25
|
-
.vaul-dragging .vaul-scrollable [vault-drawer-direction='bottom'] {
|
26
|
-
overflow-y: hidden !important;
|
27
|
-
}
|
28
|
-
|
29
|
-
.vaul-dragging .vaul-scrollable [vault-drawer-direction='left'] {
|
30
|
-
overflow-x: hidden !important;
|
31
|
-
}
|
32
|
-
|
33
|
-
.vaul-dragging .vaul-scrollable [vault-drawer-direction='right'] {
|
34
|
-
overflow-x: hidden !important;
|
35
|
-
}
|
36
|
-
|
37
|
-
[vaul-drawer][vaul-drawer-visible='true'][vaul-drawer-direction='top'] {
|
38
|
-
transform: translate3d(0, var(--snap-point-height, 0), 0);
|
39
|
-
}
|
40
|
-
|
41
|
-
[vaul-drawer][vaul-drawer-visible='true'][vaul-drawer-direction='bottom'] {
|
42
|
-
transform: translate3d(0, var(--snap-point-height, 0), 0);
|
43
|
-
}
|
44
|
-
|
45
|
-
[vaul-drawer][vaul-drawer-visible='true'][vaul-drawer-direction='left'] {
|
46
|
-
transform: translate3d(var(--snap-point-height, 0), 0, 0);
|
47
|
-
}
|
48
|
-
|
49
|
-
[vaul-drawer][vaul-drawer-visible='true'][vaul-drawer-direction='right'] {
|
50
|
-
transform: translate3d(var(--snap-point-height, 0), 0, 0);
|
51
|
-
}
|
52
|
-
|
53
|
-
[vaul-overlay] {
|
54
|
-
opacity: 0;
|
55
|
-
transition: opacity 0.5s cubic-bezier(0.32, 0.72, 0, 1);
|
56
|
-
}
|
57
|
-
|
58
|
-
[vaul-overlay][vaul-drawer-visible='true'] {
|
59
|
-
opacity: 1;
|
60
|
-
}
|
61
|
-
|
62
|
-
[vaul-drawer]::after {
|
63
|
-
content: '';
|
64
|
-
position: absolute;
|
65
|
-
background: inherit;
|
66
|
-
background-color: inherit;
|
67
|
-
}
|
68
|
-
|
69
|
-
[vaul-drawer][vaul-drawer-direction='top']::after {
|
70
|
-
top: initial;
|
71
|
-
bottom: 100%;
|
72
|
-
left: 0;
|
73
|
-
right: 0;
|
74
|
-
height: 200%;
|
75
|
-
}
|
76
|
-
|
77
|
-
[vaul-drawer][vaul-drawer-direction='bottom']::after {
|
78
|
-
top: 100%;
|
79
|
-
bottom: initial;
|
80
|
-
left: 0;
|
81
|
-
right: 0;
|
82
|
-
height: 200%;
|
83
|
-
}
|
84
|
-
|
85
|
-
[vaul-drawer][vaul-drawer-direction='left']::after {
|
86
|
-
left: initial;
|
87
|
-
right: 100%;
|
88
|
-
top: 0;
|
89
|
-
bottom: 0;
|
90
|
-
width: 200%;
|
91
|
-
}
|
92
|
-
|
93
|
-
[vaul-drawer][vaul-drawer-direction='right']::after {
|
94
|
-
left: 100%;
|
95
|
-
right: initial;
|
96
|
-
top: 0;
|
97
|
-
bottom: 0;
|
98
|
-
width: 200%;
|
99
|
-
}
|
100
|
-
|
101
|
-
[vaul-handle] {
|
102
|
-
/* opacity: 0.8; */
|
103
|
-
touch-action: pan-y;
|
104
|
-
cursor: grab;
|
105
|
-
}
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
/* [vaul-handle]:hover, */
|
110
|
-
[vaul-handle]:active {
|
111
|
-
opacity: 1;
|
112
|
-
}
|
113
|
-
|
114
|
-
[vaul-handle]:active {
|
115
|
-
cursor: grabbing;
|
116
|
-
}
|
117
|
-
|
118
|
-
[vaul-handle]:focus-visible {
|
119
|
-
outline: none;
|
120
|
-
}
|
121
|
-
|
122
|
-
[vaul-handle-hitarea] {
|
123
|
-
position: absolute;
|
124
|
-
left: 50%;
|
125
|
-
top: 50%;
|
126
|
-
transform: translate(-50%, -50%);
|
127
|
-
width: max(100%, 2.75rem); /* 44px */
|
128
|
-
height: max(100%, 2.75rem); /* 44px */
|
129
|
-
touch-action: inherit;
|
130
|
-
}
|
131
|
-
|
132
|
-
[vaul-overlay][vaul-snap-points='true']:not([vaul-snap-points-overlay='true']):not([data-state='closed']) {
|
133
|
-
opacity: 0;
|
134
|
-
}
|
135
|
-
|
136
|
-
[vaul-overlay][vaul-snap-points-overlay='true']:not([vaul-drawer-visible='false']) {
|
137
|
-
opacity: 1;
|
138
|
-
}
|
139
|
-
|
140
|
-
/* This will allow us to not animate via animation, but still benefit from delaying unmount via Radix. */
|
141
|
-
@keyframes fake-animation {
|
142
|
-
from {
|
143
|
-
}
|
144
|
-
to {
|
145
|
-
}
|
146
|
-
}
|
147
|
-
|
148
|
-
@media (pointer: fine) {
|
149
|
-
[vaul-handle-hitarea] {
|
150
|
-
width: 100%;
|
151
|
-
height: 100%;
|
152
|
-
}
|
153
|
-
}
|
154
|
-
|
155
|
-
@media (hover: hover) and (pointer: fine) {
|
156
|
-
[vaul-drawer] {
|
157
|
-
user-select: none;
|
158
|
-
}
|
159
|
-
}
|
160
|
-
|