Initial commit: Kalei app — docs, mockups, logo, pitch deck
Complete project files including: - 73 polished HTML mockup screens (onboarding, turn, mirror, lens, gallery, you, ritual, spectrum, modals, guide) - Design system CSS with Inter font, jewel-tone palette, device frame scaling - Canonical 6-blade kaleidoscope logo (soft-elegance-final) - SVG asset library (fragments, icons, patterns, evidence wall, spectrum viz) - Product docs, brand guidelines, technical architecture, build phases - Pitch deck and cost projections - Logo mockup iterations and finalists Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,292 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=390, initial-scale=1">
|
||||
<title>Kalei — Notification Settings</title>
|
||||
<link rel="stylesheet" href="../../assets/design-system.css">
|
||||
<style>
|
||||
.settings-section {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.toggle-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 14px 16px;
|
||||
background: var(--kalei-navy);
|
||||
border-bottom: 1px solid rgba(28,34,64,0.6);
|
||||
}
|
||||
.toggle-row:first-child { border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
|
||||
.toggle-row:last-child {
|
||||
border-radius: 0 0 var(--radius-xl) var(--radius-xl);
|
||||
border-bottom: none;
|
||||
}
|
||||
.toggle-row:only-child { border-radius: var(--radius-xl); }
|
||||
.toggle-info { flex: 1; }
|
||||
.toggle-title {
|
||||
font-size: 15px;
|
||||
font-weight: 500;
|
||||
color: var(--pure-light);
|
||||
}
|
||||
.toggle-desc {
|
||||
font-size: 12px;
|
||||
color: var(--dim-light);
|
||||
margin-top: 2px;
|
||||
}
|
||||
/* Toggle switch */
|
||||
.toggle-switch {
|
||||
position: relative;
|
||||
width: 50px;
|
||||
height: 28px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.toggle-switch input {
|
||||
opacity: 0;
|
||||
width: 0;
|
||||
height: 0;
|
||||
position: absolute;
|
||||
}
|
||||
.toggle-track {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
border-radius: var(--radius-full);
|
||||
background: var(--twilight);
|
||||
cursor: pointer;
|
||||
transition: background 0.2s;
|
||||
}
|
||||
.toggle-thumb {
|
||||
position: absolute;
|
||||
top: 3px;
|
||||
left: 3px;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
border-radius: 50%;
|
||||
background: var(--dim-light);
|
||||
transition: transform 0.2s, background 0.2s;
|
||||
}
|
||||
.toggle-switch input:checked + .toggle-track {
|
||||
background: var(--amethyst);
|
||||
box-shadow: 0 0 8px rgba(139,92,246,0.3);
|
||||
}
|
||||
.toggle-switch input:checked + .toggle-track .toggle-thumb {
|
||||
transform: translateX(22px);
|
||||
background: var(--pure-light);
|
||||
}
|
||||
|
||||
.time-picker-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 12px 16px;
|
||||
gap: 12px;
|
||||
}
|
||||
.time-picker-label {
|
||||
font-size: 13px;
|
||||
color: var(--dim-light);
|
||||
flex: 1;
|
||||
}
|
||||
.time-picker-input {
|
||||
height: 34px;
|
||||
background: var(--deep-glass);
|
||||
border: 1px solid var(--twilight);
|
||||
border-radius: var(--radius-md);
|
||||
padding: 0 10px;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
color: var(--amethyst-light);
|
||||
font-family: var(--font-primary);
|
||||
cursor: pointer;
|
||||
outline: none;
|
||||
transition: border-color 0.2s;
|
||||
width: 100px;
|
||||
text-align: center;
|
||||
}
|
||||
.time-picker-input:focus { border-color: var(--amethyst); }
|
||||
|
||||
.section-card {
|
||||
background: var(--kalei-navy);
|
||||
border: 1px solid rgba(28,34,64,0.8);
|
||||
border-radius: var(--radius-xl);
|
||||
overflow: hidden;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.save-area {
|
||||
padding: 8px 0 20px;
|
||||
}
|
||||
|
||||
.screen-content { padding-bottom: 20px; }
|
||||
</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="../you/37-you-settings.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">Notifications</span>
|
||||
<span class="nav-action"></span>
|
||||
</div>
|
||||
|
||||
<div class="screen-content">
|
||||
<!-- Notification toggles -->
|
||||
<div class="settings-section">
|
||||
<div class="section-header" style="margin-top: 8px;">
|
||||
<span class="section-title">Reminders</span>
|
||||
</div>
|
||||
|
||||
<div class="section-card">
|
||||
<!-- Daily Ritual Reminder -->
|
||||
<div class="toggle-row">
|
||||
<div class="toggle-info">
|
||||
<div class="toggle-title">Daily Ritual Reminder</div>
|
||||
<div class="toggle-desc">Gentle nudge to start your daily ritual</div>
|
||||
</div>
|
||||
<label class="toggle-switch" onclick="toggleChange(this)">
|
||||
<input type="checkbox" checked onchange="toggleChange(this)">
|
||||
<div class="toggle-track">
|
||||
<div class="toggle-thumb"></div>
|
||||
</div>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<!-- Time picker for ritual -->
|
||||
<div class="time-picker-row" id="ritualTimePicker">
|
||||
<span class="time-picker-label">Reminder time</span>
|
||||
<input type="time" class="time-picker-input" value="08:00">
|
||||
</div>
|
||||
|
||||
<div class="divider" style="margin: 0 16px;"></div>
|
||||
|
||||
<!-- Mirror Check-in -->
|
||||
<div class="toggle-row">
|
||||
<div class="toggle-info">
|
||||
<div class="toggle-title">Mirror Check-in</div>
|
||||
<div class="toggle-desc">Remind you to journal each day</div>
|
||||
</div>
|
||||
<label class="toggle-switch">
|
||||
<input type="checkbox" checked onchange="toggleChange(this)">
|
||||
<div class="toggle-track">
|
||||
<div class="toggle-thumb"></div>
|
||||
</div>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<!-- Time picker for mirror -->
|
||||
<div class="time-picker-row">
|
||||
<span class="time-picker-label">Reminder time</span>
|
||||
<input type="time" class="time-picker-input" value="21:00">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Insights -->
|
||||
<div class="settings-section">
|
||||
<div class="section-header">
|
||||
<span class="section-title">Insights</span>
|
||||
</div>
|
||||
|
||||
<div class="section-card">
|
||||
<!-- Weekly Spectrum Summary -->
|
||||
<div class="toggle-row">
|
||||
<div class="toggle-info">
|
||||
<div class="toggle-title">Weekly Spectrum Summary</div>
|
||||
<div class="toggle-desc">Your weekly Spectrum report every Sunday</div>
|
||||
</div>
|
||||
<label class="toggle-switch">
|
||||
<input type="checkbox" onchange="toggleChange(this)">
|
||||
<div class="toggle-track">
|
||||
<div class="toggle-thumb"></div>
|
||||
</div>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="divider" style="margin: 0 16px;"></div>
|
||||
|
||||
<!-- Streak Alerts -->
|
||||
<div class="toggle-row">
|
||||
<div class="toggle-info">
|
||||
<div class="toggle-title">Streak Alerts</div>
|
||||
<div class="toggle-desc">Alerts when you're about to break a streak</div>
|
||||
</div>
|
||||
<label class="toggle-switch">
|
||||
<input type="checkbox" checked onchange="toggleChange(this)">
|
||||
<div class="toggle-track">
|
||||
<div class="toggle-thumb"></div>
|
||||
</div>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Milestones -->
|
||||
<div class="settings-section">
|
||||
<div class="section-header">
|
||||
<span class="section-title">Achievements</span>
|
||||
</div>
|
||||
|
||||
<div class="section-card">
|
||||
<div class="toggle-row">
|
||||
<div class="toggle-info">
|
||||
<div class="toggle-title">Milestone Celebrations</div>
|
||||
<div class="toggle-desc">Notify when you earn new Evidence Wall tiles</div>
|
||||
</div>
|
||||
<label class="toggle-switch">
|
||||
<input type="checkbox" checked onchange="toggleChange(this)">
|
||||
<div class="toggle-track">
|
||||
<div class="toggle-thumb"></div>
|
||||
</div>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Save button -->
|
||||
<div class="save-area">
|
||||
<button class="btn btn-primary" onclick="saveSettings()">Save Preferences</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
function toggleChange(el) {
|
||||
// Visual feedback is handled by CSS
|
||||
}
|
||||
|
||||
function saveSettings() {
|
||||
const btn = document.querySelector('.btn-primary');
|
||||
btn.textContent = 'Saved';
|
||||
btn.style.background = 'var(--emerald)';
|
||||
btn.style.boxShadow = 'var(--glow-emerald)';
|
||||
setTimeout(() => {
|
||||
btn.textContent = 'Save Preferences';
|
||||
btn.style.background = '';
|
||||
btn.style.boxShadow = '';
|
||||
}, 2000);
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
328
initial mockups/screens/system-states/63-data-export.html
Normal file
328
initial mockups/screens/system-states/63-data-export.html
Normal file
@@ -0,0 +1,328 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=390, initial-scale=1">
|
||||
<title>Kalei — Export Your Data</title>
|
||||
<link rel="stylesheet" href="../../assets/design-system.css">
|
||||
<style>
|
||||
.export-section {
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
.info-card {
|
||||
background: var(--kalei-navy);
|
||||
border: 1px solid var(--twilight);
|
||||
border-radius: var(--radius-xl);
|
||||
padding: 16px;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
.info-title {
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
color: var(--pure-light);
|
||||
margin-bottom: 8px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
.info-text {
|
||||
font-size: 14px;
|
||||
color: var(--soft-light);
|
||||
line-height: 1.5;
|
||||
}
|
||||
.included-list {
|
||||
margin-top: 10px;
|
||||
}
|
||||
.included-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 6px 0;
|
||||
font-size: 13px;
|
||||
color: var(--dim-light);
|
||||
}
|
||||
.included-item-dot {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
border-radius: 50%;
|
||||
background: var(--amethyst);
|
||||
opacity: 0.6;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.format-section {
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
.format-option {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 14px;
|
||||
padding: 14px 16px;
|
||||
background: var(--kalei-navy);
|
||||
border: 1px solid var(--twilight);
|
||||
border-radius: var(--radius-lg);
|
||||
margin-bottom: 8px;
|
||||
cursor: pointer;
|
||||
transition: border-color 0.2s;
|
||||
}
|
||||
.format-option.selected {
|
||||
border-color: var(--amethyst);
|
||||
background: rgba(139,92,246,0.06);
|
||||
}
|
||||
.format-radio {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border-radius: 50%;
|
||||
border: 2px solid var(--twilight);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
transition: border-color 0.2s;
|
||||
}
|
||||
.format-option.selected .format-radio {
|
||||
border-color: var(--amethyst);
|
||||
}
|
||||
.format-radio-dot {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border-radius: 50%;
|
||||
background: var(--amethyst);
|
||||
opacity: 0;
|
||||
transition: opacity 0.2s;
|
||||
}
|
||||
.format-option.selected .format-radio-dot { opacity: 1; }
|
||||
.format-info { flex: 1; }
|
||||
.format-name {
|
||||
font-size: 15px;
|
||||
font-weight: 500;
|
||||
color: var(--pure-light);
|
||||
}
|
||||
.format-desc {
|
||||
font-size: 12px;
|
||||
color: var(--dim-light);
|
||||
margin-top: 2px;
|
||||
}
|
||||
.format-badge {
|
||||
font-size: 10px;
|
||||
font-weight: 600;
|
||||
padding: 2px 8px;
|
||||
border-radius: var(--radius-full);
|
||||
}
|
||||
|
||||
.export-btn {
|
||||
width: 100%;
|
||||
height: 52px;
|
||||
border: none;
|
||||
border-radius: var(--radius-lg);
|
||||
background: var(--amethyst);
|
||||
color: white;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
font-family: var(--font-primary);
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 10px;
|
||||
box-shadow: var(--glow-amethyst);
|
||||
transition: all 0.3s;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.export-btn:hover { background: var(--amethyst-light); }
|
||||
.export-btn.loading {
|
||||
background: var(--deep-glass);
|
||||
border: 1px solid var(--twilight);
|
||||
color: var(--dim-light);
|
||||
box-shadow: none;
|
||||
cursor: default;
|
||||
}
|
||||
.export-btn.success {
|
||||
background: var(--emerald);
|
||||
box-shadow: var(--glow-emerald);
|
||||
}
|
||||
|
||||
.spinner {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
border: 2px solid rgba(148,163,184,0.3);
|
||||
border-top-color: var(--dim-light);
|
||||
border-radius: 50%;
|
||||
animation: rotate 0.8s linear infinite;
|
||||
display: none;
|
||||
}
|
||||
.export-btn.loading .spinner { display: block; }
|
||||
.export-btn .btn-text { transition: none; }
|
||||
|
||||
.privacy-note {
|
||||
font-size: 12px;
|
||||
color: var(--faint-light);
|
||||
line-height: 1.5;
|
||||
text-align: center;
|
||||
}
|
||||
.screen-content { padding-bottom: 24px; }
|
||||
</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="../you/37-you-settings.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">Export Your Data</span>
|
||||
<span class="nav-action"></span>
|
||||
</div>
|
||||
|
||||
<div class="screen-content">
|
||||
<div style="margin-top: 8px;"></div>
|
||||
|
||||
<!-- Info card -->
|
||||
<div class="info-card">
|
||||
<div class="info-title">
|
||||
<svg width="18" height="18" viewBox="0 0 18 18" fill="none">
|
||||
<circle cx="9" cy="9" r="7" stroke="#8B5CF6" stroke-width="1.2"/>
|
||||
<path d="M9 8V13" stroke="#8B5CF6" stroke-width="1.2" stroke-linecap="round"/>
|
||||
<circle cx="9" cy="5.5" r="0.8" fill="#8B5CF6"/>
|
||||
</svg>
|
||||
What's included in your export
|
||||
</div>
|
||||
<div class="info-text">Your personal data export contains everything you've created in Kalei:</div>
|
||||
|
||||
<div class="included-list">
|
||||
<div class="included-item">
|
||||
<div class="included-item-dot"></div>
|
||||
All Turn transcripts and reframe perspectives
|
||||
</div>
|
||||
<div class="included-item">
|
||||
<div class="included-item-dot" style="background: var(--amber);"></div>
|
||||
Mirror session journals and detected fragments
|
||||
</div>
|
||||
<div class="included-item">
|
||||
<div class="included-item-dot" style="background: var(--emerald);"></div>
|
||||
Lens goals, milestones, and if-then plans
|
||||
</div>
|
||||
<div class="included-item">
|
||||
<div class="included-item-dot" style="background: var(--sapphire);"></div>
|
||||
Gallery patterns and saved keepsakes
|
||||
</div>
|
||||
<div class="included-item">
|
||||
<div class="included-item-dot" style="background: var(--indigo);"></div>
|
||||
Ritual history and streak data
|
||||
</div>
|
||||
<div class="included-item">
|
||||
<div class="included-item-dot"></div>
|
||||
Account settings and coaching preferences
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Format selection -->
|
||||
<div class="format-section">
|
||||
<div class="section-header">
|
||||
<span class="section-title">Export Format</span>
|
||||
</div>
|
||||
|
||||
<div class="format-option selected" id="jsonOption" onclick="selectFormat('json')">
|
||||
<div class="format-radio">
|
||||
<div class="format-radio-dot"></div>
|
||||
</div>
|
||||
<div class="format-info">
|
||||
<div class="format-name">JSON</div>
|
||||
<div class="format-desc">Machine-readable, complete data structure</div>
|
||||
</div>
|
||||
<span class="format-badge" style="background: rgba(139,92,246,0.15); color: var(--amethyst-light);">Developer</span>
|
||||
</div>
|
||||
|
||||
<div class="format-option" id="pdfOption" onclick="selectFormat('pdf')">
|
||||
<div class="format-radio">
|
||||
<div class="format-radio-dot"></div>
|
||||
</div>
|
||||
<div class="format-info">
|
||||
<div class="format-name">PDF Summary</div>
|
||||
<div class="format-desc">Human-readable report with charts and insights</div>
|
||||
</div>
|
||||
<span class="format-badge" style="background: rgba(16,185,129,0.15); color: var(--emerald-light);">Readable</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Export button -->
|
||||
<button class="export-btn" id="exportBtn" onclick="startExport()">
|
||||
<span class="spinner" id="spinner"></span>
|
||||
<span class="btn-text" id="btnText">
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" style="display:inline; vertical-align:middle; margin-right:4px;">
|
||||
<path d="M8 2V10M5 7L8 10L11 7" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M2 12H14" stroke="white" stroke-width="1.5" stroke-linecap="round"/>
|
||||
</svg>
|
||||
Export Data
|
||||
</span>
|
||||
</button>
|
||||
|
||||
<div class="privacy-note">
|
||||
Your data is encrypted and securely transmitted. We never share your personal information with third parties.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
let selectedFormat = 'json';
|
||||
|
||||
function selectFormat(format) {
|
||||
selectedFormat = format;
|
||||
document.getElementById('jsonOption').classList.toggle('selected', format === 'json');
|
||||
document.getElementById('pdfOption').classList.toggle('selected', format === 'pdf');
|
||||
}
|
||||
|
||||
function startExport() {
|
||||
const btn = document.getElementById('exportBtn');
|
||||
const spinner = document.getElementById('spinner');
|
||||
const btnText = document.getElementById('btnText');
|
||||
|
||||
if (btn.classList.contains('loading') || btn.classList.contains('success')) return;
|
||||
|
||||
// Loading state
|
||||
btn.classList.add('loading');
|
||||
btnText.style.display = 'none';
|
||||
spinner.style.display = 'block';
|
||||
|
||||
// Simulate export delay
|
||||
setTimeout(() => {
|
||||
// Success state
|
||||
btn.classList.remove('loading');
|
||||
btn.classList.add('success');
|
||||
spinner.style.display = 'none';
|
||||
btnText.style.display = '';
|
||||
btnText.innerHTML = `
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" style="display:inline; vertical-align:middle; margin-right:4px;">
|
||||
<path d="M2 8L6 12L14 4" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</svg>
|
||||
Export Ready — Download
|
||||
`;
|
||||
}, 2500);
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
314
initial mockups/screens/system-states/64-account-deletion.html
Normal file
314
initial mockups/screens/system-states/64-account-deletion.html
Normal file
@@ -0,0 +1,314 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=390, initial-scale=1">
|
||||
<title>Kalei — Delete Account</title>
|
||||
<link rel="stylesheet" href="../../assets/design-system.css">
|
||||
<style>
|
||||
.warning-card {
|
||||
background: rgba(239,68,68,0.06);
|
||||
border: 1px solid rgba(239,68,68,0.35);
|
||||
border-radius: var(--radius-xl);
|
||||
padding: 16px;
|
||||
margin-bottom: 16px;
|
||||
box-shadow: 0 0 20px rgba(239,68,68,0.08);
|
||||
}
|
||||
.warning-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.warning-icon {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
border-radius: 50%;
|
||||
background: rgba(239,68,68,0.12);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.warning-title {
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
color: var(--ruby);
|
||||
}
|
||||
.warning-text {
|
||||
font-size: 14px;
|
||||
color: var(--soft-light);
|
||||
line-height: 1.55;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.warning-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
padding: 4px 10px;
|
||||
border-radius: var(--radius-full);
|
||||
background: rgba(239,68,68,0.12);
|
||||
border: 1px solid rgba(239,68,68,0.25);
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
color: var(--ruby);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.04em;
|
||||
}
|
||||
|
||||
.deletion-list {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.deletion-item {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 10px;
|
||||
padding: 8px 0;
|
||||
border-bottom: 1px solid rgba(28,34,64,0.5);
|
||||
}
|
||||
.deletion-item:last-child { border-bottom: none; }
|
||||
.deletion-dot {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
border-radius: 50%;
|
||||
background: var(--ruby);
|
||||
opacity: 0.5;
|
||||
flex-shrink: 0;
|
||||
margin-top: 6px;
|
||||
}
|
||||
.deletion-text {
|
||||
font-size: 13px;
|
||||
color: var(--dim-light);
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.deletion-list-card {
|
||||
background: var(--kalei-navy);
|
||||
border: 1px solid var(--twilight);
|
||||
border-radius: var(--radius-xl);
|
||||
padding: 14px 16px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.deletion-list-title {
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.06em;
|
||||
color: var(--dim-light);
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.confirm-section {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.confirm-label {
|
||||
font-size: 13px;
|
||||
color: var(--dim-light);
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.confirm-label strong {
|
||||
color: var(--soft-light);
|
||||
font-weight: 600;
|
||||
}
|
||||
.confirm-input {
|
||||
width: 100%;
|
||||
height: 48px;
|
||||
background: var(--deep-glass);
|
||||
border: 1px solid var(--twilight);
|
||||
border-radius: var(--radius-md);
|
||||
padding: 0 14px;
|
||||
font-family: var(--font-primary);
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
color: var(--pure-light);
|
||||
letter-spacing: 0.05em;
|
||||
outline: none;
|
||||
transition: border-color 0.2s;
|
||||
}
|
||||
.confirm-input::placeholder { color: var(--faint-light); font-weight: 400; letter-spacing: 0; }
|
||||
.confirm-input:focus { border-color: rgba(239,68,68,0.5); }
|
||||
.confirm-input.valid { border-color: var(--ruby); }
|
||||
|
||||
.delete-btn {
|
||||
width: 100%;
|
||||
height: 52px;
|
||||
border: none;
|
||||
border-radius: var(--radius-lg);
|
||||
background: var(--ruby);
|
||||
color: white;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
font-family: var(--font-primary);
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
margin-bottom: 10px;
|
||||
transition: all 0.2s;
|
||||
opacity: 0.4;
|
||||
pointer-events: none;
|
||||
}
|
||||
.delete-btn.enabled {
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
box-shadow: 0 0 24px rgba(239,68,68,0.35);
|
||||
transition: all 0.2s ease-out;
|
||||
}
|
||||
.delete-btn.enabled:hover { background: var(--ruby); filter: brightness(0.9); box-shadow: 0 0 32px rgba(239,68,68,0.45); }
|
||||
|
||||
.cancel-btn {
|
||||
width: 100%;
|
||||
height: 44px;
|
||||
background: transparent;
|
||||
border: 1px solid var(--twilight);
|
||||
border-radius: var(--radius-lg);
|
||||
color: var(--dim-light);
|
||||
font-size: 15px;
|
||||
font-family: var(--font-primary);
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
text-decoration: none;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
.cancel-btn:hover { background: var(--deep-glass); color: var(--soft-light); }
|
||||
|
||||
.screen-content { padding-bottom: 24px; }
|
||||
</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="../you/37-you-settings.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">Delete Account</span>
|
||||
<span class="nav-action"></span>
|
||||
</div>
|
||||
|
||||
<div class="screen-content">
|
||||
<div style="margin-top: 8px;"></div>
|
||||
|
||||
<!-- Warning card -->
|
||||
<div class="warning-card">
|
||||
<div class="warning-header">
|
||||
<div class="warning-icon">
|
||||
<svg width="18" height="18" viewBox="0 0 18 18" fill="none">
|
||||
<path d="M9 3L16 15H2L9 3Z" stroke="#EF4444" stroke-width="1.2" stroke-linejoin="round"/>
|
||||
<path d="M9 8V11" stroke="#EF4444" stroke-width="1.2" stroke-linecap="round"/>
|
||||
<circle cx="9" cy="13" r="0.7" fill="#EF4444"/>
|
||||
</svg>
|
||||
</div>
|
||||
<div class="warning-title">This action is permanent</div>
|
||||
</div>
|
||||
<div class="warning-text">Deleting your account cannot be undone. All your data will be permanently removed and cannot be recovered.</div>
|
||||
<div class="warning-badge">
|
||||
<svg width="10" height="10" viewBox="0 0 10 10" fill="none">
|
||||
<path d="M5 1L9 5L5 9L1 5Z" fill="currentColor" opacity="0.7"/>
|
||||
</svg>
|
||||
Irreversible
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- What gets deleted -->
|
||||
<div class="deletion-list-card">
|
||||
<div class="deletion-list-title">Everything that will be deleted</div>
|
||||
<div>
|
||||
<div class="deletion-item">
|
||||
<div class="deletion-dot"></div>
|
||||
<div class="deletion-text">All Turn history, reframes, and perspectives</div>
|
||||
</div>
|
||||
<div class="deletion-item">
|
||||
<div class="deletion-dot"></div>
|
||||
<div class="deletion-text">Mirror journals, session records, and detected fragments</div>
|
||||
</div>
|
||||
<div class="deletion-item">
|
||||
<div class="deletion-dot"></div>
|
||||
<div class="deletion-text">Lens goals, milestones, and rehearsal records</div>
|
||||
</div>
|
||||
<div class="deletion-item">
|
||||
<div class="deletion-dot"></div>
|
||||
<div class="deletion-text">Gallery patterns, keepsakes, and saved thoughts</div>
|
||||
</div>
|
||||
<div class="deletion-item">
|
||||
<div class="deletion-dot"></div>
|
||||
<div class="deletion-text">Evidence Wall tiles and all progress achievements</div>
|
||||
</div>
|
||||
<div class="deletion-item">
|
||||
<div class="deletion-dot"></div>
|
||||
<div class="deletion-text">Ritual history, streak data, and account preferences</div>
|
||||
</div>
|
||||
<div class="deletion-item">
|
||||
<div class="deletion-dot"></div>
|
||||
<div class="deletion-text">Your Prism subscription (no refunds for unused time)</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Confirmation input -->
|
||||
<div class="confirm-section">
|
||||
<div class="confirm-label">Type <strong>DELETE</strong> to confirm you understand this is permanent:</div>
|
||||
<input
|
||||
type="text"
|
||||
class="confirm-input"
|
||||
id="confirmInput"
|
||||
placeholder="Type DELETE to confirm"
|
||||
autocomplete="off"
|
||||
autocorrect="off"
|
||||
autocapitalize="characters"
|
||||
spellcheck="false"
|
||||
oninput="validateConfirm()"
|
||||
>
|
||||
</div>
|
||||
|
||||
<!-- Delete button (disabled until confirmed) -->
|
||||
<button class="delete-btn" id="deleteBtn">
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none">
|
||||
<path d="M3 5H13M6 5V3H10V5M7 8V12M9 8V12M4 5L5 13H11L12 5" stroke="white" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</svg>
|
||||
Delete My Account
|
||||
</button>
|
||||
|
||||
<!-- Cancel -->
|
||||
<a class="cancel-btn" href="../you/37-you-settings.html">Cancel</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
function validateConfirm() {
|
||||
const input = document.getElementById('confirmInput');
|
||||
const btn = document.getElementById('deleteBtn');
|
||||
const isMatch = input.value === 'DELETE';
|
||||
|
||||
input.classList.toggle('valid', isMatch);
|
||||
btn.classList.toggle('enabled', isMatch);
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user