diff --git a/README.md b/README.md index d8e14d0..97001b4 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ your numbers follow you across devices. See [`SUPABASE_SETUP.md`](./SUPABASE_SET game / day-of-week heatmap. - **📈 Charts** — bankroll curve vs EV, session-result histogram, rolling hourly rate, monthly P&L, session-length-vs-profit scatter, and a Monte Carlo - variance simulation. All dark-themed (Recharts). + variance simulation. Clean light theme (Recharts). - **🧮 Calculators** — a bankroll calculator (required roll for a target Risk of Ruin, months to build) and a variance simulator (10 Monte Carlo paths, best/worst/median, probability of being up, expected max drawdown). diff --git a/index.html b/index.html index b202c7f..3896ca6 100644 --- a/index.html +++ b/index.html @@ -1,11 +1,19 @@ - + - + + + + + + @@ -14,12 +22,12 @@ - + Felt Ledger - +
diff --git a/src/App.jsx b/src/App.jsx index a05aaf0..887a3d2 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -12,6 +12,7 @@ import Calculators from './components/tabs/Calculators.jsx'; import SessionHistory from './components/tabs/SessionHistory.jsx'; import Toast from './components/ui/Toast.jsx'; import AccountMenu from './components/ui/AccountMenu.jsx'; +import Icon from './components/ui/Icon.jsx'; export default function App() { const [tab, setTab] = useState('log'); @@ -84,37 +85,46 @@ export default function App() { // guest data to a user who's actually signed in. if (configured && !ready) { return ( -
+
- ♠️ -
Loading…
+ + + +
Loading…
); } return ( -
+
{/* Header */} -
-
-
- ♠️ +
+
+
+ + +
-

Felt Ledger

-

{activeTab?.full}

+

Felt Ledger

+

{activeTab?.full}

{/* Cloud sync progress */} {mode === 'cloud' && loading && ( -
+
)} - {/* Desktop tab bar */} -
{/* Sample data banner */} {isSample && ( -
-
- 🧪 +
+
+ Showing sample data — log your first session to start tracking your own.
@@ -167,9 +181,9 @@ export default function App() { {/* Migrate guest data into a fresh cloud account */} {showMigrate && ( -
-
- ☁️ +
+
+ You have {localSessionCount} session{localSessionCount === 1 ? '' : 's'} stored locally. Upload them to your account so they sync across devices? @@ -183,7 +197,7 @@ export default function App() { @@ -193,23 +207,27 @@ export default function App() { )} {/* Content */} -
{tabProps[tab]}
+
{tabProps[tab]}
{/* Mobile bottom tab bar */} -