diff --git a/web/src/components/StrategyWizard.tsx b/web/src/components/StrategyWizard.tsx
index 4b47d32..6ea880e 100644
--- a/web/src/components/StrategyWizard.tsx
+++ b/web/src/components/StrategyWizard.tsx
@@ -185,9 +185,11 @@ export const StrategyWizard: React.FC<{
const isLocked = !isFeatureAllowed(tier, 'risk_style', style.id);
return (
-
{style.description}
-
-
-
+
+
+
{isLocked && (
Pro/Elite Only
@@ -246,10 +248,12 @@ export const StrategyWizard: React.FC<{
{ASSETS.map(asset => (
- {
- const newAssets = state.assets.includes(asset.id)
+ {
+ const newAssets = state.assets.includes(asset.id)
? state.assets.filter(a => a !== asset.id)
: [...state.assets, asset.id];
if (newAssets.length > 0) setState({ ...state, assets: newAssets });
@@ -258,9 +262,9 @@ export const StrategyWizard: React.FC<{
? 'border-[var(--accent)] bg-[var(--accent-soft)] text-[var(--foreground)]'
: 'border-[var(--border)] bg-[var(--card)] text-[var(--muted-foreground)] hover:border-[var(--border-strong)]'
}`}
- >
- {asset.label}
-
+ >
+ {asset.label}
+
))}
@@ -335,9 +339,11 @@ export const StrategyWizard: React.FC<{
{(['24/7', 'London + New York', 'Asia only'] as const).map(option => (
- setState({ ...state, hours: option })}
+ setState({ ...state, hours: option })}
className={`rounded-2xl border-2 p-6 text-left transition-all ${state.hours === option
? optionSelectedClass
: optionIdleClass
@@ -354,10 +360,10 @@ export const StrategyWizard: React.FC<{
option === 'London + New York' ? 'Focuses on the most liquid market overlap (07:00 - 21:00 UTC).' :
'Optimized for Tokoyo and Sydney sessions.'}
-
-
-
- ))}
+
+
+
+ ))}
diff --git a/web/src/tabs/OverviewTab.tsx b/web/src/tabs/OverviewTab.tsx
index 25692e9..a800f68 100644
--- a/web/src/tabs/OverviewTab.tsx
+++ b/web/src/tabs/OverviewTab.tsx
@@ -4,6 +4,7 @@ import { useAuth } from '../components/AuthContext';
import { aggregateCanonicalLifecycleTrades } from '../lib/orderLifecycleLedger';
import { useCanonicalLifecycle } from '../hooks/useCanonicalLifecycle';
import { fetchTradeProfiles } from '../lib/profileApi';
+import { Button } from '../components/ui/Primitives';
interface OverviewTabProps {
botState: BotState;
@@ -623,22 +624,23 @@ export const OverviewTab = ({ botState, previewAsCustomer = false, connected = t
{WIN_RATE_WINDOW_OPTIONS.map((option) => {
const active = option.key === winRateWindow;
return (
- setWinRateWindow(option.key)}
+ variant={active ? 'secondary' : 'ghost'}
+ size="sm"
style={{
border: active ? overviewActiveBorder : overviewSoftBorder,
color: active ? overviewSuccessText : overviewQuietText,
background: active ? overviewActiveSurface : overviewMutedSurface,
borderRadius: '8px',
- padding: '4px 8px',
fontSize: '0.7rem',
- fontWeight: 700,
- cursor: 'pointer'
+ fontWeight: 700
}}
>
{option.label}
-
+
);
})}