| <html> |
| <head> |
| <meta charset="UTF-8"> |
| <title>Duolingo Achievements UI</title> |
| <style> |
| body { margin: 0; padding: 0; background: transparent; font-family: Arial, Helvetica, sans-serif; } |
| #render-target { |
| position: relative; |
| width: 1080px; |
| height: 2400px; |
| overflow: hidden; |
| background: #0e1a1d; |
| color: #e9f1f4; |
| } |
| |
| |
| .status-bar { |
| height: 120px; |
| padding: 24px 36px; |
| display: flex; |
| align-items: center; |
| justify-content: space-between; |
| color: #cfe4ea; |
| font-size: 40px; |
| letter-spacing: 0.5px; |
| } |
| .status-right { |
| display: flex; |
| align-items: center; |
| gap: 28px; |
| } |
| .status-icon { |
| width: 36px; |
| height: 36px; |
| border-radius: 6px; |
| background: #2b3a3f; |
| } |
| .battery { |
| width: 110px; |
| height: 40px; |
| border: 3px solid #cfe4ea; |
| border-radius: 8px; |
| position: relative; |
| display: flex; |
| align-items: center; |
| padding: 4px; |
| } |
| .battery::after { |
| content: ""; |
| position: absolute; |
| right: -14px; |
| top: 12px; |
| width: 12px; |
| height: 16px; |
| background: #cfe4ea; |
| border-radius: 3px; |
| } |
| .battery-fill { |
| height: 100%; |
| width: 85%; |
| background: #9de052; |
| border-radius: 4px; |
| } |
| .battery-text { |
| margin-left: 12px; |
| font-size: 34px; |
| } |
| |
| |
| .content { |
| padding: 0 40px 0 40px; |
| } |
| |
| |
| .friends-card { |
| background: #122326; |
| border: 2px solid #1a2f33; |
| border-radius: 22px; |
| padding: 28px; |
| margin-top: 10px; |
| box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03); |
| } |
| .friends-row { |
| display: grid; |
| grid-template-columns: 120px 1fr; |
| gap: 26px; |
| align-items: center; |
| } |
| .contact-icon { |
| width: 120px; |
| height: 120px; |
| border-radius: 18px; |
| background: #f0b03a; |
| position: relative; |
| } |
| .contact-icon::before { |
| content: ""; |
| position: absolute; |
| left: 16px; top: 18px; |
| width: 34px; height: 84px; background: #d9922f; border-radius: 8px; |
| } |
| .contact-icon::after { |
| content: ""; |
| position: absolute; |
| right: 16px; top: 22px; |
| width: 70px; height: 74px; background: #ffd475; border-radius: 10px; |
| } |
| .friends-text h3 { |
| margin: 0; |
| font-size: 42px; |
| font-weight: 700; |
| color: #cfe4ea; |
| } |
| .friends-text p { |
| margin: 10px 0 22px; |
| font-size: 36px; |
| color: #adc9cf; |
| line-height: 1.3; |
| } |
| .primary-btn { |
| display: inline-block; |
| background: #5ab6fb; |
| color: #051015; |
| border-radius: 24px; |
| padding: 22px 36px; |
| font-size: 42px; |
| font-weight: 800; |
| box-shadow: 0 8px 0 #3c8ac7; |
| text-align: center; |
| } |
| .primary-btn:active { transform: translateY(3px); box-shadow: 0 5px 0 #3c8ac7; } |
| |
| |
| .section-title { |
| font-size: 64px; |
| font-weight: 800; |
| margin: 48px 0 24px; |
| letter-spacing: 1px; |
| } |
| |
| |
| .achievements-wrap { |
| background: #0d1a1c; |
| border: 2px solid #1a2f33; |
| border-radius: 28px; |
| padding: 28px; |
| } |
| |
| |
| .achievement-row { |
| display: grid; |
| grid-template-columns: 210px 1fr; |
| gap: 32px; |
| align-items: center; |
| padding: 16px 0; |
| border-bottom: 2px solid #182a2d; |
| } |
| .achievement-row:last-child { border-bottom: none; } |
| |
| |
| .badge { |
| width: 180px; |
| height: 180px; |
| border-radius: 32px; |
| display: flex; |
| flex-direction: column; |
| align-items: center; |
| justify-content: center; |
| color: #0d1a1c; |
| font-weight: 900; |
| } |
| .badge.gold { background: #f4c542; box-shadow: inset 0 -12px 0 #e1a92f; } |
| .badge.red { background: #f15b4a; box-shadow: inset 0 -12px 0 #ca3e33; color: #0d1a1c; } |
| .badge.green { background: #72d65d; box-shadow: inset 0 -12px 0 #57b947; color: #0d1a1c; } |
| .badge .level { |
| margin-top: 100px; |
| font-size: 40px; |
| color: #0d1a1c; |
| } |
| |
| |
| .ach-content .title { |
| font-size: 56px; |
| font-weight: 800; |
| margin-bottom: 10px; |
| } |
| .ach-content .subtitle { |
| font-size: 40px; |
| color: #a4c2c8; |
| margin-bottom: 20px; |
| } |
| .blue-cta { |
| display: inline-block; |
| background: #63bbfb; |
| box-shadow: 0 10px 0 #3a86be; |
| color: #041217; |
| padding: 22px 36px; |
| border-radius: 22px; |
| font-size: 42px; |
| font-weight: 900; |
| } |
| |
| |
| .progress-wrap { |
| display: flex; |
| align-items: center; |
| gap: 20px; |
| } |
| .progress { |
| flex: 1; |
| height: 48px; |
| background: #2a3b40; |
| border-radius: 26px; |
| position: relative; |
| overflow: hidden; |
| } |
| .progress .fill { |
| height: 100%; |
| width: 62%; |
| background: #f2c23c; |
| border-radius: 26px; |
| box-shadow: inset 0 -8px 0 #d6a730; |
| } |
| .progress .fill.short { width: 45%; } |
| .progress .track { |
| position: absolute; right: 0; top: 0; bottom: 0; width: 34%; |
| background: #1f2f33; |
| } |
| .progress-value { |
| font-size: 44px; |
| color: #b5cfd5; |
| min-width: 120px; |
| text-align: right; |
| } |
| |
| |
| .view-more { |
| display: flex; |
| justify-content: space-between; |
| align-items: center; |
| color: #cfe4ea; |
| font-size: 48px; |
| padding: 26px 10px 6px; |
| } |
| .chev { |
| width: 24px; height: 24px; border-top: 6px solid #cfe4ea; border-right: 6px solid #cfe4ea; transform: rotate(45deg); margin-right: 6px; |
| } |
| |
| |
| .bottom-nav { |
| position: absolute; |
| left: 0; |
| bottom: 0; |
| width: 100%; |
| height: 200px; |
| background: #0d1a1c; |
| border-top: 2px solid #1a2f33; |
| display: flex; |
| align-items: center; |
| justify-content: space-around; |
| } |
| .nav-item { |
| width: 110px; height: 110px; border-radius: 26px; |
| display: flex; align-items: center; justify-content: center; |
| background: transparent; |
| } |
| .nav-item.active { outline: 6px solid #2f4c53; border-radius: 28px; } |
| |
| |
| svg { display: block; } |
| .icon-fill { fill: #e5f3f6; } |
| .icon-accent { fill: #f2c23c; } |
| </style> |
| </head> |
| <body> |
| <div id="render-target"> |
|
|
| |
| <div class="status-bar"> |
| <div>5:49</div> |
| <div class="status-right"> |
| <div class="status-icon"></div> |
| <div class="status-icon"></div> |
| <div class="status-icon"></div> |
| <div style="display:flex; align-items:center;"> |
| <div class="battery"> |
| <div class="battery-fill"></div> |
| </div> |
| <div class="battery-text">96%</div> |
| </div> |
| </div> |
| </div> |
|
|
| <div class="content"> |
|
|
| |
| <div class="friends-card"> |
| <div class="friends-row"> |
| <div class="contact-icon"></div> |
| <div class="friends-text"> |
| <h3>Find friends on Duolingo</h3> |
| <p>Sync your contacts to easily find people you know on Duolingo.</p> |
| <div class="primary-btn">SYNC CONTACTS</div> |
| </div> |
| </div> |
| </div> |
|
|
| |
| <div class="section-title">Achievements</div> |
|
|
| <div class="achievements-wrap"> |
|
|
| |
| <div class="achievement-row"> |
| <div class="badge gold"> |
| <div style="position:absolute; top:40px; width:120px; height:80px; background:#ffd86c; border-radius:16px;"></div> |
| <div class="level">LEVEL 1</div> |
| </div> |
| <div class="ach-content"> |
| <div class="title">Photogenic</div> |
| <div> |
| <div class="blue-cta">CLAIM REWARD</div> |
| </div> |
| </div> |
| </div> |
|
|
| |
| <div class="achievement-row"> |
| <div class="badge red"> |
| <div style="position:absolute; top:48px; width:100px; height:110px; background:#ffb099; border-radius:40px 40px 60px 60px;"></div> |
| <div class="level">LEVEL 1</div> |
| </div> |
| <div class="ach-content"> |
| <div class="title">Wildfire</div> |
| <div class="subtitle">Reach a 3 day streak</div> |
| <div class="progress-wrap"> |
| <div class="progress"> |
| <div class="fill"></div> |
| <div class="track"></div> |
| </div> |
| <div class="progress-value">2/3</div> |
| </div> |
| </div> |
| </div> |
|
|
| |
| <div class="achievement-row"> |
| <div class="badge green"> |
| <div style="position:absolute; top:40px; width:120px; height:80px; background:#a4e9a0; border-radius:14px;"></div> |
| <div class="level">LEVEL 1</div> |
| </div> |
| <div class="ach-content"> |
| <div class="title">Sage</div> |
| <div class="subtitle">Earn 100 XP</div> |
| <div class="progress-wrap"> |
| <div class="progress"> |
| <div class="fill short"></div> |
| </div> |
| <div class="progress-value">50/100</div> |
| </div> |
| </div> |
| </div> |
|
|
| </div> |
|
|
| |
| <div class="view-more"> |
| <div>View 10 more</div> |
| <div class="chev"></div> |
| </div> |
|
|
| </div> |
|
|
| |
| <div class="bottom-nav"> |
| <div class="nav-item"> |
| <svg width="84" height="84" viewBox="0 0 24 24"> |
| <path class="icon-fill" d="M12 3l9 8h-3v9h-5v-6H11v6H6v-9H3z"/> |
| </svg> |
| </div> |
| <div class="nav-item"> |
| <svg width="84" height="84" viewBox="0 0 24 24"> |
| <path class="icon-fill" d="M12 2l7 5v6c0 4.418-3.582 8-8 8s-8-3.582-8-8V7l9-5z"/> |
| </svg> |
| </div> |
| <div class="nav-item active"> |
| <svg width="84" height="84" viewBox="0 0 24 24"> |
| <circle class="icon-fill" cx="12" cy="8" r="4"/> |
| <path class="icon-fill" d="M4 22c0-4.418 3.582-8 8-8s8 3.582 8 8"/> |
| </svg> |
| </div> |
| <div class="nav-item"> |
| <svg width="84" height="84" viewBox="0 0 24 24"> |
| <path class="icon-fill" d="M4 7h16v12H4z"/> |
| <path class="icon-accent" d="M8 11h8v4H8z"/> |
| </svg> |
| </div> |
| <div class="nav-item"> |
| <svg width="84" height="84" viewBox="0 0 24 24"> |
| <path class="icon-fill" d="M12 2a6 6 0 016 6v4l2 3H4l2-3V8a6 6 0 016-6z"/> |
| <circle class="icon-accent" cx="12" cy="20" r="2"/> |
| </svg> |
| </div> |
| </div> |
|
|
| </div> |
| </body> |
| </html> |