kalei/initial mockups/screens/lens/21-lens-create-step1.html

157 lines
6.3 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 1</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; }
.input-field:focus { border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(16,185,129,0.1); }
.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-6);
}
.nav-back { color: var(--emerald-light) !important; }
.example-chips {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 16px;
}
.example-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);
cursor: pointer;
transition: background 0.15s;
}
.example-chip:hover { background: rgba(16,185,129,0.15); }
.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);
}
.btn-next-emerald {
display: flex;
align-items: center;
justify-content: center;
gap: var(--space-2);
height: 52px;
width: 100%;
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; }
.aura-small {
position: absolute;
top: -60px;
right: -60px;
width: 200px;
height: 200px;
border-radius: 50%;
background: radial-gradient(circle, rgba(16,185,129,0.1) 0%, transparent 70%);
filter: blur(40px);
pointer-events: none;
}
</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="20-lens-dashboard.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">1 of 6</span>
</div>
<div class="step-progress">
<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 class="step-dot"></div>
</div>
<div class="screen-content" style="padding-top: var(--space-6); position: relative;">
<div class="aura-small"></div>
<!-- Emerald circle icon -->
<div style="margin-bottom: var(--space-5);">
<svg width="48" height="48" viewBox="0 0 48 48">
<defs>
<linearGradient id="grEm1" x1="0" y1="0" x2="0" y2="1">
<stop offset="0%" stop-color="#6EE7B7"/>
<stop offset="100%" stop-color="#059669"/>
</linearGradient>
</defs>
<circle cx="24" cy="24" r="22" fill="none" stroke="url(#grEm1)" stroke-width="2" opacity="0.6"/>
<circle cx="24" cy="24" r="10" fill="none" stroke="url(#grEm1)" stroke-width="1.5"/>
<circle cx="24" cy="24" r="4" fill="url(#grEm1)" opacity="0.8"/>
</svg>
</div>
<div class="step-question">What do you want to achieve?</div>
<div class="step-hint">Be specific and ambitious. The clearer your goal, the more effectively you can rehearse achieving it.</div>
<input type="text" class="input-field" placeholder="e.g. Present with confidence" id="goalInput" style="font-size: 17px; height: 56px;">
<div class="example-chips">
<div class="example-chip" onclick="setGoal(this)">Present with confidence</div>
<div class="example-chip" onclick="setGoal(this)">Set boundaries at work</div>
<div class="example-chip" onclick="setGoal(this)">Practice self-compassion</div>
<div class="example-chip" onclick="setGoal(this)">Ask for a promotion</div>
<div class="example-chip" onclick="setGoal(this)">Build a daily habit</div>
</div>
</div>
<div class="bottom-actions">
<a class="btn-next-emerald" href="22-lens-create-step2.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 setGoal(el) {
document.getElementById('goalInput').value = el.textContent;
}
</script>
</body>
</html>