Team Ai
Datasetpublic

GD-ML/AndroidCode

sourceHugging Facemitupdated 6mo agoView on Hugging Face
1likes3.4kdownloads
10145_7.html263 linesDownload Raw Back to 10145
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>Share Sheet Mock</title>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: #000000;15    color: #EDEDED;16    font-family: "Segoe UI", Roboto, Arial, sans-serif;17  }18 19  /* Status bar */20  .status-bar {21    position: absolute;22    top: 0; left: 0;23    width: 100%;24    height: 110px;25    color: #ffffff;26    display: flex;27    align-items: center;28    justify-content: space-between;29    padding: 0 32px;30    box-sizing: border-box;31  }32  .status-left { font-weight: 600; letter-spacing: 1px; }33  .status-right {34    display: flex; align-items: center; gap: 22px;35    opacity: 0.9;36  }37  .sb-icon svg { width: 34px; height: 34px; fill: #ffffff; }38 39  /* App header */40  .app-header {41    position: absolute;42    top: 130px; left: 26px; right: 26px;43    display: flex; align-items: center; gap: 24px;44    color: #cfcfcf;45  }46  .menu-btn {47    width: 92px; height: 92px; border-radius: 50%;48    background: rgba(255,255,255,0.06);49    display: flex; align-items: center; justify-content: center;50  }51  .menu-btn svg { width: 48px; height: 48px; fill: #cfcfcf; }52  .title { font-size: 48px; font-weight: 600; }53 54  /* Product image placeholder (content behind sheet) */55  .product-hero {56    position: absolute;57    top: 280px; left: 30px; right: 30px;58    height: 930px;59    background: #E0E0E0;60    border: 1px solid #BDBDBD;61    display: flex; align-items: center; justify-content: center;62    color: #757575; font-size: 40px;63  }64 65  .pill-watch {66    position: absolute;67    top: 360px; left: 46px;68    background: #6b0f1b;69    color: #f4c8cf;70    padding: 18px 28px;71    font-size: 34px;72    border-radius: 22px;73    letter-spacing: 0.2px;74  }75  .pill-count {76    position: absolute;77    top: 360px; right: 46px;78    background: rgba(0,0,0,0.55);79    color: #e6e6e6;80    padding: 16px 22px;81    font-size: 34px;82    border-radius: 20px;83  }84 85  /* Share sheet */86  .sheet {87    position: absolute;88    left: 0; right: 0; bottom: 0;89    height: 1120px;90    background: #1f1b21;91    border-top-left-radius: 36px;92    border-top-right-radius: 36px;93    box-shadow: 0 -18px 50px rgba(0,0,0,0.6);94  }95  .sheet .grabber {96    width: 130px; height: 10px; border-radius: 6px;97    background: #6e6a73;98    margin: 18px auto 26px auto;99    opacity: 0.8;100  }101  .sheet .link {102    padding: 10px 44px 0 44px; box-sizing: border-box;103    font-size: 34px; line-height: 1.4;104    color: #e8e4ee;105    opacity: 0.95;106  }107  .btn-row {108    display: flex; gap: 28px;109    padding: 28px 44px 14px 44px;110  }111  .btn {112    flex: 0 0 auto;113    display: inline-flex; align-items: center; gap: 16px;114    border: 2px solid #b48cff;115    color: #b48cff;116    padding: 18px 28px; border-radius: 18px;117    font-size: 36px; font-weight: 600;118    background: transparent;119  }120  .btn svg { width: 40px; height: 40px; fill: #b48cff; }121 122  /* Account row */123  .account {124    display: flex; align-items: center; gap: 26px;125    padding: 36px 44px 18px 44px;126  }127  .avatar {128    position: relative;129    width: 120px; height: 120px; border-radius: 50%;130    background: #2e7bd1; color: #ffffff;131    display: flex; align-items: center; justify-content: center;132    font-weight: 700; font-size: 54px;133  }134  .badge {135    position: absolute; right: -6px; bottom: -6px;136    width: 44px; height: 44px; border-radius: 50%;137    background: #E0E0E0; border: 2px solid #1f1b21;138    display: flex; align-items: center; justify-content: center;139    color: #757575; font-size: 22px;140  }141  .acc-text .name { font-size: 40px; font-weight: 600; color: #ffffff; }142  .acc-text .email { font-size: 34px; color: #c9c5cf; margin-top: 8px; }143 144  /* App grid */145  .app-grid {146    display: grid;147    grid-template-columns: repeat(4, 1fr);148    row-gap: 36px;149    padding: 40px 44px 0 44px;150  }151  .app {152    display: flex; flex-direction: column; align-items: center; gap: 18px;153    color: #dfdbe6; font-size: 30px;154  }155  .app .icon {156    width: 128px; height: 128px; border-radius: 32px;157    background: #E0E0E0; border: 1px solid #BDBDBD;158    display: flex; align-items: center; justify-content: center;159    color: #757575; font-size: 28px; text-align: center; padding: 8px;160  }161 162  /* Bottom gesture bar */163  .home-bar {164    position: absolute;165    left: 50%; transform: translateX(-50%);166    bottom: 26px;167    width: 330px; height: 12px; border-radius: 10px;168    background: rgba(255,255,255,0.8);169  }170</style>171</head>172<body>173<div id="render-target">174 175  <!-- Simulated status bar -->176  <div class="status-bar">177    <div class="status-left">8:27</div>178    <div class="status-right">179      <span class="sb-icon">180        <svg viewBox="0 0 24 24"><path d="M3 18h18v2H3z"/></svg>181      </span>182      <span class="sb-icon">183        <svg viewBox="0 0 24 24"><path d="M2 18h2a8 8 0 0 1 8-8v-2A10 10 0 0 0 2 18z"/></svg>184      </span>185      <span class="sb-icon">186        <svg viewBox="0 0 24 24"><path d="M7 4v16l10-8z"/></svg>187      </span>188      <span class="sb-icon">189        <svg viewBox="0 0 24 24"><path d="M20 8v11H4V8h16m1-2H3v15h18V6z"/></svg>190      </span>191    </div>192  </div>193 194  <!-- App header -->195  <div class="app-header">196    <div class="menu-btn">197      <svg viewBox="0 0 24 24">198        <path d="M3 6h18v2H3zm0 5h18v2H3zm0 5h18v2H3z"/>199      </svg>200    </div>201    <div class="title">Item</div>202  </div>203 204  <!-- Product hero image placeholder -->205  <div class="product-hero">[IMG: Product Photo - Smartphone]</div>206 207  <!-- Overlaid pills -->208  <div class="pill-watch">19 watched in the last 24 hours</div>209  <div class="pill-count">1 of 2</div>210 211  <!-- Share sheet modal -->212  <div class="sheet">213    <div class="grabber"></div>214    <div class="link">215      https://www.ebay.com/itm/iPhone-14-Pro-Max-Unlocked-128GB-Black-Excellent-/275550774521?mkcid=16&amp;mke...216    </div>217 218    <div class="btn-row">219      <div class="btn">220        <svg viewBox="0 0 24 24"><path d="M16 1H4a2 2 0 0 0-2 2v12h2V3h12V1zm3 4H8a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2zm0 16H8V7h11v14z"/></svg>221        Copy222      </div>223      <div class="btn">224        <svg viewBox="0 0 24 24"><path d="M12 3l2.5 4H9.5L12 3zm0 18l-2.5-4h5L12 21zM3 12l4-2.5v5L3 12zm18 0l-4 2.5v-5L21 12z"/></svg>225        Nearby226      </div>227    </div>228 229    <div class="account">230      <div class="avatar">C231        <div class="badge">@</div>232      </div>233      <div class="acc-text">234        <div class="name">dbwscratch</div>235        <div class="email">test.id4@g...</div>236      </div>237    </div>238 239    <div class="app-grid">240      <div class="app">241        <div class="icon">Drive</div>242        <div>Drive</div>243      </div>244      <div class="app">245        <div class="icon">Messages</div>246        <div>Messages</div>247      </div>248      <div class="app">249        <div class="icon">Gmail</div>250        <div>Gmail</div>251      </div>252      <div class="app">253        <div class="icon">Chrome</div>254        <div>Chrome</div>255      </div>256    </div>257  </div>258 259  <!-- System gesture bar -->260  <div class="home-bar"></div>261</div>262</body>263</html>