mirror of
https://github.com/luxfi/bridge.git
synced 2026-09-24 00:26:46 +00:00
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:
@@ -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>
|
||||
)
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user