Team Ai
Datasetpublic

GD-ML/AndroidCode

sourceHugging Facemitupdated 6mo agoView on Hugging Face
1likes3.4kdownloads
10622_1.html403 linesDownload Raw Back to 10622
1<!DOCTYPE html>2<html lang="en">3<head>4<meta charset="UTF-8">5<title>Sports & Radio App UI</title>6<meta name="viewport" content="width=1080, initial-scale=1.0">7<style>8  body { margin: 0; padding: 0; background: transparent; }9  #render-target {10    width: 1080px;11    height: 2400px;12    position: relative;13    overflow: hidden;14    background: #F2F3F6;15    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";16    color: #161A2B;17  }18 19  /* Status bar */20  .status-bar {21    height: 110px;22    display: flex;23    align-items: center;24    padding: 0 48px;25    font-weight: 600;26    color: #2A2E3F;27  }28  .status-left { font-size: 40px; }29  .status-right {30    margin-left: auto;31    display: flex;32    align-items: center;33    gap: 28px;34  }35  .status-icon svg { width: 38px; height: 38px; stroke: #2A2E3F; fill: none; stroke-width: 3; }36 37  /* Top actions */38  .top-actions {39    display: flex;40    align-items: center;41    justify-content: space-between;42    padding: 18px 48px 0;43  }44  .icon-btn {45    width: 74px;46    height: 74px;47    border-radius: 20px;48    border: 2px solid #CBD1DA;49    background: #F7F8FA;50    display: flex;51    align-items: center;52    justify-content: center;53  }54  .icon-btn svg { width: 44px; height: 44px; stroke: #21243A; fill: none; stroke-width: 2.4; }55 56  /* Tabs */57  .tabs {58    display: flex;59    gap: 22px;60    padding: 36px 48px 24px;61  }62  .pill {63    padding: 20px 34px;64    border-radius: 9999px;65    background: #E6E8EE;66    color: #2E3246;67    font-weight: 700;68    letter-spacing: 0.6px;69    font-size: 34px;70  }71  .pill.active {72    background: #1E2238;73    color: #FFFFFF;74  }75  .pill .badge {76    margin-left: 18px;77    padding: 6px 18px;78    border-radius: 999px;79    background: #F6C24D;80    color: #1E2238;81    font-size: 26px;82    font-weight: 800;83  }84 85  /* Banner */86  .banner {87    margin: 10px 48px 0;88    position: relative;89  }90  .banner-card {91    width: 984px;92    height: 420px;93    border-radius: 28px;94    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.12);95    overflow: hidden;96    position: relative;97    background: #FFFFFF;98  }99  .img-placeholder {100    width: 100%;101    height: 100%;102    background: #E0E0E0;103    border: 1px solid #BDBDBD;104    display: flex;105    align-items: center;106    justify-content: center;107    color: #757575;108    font-weight: 600;109    font-size: 36px;110  }111  .premium-badge {112    position: absolute;113    top: 18px;114    right: 18px;115    background: #F6C24D;116    color: #1E2238;117    font-weight: 900;118    font-size: 28px;119    padding: 10px 22px;120    border-radius: 12px;121  }122  .banner .cta {123    position: absolute;124    bottom: 28px;125    left: 50%;126    transform: translateX(-50%);127    background: #FFFFFF;128    color: #1E2238;129    border-radius: 999px;130    padding: 18px 38px;131    font-size: 32px;132    font-weight: 800;133    box-shadow: 0 6px 16px rgba(0,0,0,0.12);134  }135 136  /* Sections */137  .section {138    padding: 34px 48px 0;139  }140  .section .title {141    font-size: 52px;142    font-weight: 900;143    letter-spacing: 0.8px;144    color: #1E2238;145  }146  .section .title.upper { text-transform: uppercase; }147  .title .new-badge {148    display: inline-block;149    margin-left: 18px;150    padding: 8px 20px;151    border-radius: 999px;152    background: #F6C24D;153    color: #1E2238;154    font-size: 28px;155    font-weight: 900;156  }157 158  .card-list { margin-top: 26px; }159  .square-card {160    width: 240px;161    height: 240px;162    border-radius: 32px;163    background: #FFFFFF;164    box-shadow: 0 8px 22px rgba(17,24,39,0.12);165    display: flex;166    align-items: center;167    justify-content: center;168    overflow: hidden;169  }170  .square-card .img-placeholder {171    width: 100%; height: 100%;172    font-size: 32px;173  }174  .item-caption {175    margin-top: 16px;176    font-size: 36px;177    color: #3A3F59;178  }179 180  /* Ad banner */181  .ad-banner {182    margin: 26px 48px;183    width: 984px;184    height: 170px;185    border-radius: 18px;186    overflow: hidden;187    background: #FFFFFF;188    box-shadow: 0 8px 22px rgba(17,24,39,0.12);189  }190  .ad-banner .img-placeholder {191    font-size: 32px;192  }193 194  /* Mini player */195  .player-bar {196    position: absolute;197    left: 24px;198    right: 24px;199    bottom: 176px; /* above nav */200    height: 140px;201    background: #FFFFFF;202    border-radius: 18px;203    box-shadow: 0 10px 28px rgba(17,24,39,0.15);204    display: flex;205    align-items: center;206    padding: 0 24px;207    gap: 24px;208  }209  .player-cover {210    width: 104px; height: 104px;211    border-radius: 12px; overflow: hidden;212  }213  .player-cover .img-placeholder { font-size: 26px; }214  .player-meta { flex: 1; }215  .player-title { font-size: 42px; font-weight: 800; color: #1E2238; letter-spacing: 1px; }216  .player-sub { font-size: 28px; color: #6C738D; margin-top: 6px; }217  .player-action {218    width: 84px; height: 84px; border-radius: 50%;219    background: #1E2238; color: #FFFFFF;220    display: flex; align-items: center; justify-content: center;221  }222  .player-action svg { width: 40px; height: 40px; fill: #FFFFFF; }223 224  /* Bottom nav */225  .nav-bar {226    position: absolute;227    bottom: 0;228    left: 0; right: 0;229    height: 160px;230    background: #FFFFFF;231    border-top-left-radius: 0;232    border-top-right-radius: 0;233    box-shadow: 0 -6px 18px rgba(17,24,39,0.10);234    display: flex;235    align-items: center;236    justify-content: space-around;237    padding-bottom: 12px;238  }239  .nav-item {240    display: flex; flex-direction: column; align-items: center; gap: 12px;241    color: #8E93A8; font-size: 30px; font-weight: 700;242  }243  .nav-item.active { color: #1E2238; }244  .nav-item svg { width: 52px; height: 52px; stroke: currentColor; fill: none; stroke-width: 2.8; }245 246  /* Gesture bar (small grey bar above nav) */247  .gesture-bar {248    position: absolute;249    bottom: 160px;250    left: 50%;251    transform: translateX(-50%);252    width: 220px; height: 10px;253    border-radius: 6px; background: #C9CED9;254  }255 256  /* Safe content spacing so bottom elements don't overlap */257  .content {258    padding-bottom: 420px;259  }260</style>261</head>262<body>263<div id="render-target">264  <!-- Status bar -->265  <div class="status-bar">266    <div class="status-left">12:56</div>267    <div class="status-right">268      <div class="status-icon">269        <!-- Moon (Do Not Disturb) -->270        <svg viewBox="0 0 24 24"><path d="M12 2a9 9 0 008.5 12A9 9 0 116 4.5 9 9 0 0012 2z"/></svg>271      </div>272      <div class="status-icon">273        <!-- Pin -->274        <svg viewBox="0 0 24 24"><path d="M12 2l4 6-3 3 5 9-6-5-6 5 5-9-3-3 4-6z"/></svg>275      </div>276      <div class="status-icon">277        <!-- Dot -->278        <svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="3"/></svg>279      </div>280      <div class="status-icon">281        <!-- WiFi -->282        <svg viewBox="0 0 24 24"><path d="M2 8c5-4 15-4 20 0M5 12c3-2 11-2 14 0M8 16c2-1 6-1 8 0"/><circle cx="12" cy="19" r="1.5" fill="#2A2E3F"/></svg>283      </div>284      <div class="status-icon">285        <!-- Battery -->286        <svg viewBox="0 0 28 24"><rect x="2" y="6" width="20" height="12" rx="2"/><rect x="23" y="9" width="3" height="6"/></svg>287      </div>288    </div>289  </div>290 291  <!-- Top actions -->292  <div class="top-actions">293    <div class="icon-btn">294      <!-- Car icon -->295      <svg viewBox="0 0 32 32">296        <path d="M4 20h24l-2.5-7H6.5L4 20z"/>297        <circle cx="10" cy="22.5" r="2.5" fill="#21243A"></circle>298        <circle cx="22" cy="22.5" r="2.5" fill="#21243A"></circle>299      </svg>300    </div>301    <div class="icon-btn">302      <!-- Profile icon -->303      <svg viewBox="0 0 32 32">304        <circle cx="16" cy="12" r="6"/>305        <path d="M6 26c3-4 17-4 20 0" />306      </svg>307    </div>308  </div>309 310  <!-- Tabs -->311  <div class="tabs">312    <div class="pill active">FOR YOU</div>313    <div class="pill">SPORTS</div>314    <div class="pill">RADIO <span class="badge">NEW</span></div>315    <div class="pill">NEWS &amp; TALK</div>316  </div>317 318  <div class="content">319    <!-- Banner -->320    <div class="banner">321      <div class="banner-card">322        <div class="img-placeholder">[IMG: NHL promo banner]</div>323        <div class="premium-badge">★ PREMIUM</div>324        <div class="cta">LISTEN NOW</div>325      </div>326    </div>327 328    <!-- Recents -->329    <div class="section">330      <div class="title upper">RECENTS</div>331      <div class="card-list">332        <div class="square-card">333          <div class="img-placeholder">[IMG: Jazz Radio logo]</div>334        </div>335      </div>336    </div>337 338    <!-- Featured Collections -->339    <div class="section">340      <div class="title">Featured Collections <span class="new-badge">NEW</span></div>341      <div class="card-list">342        <div class="square-card">343          <div class="img-placeholder">[IMG: NFL shield logo]</div>344        </div>345        <div class="item-caption">Pro Football</div>346      </div>347    </div>348 349    <!-- MLB + Ad -->350    <div class="section">351      <div class="title">Major League Baseball</div>352    </div>353    <div class="ad-banner">354      <div class="img-placeholder">[IMG: Ad banner]</div>355    </div>356  </div>357 358  <!-- Mini player -->359  <div class="player-bar">360    <div class="player-cover">361      <div class="img-placeholder">[IMG: Jazz Radio logo]</div>362    </div>363    <div class="player-meta">364      <div class="player-title">JAZZ RADIO NEW ORLEANS</div>365      <div class="player-sub">La radio de référence Jazz · New Orleans</div>366    </div>367    <div class="player-action" aria-label="Play">368      <svg viewBox="0 0 24 24"><path d="M8 5l12 7-12 7z"/></svg>369    </div>370  </div>371 372  <!-- Gesture bar -->373  <div class="gesture-bar"></div>374 375  <!-- Bottom navigation -->376  <div class="nav-bar">377    <div class="nav-item active">378      <svg viewBox="0 0 24 24"><path d="M3 10l9-7 9 7v11H15v-6H9v6H3z"/></svg>379      <div>HOME</div>380    </div>381    <div class="nav-item">382      <svg viewBox="0 0 24 24"><path d="M5 5h14v3H5zM5 10h14v3H5zM5 15h14v3H5z"/></svg>383      <div>LIBRARY</div>384    </div>385    <div class="nav-item">386      <svg viewBox="0 0 24 24">387        <rect x="4" y="8" width="16" height="10" rx="2"/>388        <path d="M18 8l2-3"/><circle cx="8" cy="13" r="2"/>389      </svg>390      <div>RADIO</div>391    </div>392    <div class="nav-item">393      <svg viewBox="0 0 24 24"><circle cx="11" cy="11" r="6"/><path d="M20 20l-4-4"/></svg>394      <div>SEARCH</div>395    </div>396    <div class="nav-item">397      <svg viewBox="0 0 24 24"><path d="M12 2l3 6 7 1-5 4 2 7-7-4-7 4 2-7-5-4 7-1z"/></svg>398      <div>PREMIUM</div>399    </div>400  </div>401</div>402</body>403</html>
GD-ML/AndroidCode · Team Ai