Download code/10077/10077_9.html from GD-ML/AndroidCode: direct link, hf CLI and curl.
- Browser
- Download file 9.6 kB
-
https://huggingface.co/datasets/GD-ML/AndroidCode/resolve/4b2ca48fd5f7e31e03dcf37e69abb792b6b7cd84/code/10077/10077_9.html
- Command line
-
hf download hf://datasets/GD-ML/AndroidCode@4b2ca48fd5f7e31e03dcf37e69abb792b6b7cd84/code/10077/10077_9.html
-
curl -L -o 10077_9.html https://huggingface.co/datasets/GD-ML/AndroidCode/resolve/4b2ca48fd5f7e31e03dcf37e69abb792b6b7cd84/code/10077/10077_9.html
9.6 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=1080, initial-scale=1.0"> | |
| <title>Khan Academy - Mock UI</title> | |
| <style> | |
| body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; } | |
| #render-target { | |
| width: 1080px; | |
| height: 2400px; | |
| position: relative; | |
| overflow: hidden; | |
| background: #ffffff; | |
| color: #1f2937; | |
| } | |
| /* Top status bar */ | |
| .status-bar { | |
| height: 92px; | |
| padding: 0 36px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| color: #2c2c2c; | |
| font-size: 34px; | |
| } | |
| .status-icons { display: flex; gap: 24px; align-items: center; } | |
| .status-icons svg { width: 36px; height: 36px; fill: #333; } | |
| /* App header */ | |
| .app-header { | |
| position: relative; | |
| height: 128px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| border-bottom: 1px solid #eee; | |
| } | |
| .app-header .title { | |
| font-weight: 700; | |
| font-size: 52px; | |
| letter-spacing: 0.2px; | |
| } | |
| .settings-btn { | |
| position: absolute; | |
| right: 36px; | |
| top: 50%; | |
| transform: translateY(-50%); | |
| width: 64px; | |
| height: 64px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| border-radius: 32px; | |
| } | |
| .settings-btn svg { width: 48px; height: 48px; fill: #2b6df3; } | |
| /* Content sections */ | |
| .content { padding-bottom: 220px; } /* space for tab bar */ | |
| .section { padding: 28px 40px 8px 40px; } | |
| .section-title { | |
| font-size: 44px; | |
| font-weight: 700; | |
| margin: 20px 0 16px 0; | |
| } | |
| /* Lesson items */ | |
| .lesson { | |
| display: flex; | |
| align-items: flex-start; | |
| gap: 26px; | |
| padding: 32px 0; | |
| border-top: 1px solid #f0f0f0; | |
| } | |
| .lesson:first-of-type { border-top: none; } | |
| .lesson .icon { | |
| width: 96px; | |
| height: 96px; | |
| border-radius: 48px; | |
| background: #4caf50; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| .lesson .icon svg { width: 58px; height: 58px; fill: #ffffff; } | |
| .lesson .texts { flex: 1; } | |
| .lesson .subtitle { | |
| font-size: 32px; | |
| color: #6b7280; | |
| margin-bottom: 8px; | |
| } | |
| .lesson .title { | |
| font-size: 42px; | |
| line-height: 1.28; | |
| } | |
| .lesson .more { | |
| width: 60px; | |
| height: 60px; | |
| border-radius: 30px; | |
| background: #f3f4f6; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| margin-left: 12px; | |
| margin-top: 12px; | |
| } | |
| .lesson .more svg { width: 24px; height: 24px; fill: #6b7280; } | |
| /* My courses header with action */ | |
| .row-between { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| } | |
| .edit-link { | |
| color: #2b6df3; | |
| font-size: 38px; | |
| text-decoration: none; | |
| } | |
| /* Course item */ | |
| .course-item { | |
| display: flex; | |
| align-items: center; | |
| gap: 28px; | |
| padding: 26px 0 30px 0; | |
| } | |
| .course-item .icon { | |
| width: 108px; | |
| height: 108px; | |
| border-radius: 54px; | |
| background: #5fbf7a; | |
| display: flex; align-items: center; justify-content: center; | |
| } | |
| .course-item .icon svg { width: 64px; height: 64px; fill: #fff; } | |
| .course-item .name { | |
| font-size: 44px; | |
| font-weight: 600; | |
| } | |
| /* Kids banner */ | |
| .kids-banner { | |
| margin-top: 16px; | |
| border-top: 1px solid #eee; | |
| padding-top: 10px; | |
| } | |
| .img-placeholder { | |
| width: 100%; | |
| height: 700px; | |
| background: #E0E0E0; | |
| border: 1px solid #BDBDBD; | |
| color: #757575; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 36px; | |
| border-radius: 12px; | |
| } | |
| .kids-title { | |
| text-align: center; | |
| font-size: 56px; | |
| font-weight: 800; | |
| margin-top: 26px; | |
| } | |
| .kids-desc { | |
| text-align: center; | |
| font-size: 40px; | |
| color: #444; | |
| margin-top: 12px; | |
| padding: 0 40px 0 40px; | |
| } | |
| /* Bottom navigation */ | |
| .tab-bar { | |
| position: absolute; | |
| left: 0; | |
| bottom: 0; | |
| width: 100%; | |
| height: 180px; | |
| border-top: 1px solid #e6e6e6; | |
| background: #ffffff; | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-around; | |
| } | |
| .tab-item { | |
| width: 33.33%; | |
| height: 100%; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 10px; | |
| color: #6b7280; | |
| font-size: 32px; | |
| } | |
| .tab-item svg { width: 58px; height: 58px; } | |
| .tab-item.active { color: #2b6df3; } | |
| .active-indicator { | |
| position: absolute; | |
| top: -4px; | |
| left: 8%; | |
| width: 24%; | |
| height: 8px; | |
| background: #2b6df3; | |
| border-radius: 4px; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div id="render-target"> | |
| <!-- Status bar --> | |
| <div class="status-bar"> | |
| <div class="time">9:11</div> | |
| <div class="status-icons"> | |
| <!-- WiFi --> | |
| <svg viewBox="0 0 24 24"> | |
| <path d="M12 20.5c.9 0 1.6-.7 1.6-1.6S12.9 17.3 12 17.3s-1.6.7-1.6 1.6.7 1.6 1.6 1.6zM4 9.7l1.4 1.4C7.5 9 9.7 8 12 8s4.5 1 6.6 3.1L20 9.7C17.6 7.3 14.9 6 12 6S6.4 7.3 4 9.7zm4 4l1.4 1.4c1.3-1.3 2.9-2 4.6-2 1.7 0 3.3.7 4.6 2L20 13.7c-2-2-4.6-3.1-8-3.1s-6 1.1-8 3.1z"/> | |
| </svg> | |
| <!-- Battery --> | |
| <svg viewBox="0 0 24 24"> | |
| <path d="M16 7h1c1.1 0 2 .9 2 2v6c0 1.1-.9 2-2 2H7c-1.1 0-2-.9-2-2V9c0-1.1.9-2 2-2h9zM3 10h1v4H3v-4zm5 1v2h7v-2H8z"/> | |
| </svg> | |
| </div> | |
| </div> | |
| <!-- Header --> | |
| <div class="app-header"> | |
| <div class="title">Khan Academy</div> | |
| <div class="settings-btn" aria-label="Settings"> | |
| <svg viewBox="0 0 24 24"> | |
| <path d="M19.4 13.5c.1-.5.1-1 .1-1.5s0-1-.1-1.5l2-1.5c.2-.2.2-.5.1-.7l-1.9-3.2c-.1-.2-.4-.3-.6-.2l-2.3.9c-.7-.5-1.4-.9-2.2-1.1L12.9 1h-3.8l-.6 3.2c-.8.2-1.5.6-2.2 1.1l-2.3-.9c-.2-.1-.5 0-.6.2L1.6 7.8c-.1.2 0 .5.2.7l2 1.5c-.1.5-.1 1-.1 1.5s0 1 .1 1.5l-2 1.5c-.2.2-.3.5-.2.7l1.9 3.2c.1.2.4.3.6.2l2.3-.9c.7.5 1.4.9 2.2 1.1l.6 3.2h3.8l.6-3.2c.8-.2 1.5-.6 2.2-1.1l2.3.9c.2.1.5 0 .6-.2l1.9-3.2c.1-.2.1-.5-.1-.7l-2-1.5zM12 15.5c-1.9 0-3.5-1.6-3.5-3.5S10.1 8.5 12 8.5s3.5 1.6 3.5 3.5-1.6 3.5-3.5 3.5z"/> | |
| </svg> | |
| </div> | |
| </div> | |
| <div class="content"> | |
| <!-- Recent lessons --> | |
| <div class="section"> | |
| <div class="section-title">Recent lessons</div> | |
| <div class="lesson"> | |
| <div class="icon"> | |
| <!-- Atom style --> | |
| <svg viewBox="0 0 24 24"> | |
| <circle cx="12" cy="12" r="2.2"/> | |
| <path d="M12 3c-2.8 0-5 4-5 9s2.2 9 5 9 5-4 5-9-2.2-9-5-9zm0 2c1.7 0 3 3.1 3 7s-1.3 7-3 7-3-3.1-3-7 1.3-7 3-7z"/> | |
| <path d="M4 9c0 1.7 3.6 3 8 3s8-1.3 8-3-3.6-3-8-3-8 1.3-8 3zm2 0c0-.7 2.7-1.6 6-1.6S18 8.3 18 9s-2.7 1.6-6 1.6S6 9.7 6 9z"/> | |
| </svg> | |
| </div> | |
| <div class="texts"> | |
| <div class="subtitle">Units and measurement</div> | |
| <div class="title">Physical quantities and their measurement</div> | |
| </div> | |
| <div class="more" title="More"> | |
| <svg viewBox="0 0 24 24"><path d="M12 4a2 2 0 110 4 2 2 0 010-4zm0 6a2 2 0 110 4 2 2 0 010-4zm0 6a2 2 0 110 4 2 2 0 010-4z"/></svg> | |
| </div> | |
| </div> | |
| <div class="lesson"> | |
| <div class="icon" style="background:#f3b03c;"> | |
| <!-- Simple math icon --> | |
| <svg viewBox="0 0 24 24"> | |
| <path d="M5 7h6v2H5V7zm8 0h6v2h-6V7zM5 11h6v2H5v-2zm8 2h6v2h-6v-2zM5 15h6v2H5v-2z" /> | |
| </svg> | |
| </div> | |
| <div class="texts"> | |
| <div class="subtitle">Algebraic expressions</div> | |
| <div class="title">Algebraic expressions and polynomials (intro)</div> | |
| </div> | |
| <div class="more" title="More"> | |
| <svg viewBox="0 0 24 24"><path d="M12 4a2 2 0 110 4 2 2 0 010-4zm0 6a2 2 0 110 4 2 2 0 010-4zm0 6a2 2 0 110 4 2 2 0 010-4z"/></svg> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- My courses --> | |
| <div class="section"> | |
| <div class="row-between"> | |
| <div class="section-title" style="margin: 12px 0;">My courses</div> | |
| <a class="edit-link" href="#">Edit</a> | |
| </div> | |
| <div class="course-item"> | |
| <div class="icon"> | |
| <!-- Atom icon --> | |
| <svg viewBox="0 0 24 24"> | |
| <circle cx="12" cy="12" r="2.2"/> | |
| <path d="M12 3c-2.8 0-5 4-5 9s2.2 9 5 9 5-4 5-9-2.2-9-5-9zm0 2c1.7 0 3 3.1 3 7s-1.3 7-3 7-3-3.1-3-7 1.3-7 3-7z"/> | |
| <path d="M4 9c0 1.7 3.6 3 8 3s8-1.3 8-3-3.6-3-8-3-8 1.3-8 3zm2 0c0-.7 2.7-1.6 6-1.6S18 8.3 18 9s-2.7 1.6-6 1.6S6 9.7 6 9z"/> | |
| </svg> | |
| </div> | |
| <div class="name">Class 11 Physics (India)</div> | |
| </div> | |
| </div> | |
| <!-- Kids banner --> | |
| <div class="section kids-banner"> | |
| <div class="img-placeholder">[IMG: Khan Academy Kids illustration with animals]</div> | |
| <div class="kids-title">Khan Academy Kids</div> | |
| <div class="kids-desc">Get our free, award-winning app for kids ages 2-8.</div> | |
| </div> | |
| </div> | |
| <!-- Bottom navigation --> | |
| <div class="tab-bar"> | |
| <div class="active-indicator"></div> | |
| <div class="tab-item active"> | |
| <!-- Hexagon outline --> | |
| <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"> | |
| <path d="M7 4l10 0 5 8-5 8-10 0-5-8 5-8z"/> | |
| </svg> | |
| <div>Home</div> | |
| </div> | |
| <div class="tab-item"> | |
| <!-- Search icon --> | |
| <svg viewBox="0 0 24 24" fill="currentColor"> | |
| <path d="M15.5 14h-.8l-.3-.3a6.5 6.5 0 10-.7.7l.3.3v.8l5 5 1.5-1.5-5-5zm-6 0A4.5 4.5 0 1114 9.5 4.5 4.5 0 019.5 14z"/> | |
| </svg> | |
| <div>Explore</div> | |
| </div> | |
| <div class="tab-item"> | |
| <!-- Bookmark icon --> | |
| <svg viewBox="0 0 24 24" fill="currentColor"> | |
| <path d="M6 4h12v16l-6-3-6 3V4z"/> | |
| </svg> | |
| <div>Bookmarks</div> | |
| </div> | |
| </div> | |
| </div> | |
| </body> | |
| </html> |