kalei/initial mockups/screens/lens/22-lens-create-step2.html

122 lines
6.4 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=390, initial-scale=1">
<title>Kalei — New Goal Step 2</title>
<link rel="stylesheet" href="../../assets/design-system.css">
<style>
.step-dot.active { background: var(--emerald); box-shadow: 0 0 8px rgba(16,185,129,0.4); }
.step-dot.completed { background: var(--emerald); opacity: 0.5; }
.step-question { font-size: 22px; font-weight: 600; color: var(--pure-light); line-height: 1.3; margin-bottom: var(--space-3); }
.step-hint { font-size: 14px; color: var(--dim-light); line-height: 1.5; margin-bottom: var(--space-5); }
.nav-back { color: var(--emerald-light) !important; }
.textarea-field:focus { border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(16,185,129,0.1); }
.bottom-actions {
position: absolute; bottom: 0; left: 0; right: 0;
padding: var(--space-4) var(--space-4) var(--space-6);
background: linear-gradient(to top, var(--void) 70%, transparent);
display: flex; gap: var(--space-3);
}
.btn-back-ghost {
display: flex; align-items: center; justify-content: center;
height: 52px; width: 52px;
background: var(--deep-glass); color: var(--dim-light);
border: 1px solid var(--twilight); border-radius: var(--radius-lg);
text-decoration: none; flex-shrink: 0; transition: background 0.2s;
}
.btn-back-ghost:hover { background: var(--twilight); }
.btn-next-emerald {
display: flex; align-items: center; justify-content: center; gap: var(--space-2);
height: 52px; flex: 1; background: var(--emerald); color: var(--pure-light);
font-size: 16px; font-weight: 600; border-radius: var(--radius-lg);
box-shadow: var(--glow-emerald); text-decoration: none; transition: background 0.2s;
}
.btn-next-emerald:hover { background: var(--emerald-light); }
.screen-content { padding-bottom: 120px; }
.why-prompts {
display: flex; flex-direction: column; gap: var(--space-2);
margin-top: var(--space-4);
}
.why-prompt {
background: var(--deep-glass); border: 1px solid var(--twilight);
border-radius: var(--radius-md); padding: var(--space-3) var(--space-4);
font-size: 14px; color: var(--dim-light); cursor: pointer;
transition: all 0.15s;
}
.why-prompt:hover { border-color: rgba(16,185,129,0.3); color: var(--soft-light); }
.goal-chip {
background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.2);
border-radius: var(--radius-full); padding: 6px 14px; font-size: 13px;
color: var(--emerald-light); display: inline-flex; align-items: center; gap: 6px;
margin-bottom: var(--space-5);
}
</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="21-lens-create-step1.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">New Goal</span>
<span class="nav-action body-sm text-dim">2 of 6</span>
</div>
<div class="step-progress">
<div class="step-dot completed"></div>
<div class="step-dot active"></div>
<div class="step-dot"></div>
<div class="step-dot"></div>
<div class="step-dot"></div>
<div class="step-dot"></div>
</div>
<div class="screen-content" style="padding-top: var(--space-6);">
<div class="goal-chip">
<svg width="12" height="12" viewBox="0 0 12 12"><circle cx="6" cy="6" r="5" stroke="var(--emerald)" fill="none" stroke-width="1"/><circle cx="6" cy="6" r="2" fill="var(--emerald)"/></svg>
Present with confidence
</div>
<div class="step-question">Why does this matter to you?</div>
<div class="step-hint">Understanding your deeper motivation keeps you going when things get hard. Be honest with yourself.</div>
<textarea class="textarea-field" placeholder="This matters to me because..." style="min-height: 140px; font-size: 16px;"></textarea>
<div class="why-prompts">
<div class="why-prompt" onclick="appendText(this)">I want to stop letting fear stop me from sharing ideas I believe in</div>
<div class="why-prompt" onclick="appendText(this)">Being visible at work matters for my career growth</div>
<div class="why-prompt" onclick="appendText(this)">I want to feel capable and not undermine myself</div>
</div>
</div>
<div class="bottom-actions">
<a class="btn-back-ghost" href="21-lens-create-step1.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>
<a class="btn-next-emerald" href="23-lens-create-step3.html">
Next
<svg width="18" height="18" viewBox="0 0 18 18" fill="none"><path d="M6 4l5 5-5 5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>
</a>
</div>
</div>
<script>
function appendText(el) {
const ta = document.querySelector('.textarea-field');
ta.value = el.textContent;
ta.focus();
}
</script>
</body>
</html>