kalei/initial mockups/screens/you/36-you-stats.html

291 lines
9.8 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=390, initial-scale=1">
<title>Kalei — Your Stats</title>
<link rel="stylesheet" href="../../assets/design-system.css">
<style>
.big-stats-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--space-3);
margin-bottom: var(--space-5);
}
.big-stat {
background: var(--deep-glass);
border: 1px solid var(--twilight);
border-radius: var(--radius-xl);
padding: var(--space-4);
}
.big-stat .bval {
font-size: 36px;
font-weight: 700;
line-height: 1.1;
margin-bottom: 4px;
}
.big-stat .blbl {
font-size: 12px;
color: var(--dim-light);
text-transform: uppercase;
letter-spacing: 0.05em;
}
.bar-chart-container {
background: var(--deep-glass);
border: 1px solid var(--twilight);
border-radius: var(--radius-xl);
padding: var(--space-4);
margin-bottom: var(--space-5);
}
.bar-chart {
display: flex;
align-items: flex-end;
gap: var(--space-2);
height: 80px;
margin-top: var(--space-3);
}
.bar-group {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
gap: 4px;
}
.bar {
width: 100%;
border-radius: 4px 4px 0 0;
background: linear-gradient(to top, var(--amethyst-dark), var(--amethyst-light));
transition: height 0.3s ease;
}
.bar-week-label {
font-size: 10px;
color: var(--faint-light);
text-align: center;
}
.big-stat {
transition: box-shadow 0.2s;
}
.big-stat:hover {
box-shadow: 0 0 16px rgba(139,92,246,0.1);
}
.distortions-list {
background: var(--deep-glass);
border: 1px solid var(--twilight);
border-radius: var(--radius-xl);
padding: var(--space-4);
margin-bottom: var(--space-5);
}
.distortion-row {
display: flex;
align-items: center;
gap: var(--space-3);
margin-bottom: var(--space-3);
}
.distortion-row:last-child { margin-bottom: 0; }
.dist-rank {
font-size: 12px;
font-weight: 700;
color: var(--faint-light);
width: 16px;
flex-shrink: 0;
}
.dist-name {
flex: 1;
font-size: 13px;
color: var(--soft-light);
}
.dist-bar-wrap {
width: 80px;
height: 6px;
background: var(--twilight);
border-radius: 3px;
overflow: hidden;
}
.dist-bar {
height: 100%;
background: linear-gradient(to right, var(--amber-dark), var(--amber-light));
border-radius: 3px;
}
.dist-count {
font-size: 12px;
color: var(--dim-light);
width: 24px;
text-align: right;
}
.feature-breakdown {
background: var(--deep-glass);
border: 1px solid var(--twilight);
border-radius: var(--radius-xl);
padding: var(--space-4);
margin-bottom: var(--space-6);
}
.feature-row {
display: flex;
align-items: center;
gap: var(--space-3);
margin-bottom: var(--space-3);
}
.feature-row:last-child { margin-bottom: 0; }
.feature-dot {
width: 10px;
height: 10px;
border-radius: 50%;
flex-shrink: 0;
}
.feature-name { flex: 1; font-size: 14px; color: var(--soft-light); }
.feature-pct {
font-size: 14px;
font-weight: 600;
color: var(--pure-light);
}
.feature-bar-wrap {
width: 60px;
height: 4px;
background: var(--twilight);
border-radius: 2px;
overflow: hidden;
}
.feature-bar { height: 100%; border-radius: 2px; }
</style>
</head>
<body>
<div class="device-frame">
<!-- STATUS BAR -->
<div class="status-bar">
<span class="time">9:41</span>
<div class="icons">
<svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="7" width="2.5" height="5" rx="0.5" fill="#E2E8F0" opacity="0.4"/><rect x="4.5" y="5" width="2.5" height="7" rx="0.5" fill="#E2E8F0" opacity="0.6"/><rect x="8" y="3" width="2.5" height="9" rx="0.5" fill="#E2E8F0" opacity="0.8"/><rect x="11.5" y="1" width="2.5" height="11" rx="0.5" fill="#E2E8F0"/></svg>
<svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M 2,8 C 4,4 12,4 14,8" stroke="#E2E8F0" stroke-width="1.2" fill="none" stroke-linecap="round"/><path d="M 4,10 C 6,7 10,7 12,10" stroke="#E2E8F0" stroke-width="1" fill="none" opacity="0.8" stroke-linecap="round"/><circle cx="8" cy="12" r="1.2" fill="#E2E8F0"/></svg>
<svg width="24" height="12" viewBox="0 0 24 12" fill="none"><rect x="0.5" y="0.5" width="21" height="11" rx="2.5" stroke="#E2E8F0" stroke-width="1" opacity="0.5"/><rect x="22" y="3" width="2" height="6" rx="1" fill="#E2E8F0" opacity="0.3"/><rect x="2" y="2" width="16" height="8" rx="1.5" fill="#10B981" opacity="0.9"/></svg>
</div>
</div>
<!-- NAV HEADER -->
<div class="nav-header">
<a class="nav-back" href="35-you-profile.html">
<svg width="20" height="20" viewBox="0 0 20 20" fill="none">
<path d="M12 4L6 10L12 16" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</a>
<span class="nav-title">Your Stats</span>
<span class="nav-action"></span>
</div>
<!-- SCREEN CONTENT -->
<div class="screen-content" style="padding-top: var(--space-4);">
<!-- Big Stat Blocks -->
<div class="big-stats-grid">
<div class="big-stat">
<div class="bval text-amethyst">47</div>
<div class="blbl">Total Turns</div>
</div>
<div class="big-stat">
<div class="bval text-amber">18</div>
<div class="blbl">Fragments Found</div>
</div>
<div class="big-stat">
<div class="bval text-emerald">23</div>
<div class="blbl">Mirror Sessions</div>
</div>
<div class="big-stat">
<div class="bval" style="color: var(--rose);">14</div>
<div class="blbl">Day Streak</div>
</div>
</div>
<!-- Turns Per Week -->
<div class="section-header">
<span class="section-title">Turns Per Week</span>
</div>
<div class="bar-chart-container">
<div style="font-size: 11px; color: var(--dim-light); margin-bottom: 4px;">Feb 1 Feb 22</div>
<div class="bar-chart">
<div class="bar-group">
<div class="bar" style="height: 38px;"></div>
<div class="bar-week-label">Feb 17</div>
</div>
<div class="bar-group">
<div class="bar" style="height: 52px;"></div>
<div class="bar-week-label">Feb 814</div>
</div>
<div class="bar-group">
<div class="bar" style="height: 65px;"></div>
<div class="bar-week-label">Feb 1521</div>
</div>
<div class="bar-group">
<div class="bar" style="height: 22px; opacity: 0.6;"></div>
<div class="bar-week-label">Feb 22</div>
</div>
</div>
</div>
<!-- Top Distortions -->
<div class="section-header">
<span class="section-title">Top Distortions</span>
</div>
<div class="distortions-list">
<div class="distortion-row">
<div class="dist-rank">1</div>
<div class="dist-name">Catastrophizing</div>
<div class="dist-bar-wrap"><div class="dist-bar" style="width: 100%;"></div></div>
<div class="dist-count">7</div>
</div>
<div class="distortion-row">
<div class="dist-rank">2</div>
<div class="dist-name">Mind Reading</div>
<div class="dist-bar-wrap"><div class="dist-bar" style="width: 57%;"></div></div>
<div class="dist-count">4</div>
</div>
<div class="distortion-row">
<div class="dist-rank">3</div>
<div class="dist-name">Should Statements</div>
<div class="dist-bar-wrap"><div class="dist-bar" style="width: 43%;"></div></div>
<div class="dist-count">3</div>
</div>
<div class="distortion-row">
<div class="dist-rank">4</div>
<div class="dist-name">Overgeneralization</div>
<div class="dist-bar-wrap"><div class="dist-bar" style="width: 29%;"></div></div>
<div class="dist-count">2</div>
</div>
<div class="distortion-row">
<div class="dist-rank">5</div>
<div class="dist-name">Personalization</div>
<div class="dist-bar-wrap"><div class="dist-bar" style="width: 29%;"></div></div>
<div class="dist-count">2</div>
</div>
</div>
<!-- Feature Breakdown -->
<div class="section-header">
<span class="section-title">Feature Usage</span>
</div>
<div class="feature-breakdown">
<div class="feature-row">
<div class="feature-dot" style="background: var(--amethyst);"></div>
<div class="feature-name">Turn</div>
<div class="feature-bar-wrap"><div class="feature-bar" style="width: 75%; background: var(--amethyst);"></div></div>
<div class="feature-pct">75%</div>
</div>
<div class="feature-row">
<div class="feature-dot" style="background: var(--amber);"></div>
<div class="feature-name">Mirror</div>
<div class="feature-bar-wrap"><div class="feature-bar" style="width: 15%; background: var(--amber);"></div></div>
<div class="feature-pct">15%</div>
</div>
<div class="feature-row">
<div class="feature-dot" style="background: var(--emerald);"></div>
<div class="feature-name">Lens</div>
<div class="feature-bar-wrap"><div class="feature-bar" style="width: 10%; background: var(--emerald);"></div></div>
<div class="feature-pct">10%</div>
</div>
</div>
</div>
</div>
</body>
</html>