File size: 9,599 Bytes
fa881a6 | 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 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 | <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> |