Team Ai
Datasetpublic

GD-ML/AndroidCode

sourceHugging Facemitupdated 6mo agoView on Hugging Face
1likes3.4kdownloads
10225_1.html304 linesDownload Raw Back to 10225
1<!DOCTYPE html>2<html lang="en">3<head>4<meta charset="utf-8">5<meta name="viewport" content="width=1080, initial-scale=1.0">6<title>IKEA Style Home</title>7<style>8  body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji"; color: #111; }9  #render-target {10    position: relative;11    overflow: hidden;12    width: 1080px;13    height: 2400px;14    background: #ffffff;15  }16 17  /* Status bar */18  .status-bar {19    height: 96px;20    padding: 28px 36px 0 36px;21    box-sizing: border-box;22    display: flex;23    justify-content: space-between;24    align-items: flex-start;25    color: #000;26    font-weight: 600;27    font-size: 34px;28  }29  .status-right {30    display: flex;31    gap: 22px;32    align-items: center;33  }34  .dot { width: 10px; height: 10px; background:#555; border-radius: 50%; display: inline-block; }35 36  /* Top action row */37  .top-actions {38    position: relative;39    padding: 12px 36px 0 36px;40    display: flex;41    align-items: center;42    justify-content: space-between;43  }44  .icon-btn {45    width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; color:#111;46  }47  .bell {48    position: relative;49  }50  .notif-dot {51    position: absolute;52    right: 4px; top: 2px;53    width: 20px; height: 20px;54    background: #ff7aa8;55    border: 2px solid #fff;56    border-radius: 50%;57  }58 59  /* Search */60  .search-wrap {61    position: relative;62    padding: 22px 36px;63    display: flex;64    align-items: center;65    gap: 24px;66  }67  .search {68    flex: 1;69    height: 120px;70    border: 2px solid #CFCFCF;71    border-radius: 60px;72    display: flex;73    align-items: center;74    padding: 0 36px;75    color: #888;76    font-size: 38px;77    box-sizing: border-box;78    background: #fff;79  }80  .search svg { margin-right: 20px; }81  .scan-btn {82    width: 120px; height: 120px;83    border-radius: 60px;84    background: #0b0b0b;85    display: flex; align-items: center; justify-content: center;86  }87  .scan-btn svg { fill: #fff; }88 89  /* Carousel */90  .carousel {91    padding-left: 36px;92    padding-top: 10px;93    display: flex;94    gap: 28px;95  }96  .promo-card {97    width: 960px;98    border-radius: 28px;99    background: #fff;100    box-shadow: 0 26px 48px rgba(0,0,0,0.12);101    overflow: hidden;102  }103  .promo-img {104    width: 100%;105    height: 440px;106    background: #E0E0E0;107    border-bottom: 1px solid #BDBDBD;108    display: flex; align-items: center; justify-content: center;109    color: #757575; font-size: 34px; font-weight: 500;110  }111  .promo-body {112    padding: 40px 40px 46px 40px;113  }114  .promo-title {115    font-size: 52px;116    font-weight: 800;117    letter-spacing: -0.5px;118    margin-bottom: 18px;119  }120  .promo-text {121    font-size: 34px;122    line-height: 1.36;123    color: #555;124  }125  .peek-card {126    width: 260px;127    border-radius: 28px;128    background: #f06a4d;129    box-shadow: 0 26px 48px rgba(0,0,0,0.12);130  }131 132  /* Tabs */133  .tabs {134    margin: 44px 36px 8px 36px;135    display: flex;136    gap: 36px;137    align-items: baseline;138  }139  .tab {140    font-size: 46px;141    font-weight: 700;142    color: #111;143  }144  .tab.inactive { color: #888; font-weight: 700; }145  .tab-underline {146    margin: 18px 36px 24px 36px;147    height: 8px;148    background: linear-gradient(90deg, #111 0 220px, #E5E5E5 220px 100%);149    border-radius: 6px;150  }151 152  /* Product grid */153  .grid {154    display: grid;155    grid-template-columns: 1fr 1fr;156    gap: 24px;157    padding: 0 36px;158  }159  .tile {160    background: #fff;161  }162  .tile-img {163    width: 100%;164    height: 420px;165    background: #E0E0E0;166    border: 1px solid #BDBDBD;167    display: flex; align-items: center; justify-content: center;168    color: #757575; font-size: 34px; font-weight: 500;169  }170  .tile-title {171    font-size: 40px;172    color: #111;173    padding: 24px 10px 30px 10px;174  }175 176  /* Bottom navigation */177  .bottom-nav {178    position: absolute;179    left: 0; right: 0; bottom: 0;180    height: 168px;181    border-top: 1px solid #E5E5E5;182    background: #fff;183    display: flex;184    align-items: center;185    justify-content: space-around;186    padding-bottom: 24px;187  }188  .nav-item {189    width: 120px; height: 120px;190    display: flex; align-items: center; justify-content: center;191    color: #9A9A9A;192  }193  .gesture {194    position: absolute;195    left: 50%;196    transform: translateX(-50%);197    bottom: 14px;198    width: 240px; height: 12px;199    background: #CFCFCF;200    border-radius: 12px;201    opacity: 0.9;202  }203</style>204</head>205<body>206<div id="render-target">207 208  <!-- Android-like status bar -->209  <div class="status-bar">210    <div>10:26</div>211    <div class="status-right">212      <!-- simple dots to imply status icons -->213      <span class="dot"></span><span class="dot" style="background:#000;"></span>214      <span class="dot" style="background:#111;"></span>215      <span class="dot"></span>216      <!-- signal -->217      <svg width="46" height="46" viewBox="0 0 24 24"><path d="M2 20h2v-2H2v2zm4 0h2v-6H6v6zm4 0h2v-10h-2v10zm4 0h2V6h-2v14zm4 0h2V2h-2v18z" fill="#111"/></svg>218      <!-- battery -->219      <svg width="46" height="46" viewBox="0 0 24 24"><path d="M16 6H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm5 3v6h2V9h-2z" fill="#111"/></svg>220    </div>221  </div>222 223  <!-- Top actions row -->224  <div class="top-actions">225    <div class="icon-btn" aria-label="Account">226      <svg width="48" height="48" viewBox="0 0 24 24"><path d="M12 12a5 5 0 1 0-5-5 5 5 0 0 0 5 5zm0 2c-4.42 0-8 2.24-8 5v1h16v-1c0-2.76-3.58-5-8-5z" fill="none" stroke="#111" stroke-width="1.8"/></svg>227    </div>228    <div style="display:flex; gap:22px; align-items:center;">229      <div class="icon-btn bell" aria-label="Notifications">230        <svg width="48" height="48" viewBox="0 0 24 24"><path d="M12 22a2 2 0 0 0 2-2H10a2 2 0 0 0 2 2zm6-6V11a6 6 0 1 0-12 0v5L4 18v1h16v-1l-2-2z" fill="none" stroke="#111" stroke-width="1.8"/></svg>231        <span class="notif-dot"></span>232      </div>233    </div>234  </div>235 236  <!-- Search -->237  <div class="search-wrap">238    <div class="search">239      <svg width="48" height="48" viewBox="0 0 24 24"><path d="M21 21l-4.35-4.35M10 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16z" fill="none" stroke="#888" stroke-width="2"/></svg>240      <span>What are you looking for?</span>241    </div>242    <div class="scan-btn" aria-label="Scan">243      <svg width="48" height="48" viewBox="0 0 24 24">244        <path d="M4 7V4h3M20 7V4h-3M4 17v3h3M20 17v3h-3M7 10h2v4H7zm3 0h1v4h-1zm2 0h3v4h-3z" />245      </svg>246    </div>247  </div>248 249  <!-- Hero carousel -->250  <div class="carousel">251    <div class="promo-card">252      <div class="promo-img">[IMG: Delivery person carrying parcel]</div>253      <div class="promo-body">254        <div class="promo-title">Free small parcel delivery</div>255        <div class="promo-text">256          Free small standard parcel delivery when you spend £60 or more on accessories & small furniture, up to 15kg.257        </div>258      </div>259    </div>260    <div class="peek-card"></div>261  </div>262 263  <!-- Tabs -->264  <div class="tabs">265    <div class="tab">Products</div>266    <div class="tab inactive">Rooms</div>267  </div>268  <div class="tab-underline"></div>269 270  <!-- Product grid -->271  <div class="grid">272    <div class="tile">273      <div class="tile-img">[IMG: Bedroom furniture]</div>274      <div class="tile-title">New at IKEA</div>275    </div>276    <div class="tile">277      <div class="tile-img">[IMG: Sofa living room]</div>278      <div class="tile-title">Offers</div>279    </div>280  </div>281 282  <!-- Bottom navigation -->283  <div class="bottom-nav">284    <div class="nav-item">285      <svg width="56" height="56" viewBox="0 0 24 24"><path d="M12 3l9 7v10h-6v-6H9v6H3V10l9-7z" fill="none" stroke="#9A9A9A" stroke-width="1.8"/></svg>286    </div>287    <div class="nav-item">288      <svg width="56" height="56" viewBox="0 0 24 24"><path d="M21 21l-4.35-4.35M10 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16z" fill="none" stroke="#9A9A9A" stroke-width="2"/></svg>289    </div>290    <div class="nav-item">291      <svg width="56" height="56" viewBox="0 0 24 24"><path d="M3 3h8v8H3zM13 3h8v8h-8zM3 13h8v8H3zM13 13h8v8h-8z" fill="none" stroke="#B0B0B0" stroke-width="1.6"/></svg>292    </div>293    <div class="nav-item">294      <svg width="56" height="56" viewBox="0 0 24 24"><path d="M12.1 8.64l-.1.1-.11-.1C10.14 6.89 7.1 7 5.5 8.6c-1.8 1.8-1.7 4.66.1 6.46l6.5 6.44 6.39-6.44c1.8-1.8 1.9-4.66.1-6.46-1.6-1.6-4.64-1.71-6.5.04z" fill="none" stroke="#B0B0B0" stroke-width="1.6"/></svg>295    </div>296    <div class="nav-item">297      <svg width="56" height="56" viewBox="0 0 24 24"><path d="M7 7h14l-2 9H9L7 7zM7 7l-1-3H3" fill="none" stroke="#9A9A9A" stroke-width="1.8"/></svg>298    </div>299    <div class="gesture"></div>300  </div>301 302</div>303</body>304</html>
GD-ML/AndroidCode · Team Ai