kalei/initial mockups/screens/guide/71-guide-moment-log.html

282 lines
10 KiB
HTML
Raw Permalink Normal View History

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=390, initial-scale=1">
<title>Kalei — Log a Moment</title>
<link rel="stylesheet" href="../../assets/design-system.css">
<style>
@keyframes breathing {
0%, 100% { opacity: 0.6; transform: scale(1); }
50% { opacity: 1; transform: scale(1.05); }
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes tileGlow {
0%, 100% { box-shadow: 0 0 8px rgba(139,92,246,0.2); }
50% { box-shadow: 0 0 24px rgba(139,92,246,0.5); }
}
.reminder-card {
background: var(--kalei-navy);
border: 1px solid rgba(139,92,246,0.2);
border-radius: var(--radius-xl);
padding: var(--space-3) var(--space-4);
margin-bottom: var(--space-5);
display: flex;
align-items: center;
gap: var(--space-3);
}
.reminder-icon {
width: 36px;
height: 36px;
border-radius: var(--radius-md);
background: rgba(139,92,246,0.1);
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.reminder-text {
font-size: 13px;
color: var(--dim-light);
line-height: 1.5;
}
.reminder-text strong {
color: var(--soft-light);
font-weight: 500;
}
.input-label {
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.07em;
color: var(--dim-light);
margin-bottom: var(--space-2);
}
.moment-textarea {
width: 100%;
min-height: 100px;
background: var(--deep-glass);
border: 1px solid var(--twilight);
border-radius: var(--radius-lg);
padding: var(--space-3) var(--space-4);
font-family: var(--font-primary);
font-size: 16px;
color: var(--pure-light);
resize: none;
outline: none;
line-height: 1.6;
transition: border-color 0.2s ease-out, box-shadow 0.2s ease-out;
margin-bottom: var(--space-4);
}
.moment-textarea::placeholder { color: var(--faint-light); }
.moment-textarea:focus {
border-color: var(--amethyst);
box-shadow: 0 0 0 3px rgba(139,92,246,0.1);
}
.logged-entry {
background: var(--deep-glass);
border: 1px solid var(--twilight);
border-radius: var(--radius-lg);
padding: var(--space-3) var(--space-4);
margin-bottom: var(--space-4);
}
.logged-entry-label {
font-size: 10px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--faint-light);
margin-bottom: var(--space-2);
}
.logged-entry-text {
font-size: 14px;
color: var(--soft-light);
line-height: 1.6;
}
.logged-entry-meta {
font-size: 12px;
color: var(--faint-light);
margin-top: var(--space-2);
}
/* Confirmation card */
.confirmation-card {
background: var(--kalei-navy);
border: 1px solid rgba(139,92,246,0.3);
border-radius: var(--radius-xl);
padding: var(--space-4);
margin-bottom: var(--space-4);
box-shadow: 0 0 16px rgba(139,92,246,0.08);
}
.confirmation-header {
display: flex;
align-items: center;
gap: var(--space-2);
margin-bottom: var(--space-3);
}
.confirmation-icon {
width: 32px;
height: 32px;
border-radius: 50%;
background: rgba(139,92,246,0.15);
display: flex;
align-items: center;
justify-content: center;
}
.confirmation-title {
font-size: 14px;
font-weight: 600;
color: var(--amethyst-light);
}
.confirmation-body {
font-size: 13px;
color: var(--soft-light);
line-height: 1.6;
margin-bottom: var(--space-3);
}
/* Evidence tile preview */
.evidence-preview {
display: flex;
align-items: center;
gap: var(--space-3);
padding: var(--space-3);
background: rgba(139,92,246,0.05);
border: 1px solid rgba(139,92,246,0.15);
border-radius: var(--radius-lg);
}
.evidence-tile-mini {
width: 52px;
height: 52px;
border-radius: var(--radius-md);
background: var(--kalei-navy);
border: 1px solid var(--amethyst);
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
animation: tileGlow 3s ease-in-out infinite;
}
.evidence-tile-info { flex: 1; }
.evidence-tile-label {
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--amethyst);
margin-bottom: 2px;
}
.evidence-tile-text {
font-size: 13px;
color: var(--soft-light);
}
.save-btn {
height: 52px;
background: var(--amethyst);
color: var(--pure-light);
font-size: 16px;
font-weight: 600;
border-radius: var(--radius-lg);
display: flex;
align-items: center;
justify-content: center;
text-decoration: none;
box-shadow: 0 0 20px rgba(139,92,246,0.25);
margin-bottom: var(--space-3);
transition: background 0.2s ease-out;
}
.save-btn:hover { background: var(--amethyst-light); }
</style>
</head>
<body>
<div class="device-frame">
<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>
<div class="nav-header">
<a class="nav-back" href="70-guide-attention-prompt.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">Log a Moment</span>
<span class="nav-action"></span>
</div>
<div class="screen-content" style="padding-top: var(--space-4); padding-bottom: var(--space-8);">
<!-- Today's prompt reminder -->
<div class="reminder-card">
<div class="reminder-icon">
<svg width="18" height="18" viewBox="0 0 18 18" fill="none">
<circle cx="9" cy="9" r="7" stroke="var(--amethyst)" stroke-width="1.2"/>
<path d="M9 5v4l3 2" stroke="var(--amethyst)" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="reminder-text">
Today's prompt: <strong>Notice when you catch yourself catastrophizing</strong>
</div>
</div>
<!-- Text input -->
<div class="input-label">What did you notice?</div>
<textarea class="moment-textarea" placeholder="Describe the moment — what happened, when, what the leap looked like..."></textarea>
<!-- Mock logged entry (shown as already submitted) -->
<div class="logged-entry">
<div class="logged-entry-label">Logged today</div>
<div class="logged-entry-text">"After the standup I immediately thought 'everyone thinks I'm incompetent now.' Then I caught it — nobody actually said that. My manager even nodded when I pushed back on the timeline."</div>
<div class="logged-entry-meta">Today, 10:14 AM · Catastrophizing · Present with confidence</div>
</div>
<!-- Confirmation card -->
<div class="confirmation-card">
<div class="confirmation-header">
<div class="confirmation-icon">
<svg width="16" height="16" viewBox="0 0 16 16" fill="none">
<path d="M3 8l3.5 3.5L13 4" stroke="var(--amethyst)" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<span class="confirmation-title">That's the pattern — and you saw it</span>
</div>
<div class="confirmation-body">
Catching the leap between "this went badly" and "everything is ruined" — that's awareness in action. You don't have to stop it every time. Noticing it is enough. Added to your Evidence Wall.
</div>
<!-- Evidence wall tile preview -->
<div class="evidence-preview">
<div class="evidence-tile-mini">
<svg width="24" height="24" viewBox="0 0 24 24">
<defs>
<linearGradient id="ml-grAm" x1="0" y1="0" x2="0" y2="1">
<stop offset="0%" stop-color="#C4B5FD"/>
<stop offset="100%" stop-color="#7C3AED"/>
</linearGradient>
</defs>
<path d="M12 2L20 12L12 22L4 12Z" fill="url(#ml-grAm)" opacity="0.9"/>
<path d="M12 2L20 12L12 12Z" fill="#fff" opacity="0.15"/>
</svg>
</div>
<div class="evidence-tile-info">
<div class="evidence-tile-label">New tile earned</div>
<div class="evidence-tile-text">Moment logged · Feb 22, 2026</div>
</div>
<a href="../you/40-evidence-wall-mid.html" style="font-size: 12px; color: var(--amethyst-light); text-decoration: none; white-space: nowrap;">View wall →</a>
</div>
</div>
<a class="save-btn" href="../lens/20-lens-dashboard.html">Done</a>
</div>
</div>
</body>
</html>