| <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; |
| color: #FFFFFF; |
| } |
| |
| |
| .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; } |
| |
| |
| .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 { |
| 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 { |
| text-align: center; |
| font-size: 96px; |
| font-weight: 800; |
| color: #F5C84A; |
| margin-top: 60px; |
| letter-spacing: 1px; |
| } |
| |
| |
| .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; |
| } |
| |
| .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-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; |
| } |
| |
| |
| .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); |
| } |
| |
| |
| .icon-light { color: #F6CD3D; } |
| .icon-blue { color: #8FD2FF; } |
| .icon-green { color: #8EE36A; } |
| |
| </style> |
| </head> |
| <body> |
| <div id="render-target"> |
|
|
| |
| <div class="status-bar"> |
| <div>5:59</div> |
| <div class="status-right"> |
| |
| <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> |
| |
| <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> |
|
|
| |
| <div class="sparkle"> |
| <span></span><span></span><span></span><span></span> |
| </div> |
|
|
| |
| <div class="illustration">[IMG: Duolingo mascot lifted by person celebrating]</div> |
|
|
| |
| <div class="title">Lesson complete!</div> |
|
|
| |
| <div class="stats-row"> |
| |
| <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> |
|
|
| |
| <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> |
|
|
| |
| <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> |
|
|
| |
| <div class="bottom-area"> |
| <div class="continue">CONTINUE</div> |
| </div> |
|
|
| |
| <div class="nav-pill"></div> |
|
|
| </div> |
| </body> |
| </html> |