Fix bridge UI white triangle and set 1% fee

- Remove @luxfi/ui Footer that renders a massive 1904px white SVG
  triangle (LuxLogo) due to Tailwind hidden class not applying in
  production build. Replace with minimal text footer.
- Set bridge fee to 1% (wallet_fee: 0.01, wallet_fee_in_usd: 1)
  down from previous 10% placeholder values.
This commit is contained in:
2026-03-05 03:48:10 -08:00
parent 25e2d4ea66
commit 64cbbb95e2
2 changed files with 6 additions and 4 deletions
+4 -2
View File
@@ -2,7 +2,7 @@ import React, { type PropsWithChildren } from 'react'
import dynamic from "next/dynamic"
import { Inter } from 'next/font/google'
import { Footer } from '@luxfi/ui'
// Footer removed — bridge is a single-page swap interface
const inter = Inter({ subsets: ['latin'], variable: '--font-inter' })
@@ -95,7 +95,9 @@ const RootLayout: React.FC<PropsWithChildren> = async ({ children }) => {
</div>
</Main>
)}
<Footer siteDef={tenantSiteDef} />
<footer className="py-4 text-center text-xs text-muted-foreground">
Lux Bridge
</footer>
</body>
</html>
)
+2 -2
View File
@@ -15,8 +15,8 @@ export const getRate = async (
])
return {
wallet_fee_in_usd: 10,
wallet_fee: 0.1,
wallet_fee_in_usd: 1,
wallet_fee: 0.01,
wallet_receive_amount: amount,
manual_fee_in_usd: 0,
manual_fee: 0,