forked from nexu-io/html-anything
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.html
More file actions
206 lines (194 loc) · 8.69 KB
/
example.html
File metadata and controls
206 lines (194 loc) · 8.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Lull · Mobile onboarding</title>
<style>
:root {
--canvas: #efece4;
--ink: #232118;
--muted: #76715f;
--accent: #c66e3a;
--warm: #e8a76e;
--display: 'Iowan Old Style', 'Charter', Georgia, serif;
--body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); font-family: var(--body); color: var(--ink); }
.stage {
min-height: 100vh;
padding: 56px 32px;
display: flex;
flex-direction: column;
align-items: center;
gap: 32px;
background:
radial-gradient(ellipse 80% 60% at 50% -10%, rgba(232,167,110,0.35), transparent 70%),
radial-gradient(ellipse 80% 50% at 50% 110%, rgba(198,110,58,0.16), transparent 70%),
var(--canvas);
}
.stage h1 {
font-family: var(--display);
font-size: 28px;
margin: 0;
letter-spacing: -0.005em;
}
.stage p.lede { color: var(--muted); margin: 0; max-width: 50ch; text-align: center; }
.phones {
display: grid;
grid-template-columns: repeat(3, auto);
gap: 36px;
align-items: center;
}
.phone {
width: 320px;
aspect-ratio: 9 / 19.5;
background: #fff;
border-radius: 44px;
border: 8px solid #1a1814;
overflow: hidden;
position: relative;
box-shadow:
0 32px 60px rgba(28,27,26,0.18),
0 12px 18px rgba(28,27,26,0.08);
display: flex;
flex-direction: column;
}
.phone .notch {
position: absolute; top: 0; left: 50%; transform: translateX(-50%);
width: 100px; height: 22px;
background: #1a1814;
border-bottom-left-radius: 14px;
border-bottom-right-radius: 14px;
z-index: 5;
}
.statusbar {
display: flex; justify-content: space-between; align-items: center;
padding: 14px 24px 4px;
font-size: 12.5px; font-weight: 600; color: var(--ink);
}
.statusbar .right { display: flex; gap: 6px; align-items: center; font-size: 11px; }
.status-icon { display: inline-block; width: 14px; height: 8px; background: var(--ink); border-radius: 2px; }
.phone-body {
flex: 1;
padding: 18px 24px 24px;
display: flex;
flex-direction: column;
}
.phone-top { display: flex; justify-content: flex-end; align-items: center; }
.skip { font-size: 13px; color: var(--muted); }
.hero { flex: 1; display: flex; align-items: center; justify-content: center; padding: 24px 0; }
.hero .art { width: 220px; height: 220px; }
.copy { display: flex; flex-direction: column; gap: 10px; padding: 14px 4px; }
.copy h2 { font-family: var(--display); font-size: 30px; line-height: 1.1; margin: 0; letter-spacing: -0.01em; font-weight: 700; }
.copy p { color: var(--muted); margin: 0; font-size: 15px; line-height: 1.5; }
.pager { display: flex; justify-content: center; gap: 6px; padding: 14px 0 8px; }
.pager span { width: 6px; height: 6px; border-radius: 50%; background: rgba(35,33,24,0.18); }
.pager span.active { width: 22px; background: var(--accent); border-radius: 999px; }
.cta {
background: var(--ink); color: #fef9ee;
padding: 16px 22px; border-radius: 999px;
text-align: center; font-weight: 600; font-size: 15px;
}
.alt { text-align: center; color: var(--muted); padding-top: 12px; font-size: 13px; }
.alt a { color: var(--accent); font-weight: 600; }
/* Phone 3 — sign-in */
.signin-options { display: flex; flex-direction: column; gap: 10px; }
.opt { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid rgba(35,33,24,0.12); border-radius: 14px; font-weight: 500; font-size: 14.5px; }
.opt .glyph { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.opt.apple .glyph { background: #000; }
.opt.google .glyph { background: linear-gradient(135deg, #ea4335, #fbbc05, #34a853, #4285f4); }
.opt.email .glyph { background: var(--accent); }
.terms { font-size: 11px; color: var(--muted); text-align: center; padding-top: 14px; line-height: 1.5; }
.terms a { color: var(--accent); }
@media (max-width: 1100px) {
.phones { grid-template-columns: 1fr; }
.phone { width: 92vw; max-width: 360px; }
}
</style>
</head>
<body>
<div class="stage">
<h1>Lull · onboarding flow</h1>
<p class="lede">Three screens, one tone of voice. Designed in the Lull design system — warm canvas, serif headings, single accent.</p>
<div class="phones">
<!-- Screen 1: welcome -->
<div class="phone">
<div class="notch"></div>
<div class="statusbar"><span>9:41</span><div class="right"><span>5G</span><span class="status-icon"></span></div></div>
<div class="phone-body">
<div class="phone-top"><span class="skip">Skip</span></div>
<div class="hero">
<svg class="art" viewBox="0 0 220 220">
<defs>
<radialGradient id="moon1" cx="50%" cy="40%" r="60%">
<stop offset="0%" stop-color="#fcebd0"/>
<stop offset="100%" stop-color="#e8a76e"/>
</radialGradient>
</defs>
<circle cx="110" cy="110" r="78" fill="url(#moon1)"/>
<circle cx="146" cy="92" r="14" fill="#fff" opacity="0.6"/>
<circle cx="78" cy="74" r="3" fill="#c66e3a" opacity="0.7"/>
<circle cx="60" cy="120" r="2" fill="#c66e3a" opacity="0.5"/>
<circle cx="170" cy="140" r="2.5" fill="#c66e3a" opacity="0.6"/>
<path d="M 30 200 Q 110 170 200 200 L 200 220 L 30 220 Z" fill="#c66e3a" opacity="0.18"/>
</svg>
</div>
<div class="copy">
<h2>Quiet beats noise.</h2>
<p>Twelve minutes a day. A practice that fits in a coffee break. No streaks, no badges — just a calmer evening.</p>
</div>
<div class="pager"><span class="active"></span><span></span><span></span></div>
<div class="cta">Continue</div>
</div>
</div>
<!-- Screen 2: value props -->
<div class="phone">
<div class="notch"></div>
<div class="statusbar"><span>9:41</span><div class="right"><span>5G</span><span class="status-icon"></span></div></div>
<div class="phone-body">
<div class="phone-top"><span class="skip">Skip</span></div>
<div class="hero">
<svg class="art" viewBox="0 0 220 220">
<rect x="38" y="48" width="144" height="100" rx="14" fill="#fff" stroke="#c66e3a" stroke-width="1.5"/>
<rect x="56" y="68" width="56" height="6" rx="3" fill="#c66e3a"/>
<rect x="56" y="84" width="100" height="4" rx="2" fill="#76715f" opacity="0.4"/>
<rect x="56" y="96" width="80" height="4" rx="2" fill="#76715f" opacity="0.4"/>
<rect x="56" y="116" width="40" height="20" rx="10" fill="#c66e3a"/>
<circle cx="170" cy="160" r="22" fill="#e8a76e"/>
<path d="M 162 160 L 168 166 L 178 154" stroke="#fff" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="copy">
<h2>Practice that meets you where you are.</h2>
<p>Adaptive sessions that get shorter on busy days, deeper on quiet ones. The kind of routine that survives a Wednesday.</p>
</div>
<div class="pager"><span></span><span class="active"></span><span></span></div>
<div class="cta">Continue</div>
</div>
</div>
<!-- Screen 3: sign in -->
<div class="phone">
<div class="notch"></div>
<div class="statusbar"><span>9:41</span><div class="right"><span>5G</span><span class="status-icon"></span></div></div>
<div class="phone-body">
<div class="phone-top"><span class="skip">Help</span></div>
<div style="padding: 24px 0;">
<h2 style="font-family: var(--display); font-size: 32px; margin: 0 0 8px; letter-spacing: -0.01em; line-height: 1.05; font-weight: 700;">Make a place for it.</h2>
<p style="margin: 0; color: var(--muted); font-size: 15px;">Save your sessions across devices. We don't email, we don't share.</p>
</div>
<div class="signin-options">
<div class="opt apple"><span class="glyph"></span>Continue with Apple</div>
<div class="opt google"><span class="glyph"></span>Continue with Google</div>
<div class="opt email"><span class="glyph">@</span>Continue with email</div>
</div>
<div style="flex: 1;"></div>
<div class="terms">By continuing, you agree to Lull's <a>Terms</a> and <a>Privacy Policy</a>.</div>
<div class="pager"><span></span><span></span><span class="active"></span></div>
</div>
</div>
</div>
</div>
</body>
</html>