File size: 7,191 Bytes
5501681 | 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 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 | <html>
<head>
<meta charset="UTF-8">
<title>Lesson Complete UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: "Segoe UI", Arial, Helvetica, sans-serif; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #0F1B20; /* deep dark teal */
color: #FFFFFF;
}
/* Status bar */
.status-bar {
position: absolute;
top: 22px;
left: 28px;
right: 28px;
height: 60px;
display: flex;
align-items: center;
justify-content: space-between;
color: #E7F0F5;
font-size: 42px;
letter-spacing: 1px;
opacity: 0.95;
}
.status-right {
display: flex;
align-items: center;
gap: 26px;
font-size: 38px;
}
.icon { display: inline-flex; align-items: center; justify-content: center; }
.icon svg { display: block; }
/* Decorative sparkle top-right */
.sparkle {
position: absolute;
top: 165px;
right: 120px;
width: 115px;
height: 115px;
}
.sparkle span {
position: absolute;
left: 50%; top: 50%;
width: 8px; height: 36px;
background: #9A7BFF;
transform-origin: center 90%;
border-radius: 4px;
}
.sparkle span:nth-child(1){ transform: translate(-50%,-50%) rotate(0deg); background:#9A7BFF;}
.sparkle span:nth-child(2){ transform: translate(-50%,-50%) rotate(45deg); background:#7CC7FF;}
.sparkle span:nth-child(3){ transform: translate(-50%,-50%) rotate(90deg); background:#B388FF;}
.sparkle span:nth-child(4){ transform: translate(-50%,-50%) rotate(135deg); background:#7CC7FF;}
/* Illustration placeholder */
.illustration {
width: 560px;
height: 560px;
margin: 520px auto 40px auto;
background: #E0E0E0;
border: 1px solid #BDBDBD;
border-radius: 24px;
color: #555;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
line-height: 1.3;
font-weight: 600;
}
/* Title */
.title {
text-align: center;
font-size: 96px;
font-weight: 800;
color: #F5C84A;
margin-top: 60px;
letter-spacing: 1px;
}
/* Stats cards row */
.stats-row {
width: 100%;
max-width: 980px;
margin: 60px auto 0 auto;
display: flex;
justify-content: space-between;
gap: 28px;
}
.card {
flex: 1;
height: 260px;
border-radius: 36px;
padding: 18px;
position: relative;
}
.card .label {
font-size: 42px;
font-weight: 800;
letter-spacing: 1px;
text-align: center;
margin-top: 4px;
}
.card .inner {
margin-top: 24px;
height: 180px;
border-radius: 28px;
background: #0E2329;
display: flex;
align-items: center;
justify-content: center;
gap: 20px;
}
.card .value {
font-size: 64px;
font-weight: 800;
}
/* specific colors */
.gold { background: #F6CD3D; color: #0E2329; }
.gold .value { color: #F6CD3D; }
.blue { background: #6EC1FF; color: #083042; }
.blue .value { color: #92D5FF; }
.green { background: #A7E05A; color: #062E1A; }
.green .value { color: #C9F78B; }
.card.gold .inner { background:#0E2329; }
.card.blue .inner { background:#0E2329; }
.card.green .inner { background:#0E2329; }
/* Bottom continue button */
.bottom-area {
position: absolute;
bottom: 160px;
width: 100%;
display: flex;
justify-content: center;
}
.continue {
width: 940px;
height: 140px;
border-radius: 36px;
background: #74C1FF;
color: #092638;
font-size: 64px;
font-weight: 800;
letter-spacing: 3px;
display: flex;
align-items: center;
justify-content: center;
position: relative;
box-shadow: 0 16px 0 0 #4DA3E6;
}
/* navigation pill */
.nav-pill {
position: absolute;
bottom: 70px;
left: 50%;
transform: translateX(-50%);
width: 340px;
height: 14px;
border-radius: 8px;
background: rgba(255,255,255,0.8);
}
/* helper for SVG icon color */
.icon-light { color: #F6CD3D; }
.icon-blue { color: #8FD2FF; }
.icon-green { color: #8EE36A; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>5:59</div>
<div class="status-right">
<!-- WiFi icon -->
<span class="icon">
<svg width="46" height="38" viewBox="0 0 24 24" fill="none">
<path d="M12 20.5l2.5-2.5a3.5 3.5 0 00-5 0L12 20.5z" fill="#FFFFFF"/>
<path d="M2.5 9.5a13 13 0 0119 0l-1.8 1.7a10.5 10.5 0 00-15.4 0L2.5 9.5z" fill="#ffffff" opacity="0.6"/>
<path d="M5.7 12.8a8.4 8.4 0 0112.6 0l-1.7 1.6a6 6 0 00-9.2 0l-1.7-1.6z" fill="#ffffff" opacity="0.8"/>
</svg>
</span>
<!-- battery -->
<span class="icon">
<svg width="60" height="34" viewBox="0 0 28 14" fill="none">
<rect x="1" y="1" width="22" height="12" rx="2" stroke="#FFFFFF" stroke-width="2"/>
<rect x="24" y="4" width="3" height="6" rx="1" fill="#FFFFFF"/>
<rect x="3" y="3" width="18" height="8" fill="#FFFFFF"/>
</svg>
</span>
<span style="font-weight:700;">100%</span>
</div>
</div>
<!-- Decorative sparkle -->
<div class="sparkle">
<span></span><span></span><span></span><span></span>
</div>
<!-- Illustration placeholder -->
<div class="illustration">[IMG: Duolingo mascot lifted by person celebrating]</div>
<!-- Title -->
<div class="title">Lesson complete!</div>
<!-- Stats -->
<div class="stats-row">
<!-- Total XP -->
<div class="card gold">
<div class="label">TOTAL XP</div>
<div class="inner">
<svg class="icon-light" width="72" height="72" viewBox="0 0 24 24">
<path d="M13 2L6 13h5l-1 9 7-12h-5l1-8z" fill="currentColor"/>
</svg>
<div class="value" style="color:#F6CD3D;">15</div>
</div>
</div>
<!-- Speedy -->
<div class="card blue">
<div class="label" style="color:#083042;">SPEEDY</div>
<div class="inner">
<svg class="icon-blue" width="72" height="72" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" stroke="currentColor" stroke-width="3" fill="none"/>
<path d="M12 6v6l4 2" stroke="currentColor" stroke-width="3" stroke-linecap="round" fill="none"/>
</svg>
<div class="value">1:48</div>
</div>
</div>
<!-- Good -->
<div class="card green">
<div class="label" style="color:#062E1A;">GOOD</div>
<div class="inner">
<svg class="icon-green" width="72" height="72" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" stroke="currentColor" stroke-width="3" fill="none"/>
<circle cx="12" cy="12" r="5" stroke="currentColor" stroke-width="3" fill="none"/>
<circle cx="12" cy="12" r="2" fill="currentColor"/>
<path d="M4 14l3 3 6-8" stroke="#7CDA4F" stroke-width="3" fill="none" stroke-linecap="round"/>
</svg>
<div class="value">88%</div>
</div>
</div>
</div>
<!-- Continue button -->
<div class="bottom-area">
<div class="continue">CONTINUE</div>
</div>
<!-- Navigation pill -->
<div class="nav-pill"></div>
</div>
</body>
</html> |