Team Ai
Datasetpublic

GD-ML/AndroidCode

sourceHugging Facemitupdated 6mo agoView on Hugging Face
1likes3.4kdownloads
10238_5.html238 linesDownload Raw Back to 10238
1<!DOCTYPE html>2<html lang="en">3<head>4<meta charset="UTF-8">5<title>UI Render</title>6<style>7  body { margin:0; padding:0; background:transparent; font-family: "Segoe UI", Roboto, Arial, sans-serif; }8  #render-target {9    width:1080px; height:2400px; position:relative; overflow:hidden;10    background:#F6F3ED; /* soft warm background like the screenshot */11  }12 13  /* Status bar */14  .statusbar {15    height:120px; padding:0 40px;16    display:flex; align-items:center; justify-content:space-between;17    color:#333; font-weight:600; font-size:42px;18  }19  .statusicons { display:flex; align-items:center; gap:26px; color:#777; }20  .dot { width:14px; height:14px; background:#777; border-radius:50%; }21  .wifi { width:36px; height:24px; border:2px solid #777; border-radius:4px; position:relative; }22  .wifi:before { content:""; position:absolute; left:7px; top:6px; width:16px; height:8px; border:2px solid #777; border-top:none; border-left:none; transform:rotate(45deg); }23  .battery { width:40px; height:22px; border:2px solid #777; border-radius:4px; position:relative; }24  .battery:after { content:""; position:absolute; right:-6px; top:6px; width:6px; height:8px; background:#777; border-radius:2px; }25 26  /* Header */27  .header { height:120px; display:flex; align-items:center; padding:0 40px; }28  .header .title { font-size:56px; font-weight:700; color:#2D2D2D; margin-left:24px; }29  .back-icon { width:64px; height:64px; }30  .close {31    margin-left:auto; width:72px; height:72px; border:2px solid #9E9E9E; border-radius:50%;32    display:flex; align-items:center; justify-content:center; color:#777; font-size:38px;33    background:#FFFFFF;34  }35 36  /* Tabs */37  .tabs { height:120px; padding:0 40px; display:flex; align-items:flex-end; gap:44px; }38  .tab { font-size:48px; font-weight:800; color:#222; position:relative; padding-bottom:22px; }39  .tab.active::after { content:""; position:absolute; left:0; bottom:0; width:210px; height:6px; background:#F3A73A; border-radius:3px; }40  .tab.inactive { color:#BDBDBD; }41  .badgeP {42    display:inline-flex; align-items:center; justify-content:center;43    width:42px; height:42px; border-radius:8px;44    background:#F1D186; color:#845C1A; font-weight:900; margin-right:10px;45  }46 47  /* Proven block */48  .proven { background:#F2EFE8; margin:0 40px; border-radius:28px; padding:36px; }49  .proven .heading { display:flex; align-items:center; gap:16px; font-size:48px; font-weight:800; color:#5A5A5A; margin-bottom:26px; }50  .icon-ribbon { width:46px; height:46px; border-radius:10px; background:#E9C56E; color:#fff; display:flex; align-items:center; justify-content:center; font-weight:900; }51  .thumbs { display:flex; gap:28px; }52  .thumb {53    width:220px; height:220px; background:#E0E0E0; border:1px solid #BDBDBD; border-radius:28px;54    display:flex; align-items:center; justify-content:center; color:#757575; font-size:28px; text-align:center; position:relative;55  }56  .rank { position:absolute; top:10px; left:10px; background:#F2E2B0; color:#6E5C40; font-weight:800; border-radius:12px; padding:6px 12px; font-size:28px; }57  .thumb:nth-child(2) .rank { background:#DDE3EF; color:#44556F; }58  .thumb:nth-child(3) .rank { background:#E9C19E; color:#6E4B2D; }59  .thumb:nth-child(4) .rank { background:#C7D5ED; color:#2E4C85; }60 61  /* Latest header */62  .latest-header { display:flex; align-items:center; justify-content:space-between; padding:34px 40px 20px; }63  .latest-header h2 { margin:0; font-size:64px; font-weight:900; color:#6A6A6A; }64  .filters-btn { padding:18px 28px; border-radius:24px; border:2px solid #D2D2D2; background:#F9F9F9; color:#666; font-size:44px; }65 66  /* Cards */67  .card {68    margin:22px 40px; background:#FFFFFF; border-radius:32px; padding:34px;69    display:flex; gap:32px; box-shadow:0 6px 12px rgba(0,0,0,0.08);70  }71  .card .content { flex:1; }72  .card .content h3 { margin:0 0 16px 0; font-size:54px; color:#303030; font-weight:800; }73  .author { display:flex; align-items:center; gap:16px; margin-bottom:16px; color:#8A8A8A; font-size:36px; }74  .avatar {75    width:48px; height:48px; background:#E0E0E0; border:1px solid #BDBDBD; border-radius:50%;76    display:flex; align-items:center; justify-content:center; color:#757575; font-size:24px;77  }78  .desc { color:#9D9D9D; font-size:38px; line-height:1.35; }79 80  .card .image {81    width:320px; height:320px; border-radius:24px; background:#E0E0E0; border:1px solid #BDBDBD;82    display:flex; align-items:center; justify-content:center; color:#757575; font-size:28px; position:relative;83  }84  .bookmark {85    position:absolute; right:10px; bottom:10px; width:42px; height:54px;86    background:rgba(255,255,255,0.75); border:2px solid #FFFFFF; border-radius:10px;87  }88  .bookmark:before {89    content:""; position:absolute; left:9px; top:8px; width:22px; height:28px;90    border-left:3px solid #888; border-right:3px solid #888; border-bottom:3px solid #888;91    border-top-left-radius:6px; border-top-right-radius:6px;92  }93 94  /* Bottom navigation */95  .bottom-nav {96    position:absolute; left:0; right:0; bottom:90px; height:160px; background:#FFFFFF;97    border-top-left-radius:32px; border-top-right-radius:32px; box-shadow:0 -6px 12px rgba(0,0,0,0.08);98    display:flex; align-items:center; justify-content:space-around; padding:0 30px;99  }100  .nav-item { display:flex; flex-direction:column; align-items:center; gap:10px; color:#9E9E9E; font-size:30px; }101  .nav-item.active { color:#F3A73A; }102  .nav-icon { width:68px; height:68px; }103  .ribbon-dot { width:12px; height:12px; background:#E74C3C; border-radius:50%; position:absolute; top:-6px; right:-6px; }104 105  /* Gesture pill */106  .gesture { position:absolute; bottom:24px; left:50%; transform:translateX(-50%); width:280px; height:14px; background:#0E0E10; border-radius:8px; opacity:0.85; }107</style>108</head>109<body>110<div id="render-target">111 112  <!-- Status bar -->113  <div class="statusbar">114    <div>11:14</div>115    <div class="statusicons">116      <div class="dot"></div>117      <div class="dot"></div>118      <div class="dot"></div>119      <div class="wifi"></div>120      <div class="battery"></div>121    </div>122  </div>123 124  <!-- Header with back and search text -->125  <div class="header">126    <svg class="back-icon" viewBox="0 0 24 24">127      <path d="M15 5 L7 12 L15 19" fill="none" stroke="#333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>128    </svg>129    <div class="title">pizza</div>130    <div class="close">×</div>131  </div>132 133  <!-- Tabs -->134  <div class="tabs">135    <div class="tab active">Latest</div>136    <div class="tab inactive"><span class="badgeP">P</span>Popular</div>137  </div>138 139  <!-- Proven recipes block -->140  <div class="proven">141    <div class="heading"><div class="icon-ribbon">P</div>Proven recipes "Pizza"</div>142    <div class="thumbs">143      <div class="thumb">144        <div class="rank">1</div>145        [IMG: Pizza 1]146      </div>147      <div class="thumb">148        <div class="rank">2</div>149        [IMG: Pizza 2]150      </div>151      <div class="thumb">152        <div class="rank">3</div>153        [IMG: Pizza 3]154      </div>155      <div class="thumb">156        <div class="rank">4</div>157        [IMG: Pizza 4]158      </div>159    </div>160  </div>161 162  <!-- Latest header -->163  <div class="latest-header">164    <h2>Latest recipes (8105)</h2>165    <div class="filters-btn">Filters</div>166  </div>167 168  <!-- Card 1 -->169  <div class="card">170    <div class="content">171      <h3>Instant pizza sauce</h3>172      <div class="author">173        <div class="avatar">U</div>174        Priyangi Pujara (Favourite Fe… 175      </div>176      <div class="desc">177        medium to big tomatoes, medium size onion, olive oil, chopped garlic, oregano, bas…178      </div>179    </div>180    <div class="image">[IMG: Pizza sauce]181      <div class="bookmark"></div>182    </div>183  </div>184 185  <!-- Card 2 -->186  <div class="card">187    <div class="content">188      <h3>Chicken Pizza</h3>189      <div class="author">190        <div class="avatar">C</div>191        Gayatri's Kitchen Corner192      </div>193      <div class="desc">Chicken pizza</div>194    </div>195    <div class="image">[IMG: Chicken Pizza]</div>196  </div>197 198  <!-- Bottom Navigation -->199  <div class="bottom-nav">200    <div class="nav-item">201      <svg class="nav-icon" viewBox="0 0 24 24">202        <path d="M3 12 L12 4 L21 12" fill="none" stroke="#9E9E9E" stroke-width="2" stroke-linecap="round"/>203        <rect x="7" y="12" width="10" height="8" fill="none" stroke="#9E9E9E" stroke-width="2" rx="2"/>204      </svg>205    </div>206    <div class="nav-item active">207      <svg class="nav-icon" viewBox="0 0 24 24">208        <circle cx="11" cy="11" r="6" fill="none" stroke="#F3A73A" stroke-width="2"/>209        <line x1="17" y1="17" x2="22" y2="22" stroke="#F3A73A" stroke-width="2" stroke-linecap="round"/>210      </svg>211    </div>212    <div class="nav-item">213      <svg class="nav-icon" viewBox="0 0 24 24">214        <line x1="12" y1="5" x2="12" y2="19" stroke="#9E9E9E" stroke-width="2" stroke-linecap="round"/>215        <line x1="5" y1="12" x2="19" y2="12" stroke="#9E9E9E" stroke-width="2" stroke-linecap="round"/>216      </svg>217    </div>218    <div class="nav-item" style="position:relative;">219      <svg class="nav-icon" viewBox="0 0 24 24">220        <path d="M6 3 H18 V21 L12 17 L6 21 Z" fill="none" stroke="#9E9E9E" stroke-width="2" stroke-linejoin="round"/>221        <text x="10.5" y="13" font-size="9" fill="#9E9E9E" font-weight="700">P</text>222      </svg>223      <span class="ribbon-dot"></span>224    </div>225    <div class="nav-item">226      <svg class="nav-icon" viewBox="0 0 24 24">227        <circle cx="12" cy="12" r="10" fill="none" stroke="#9E9E9E" stroke-width="2"/>228        <text x="9" y="16" font-size="9" fill="#9E9E9E" font-weight="700">C</text>229      </svg>230    </div>231  </div>232 233  <!-- Gesture pill -->234  <div class="gesture"></div>235 236</div>237</body>238</html>