diff --git a/frontend/src/App.css b/frontend/src/App.css index 83b068d..436bf7f 100644 --- a/frontend/src/App.css +++ b/frontend/src/App.css @@ -824,3 +824,66 @@ body { margin-top: 4px; word-break: break-all; } + +/* LP Panel Styles */ +.pool-info { + background: #f0f7ff; + padding: 16px; + border-radius: 8px; + margin-bottom: 20px; + border: 1px solid #bbdefb; +} + +.lp-tabs { + display: flex; + gap: 8px; + margin-bottom: 20px; + border-bottom: 2px solid #e0e0e0; + padding-bottom: 0; +} + +.tab-btn { + padding: 10px 20px; + background: none; + border: none; + color: #666; + font-size: 14px; + font-weight: 500; + cursor: pointer; + border-bottom: 2px solid transparent; + margin-bottom: -2px; + transition: all 0.2s; +} + +.tab-btn:hover { + color: #1976d2; +} + +.tab-btn.active { + color: #1976d2; + border-bottom-color: #1976d2; +} + +.warning-box { + background: #fff3e0; + color: #e65100; + padding: 12px 16px; + border-radius: 6px; + margin-bottom: 16px; + border-left: 4px solid #ff9800; + font-size: 14px; +} + +.btn-link { + background: none; + border: none; + color: #1976d2; + padding: 4px 8px; + font-size: 12px; + cursor: pointer; + text-decoration: underline; +} + +.btn-link:hover { + color: #1565c0; +} diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index b82e571..d6e4f54 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -8,11 +8,12 @@ import { LanguageSwitch } from './components/LanguageSwitch' import { WUSDPanel } from './components/WUSDPanel' import { VaultPanel } from './components/VaultPanel' import { FactoryPanel } from './components/FactoryPanel' +import { LPPanel } from './components/LPPanel' import { ToastProvider } from './components/Toast' import { TransactionProvider } from './context/TransactionContext' import './App.css' -type Tab = 'wusd' | 'vault' | 'factory' +type Tab = 'wusd' | 'vault' | 'factory' | 'lp' function AppContent() { const { t } = useTranslation() @@ -48,12 +49,19 @@ function AppContent() { > {t('nav.factory')} +
{activeTab === 'wusd' && } {activeTab === 'vault' && } {activeTab === 'factory' && } + {activeTab === 'lp' && }