Team Ai
Datasetpublic

GD-ML/AndroidCode

sourceHugging Facemitupdated 6mo agoView on Hugging Face
1likes3.4kdownloads
10595_6.html252 linesDownload Raw Back to 10595
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>Hotels Search UI</title>7<style>8  body { margin: 0; padding: 0; background: transparent; font-family: Arial, Helvetica, sans-serif; }9  #render-target {10    width: 1080px; height: 2400px;11    position: relative; overflow: hidden;12    background: #0f1b22; color: #e8eff3;13  }14 15  /* Status bar */16  .status-bar {17    height: 60px;18    padding: 0 24px;19    display: flex; align-items: center; justify-content: space-between;20    color: #cfd8dc; font-size: 28px; letter-spacing: 0.5px;21    opacity: 0.9;22  }23  .status-right { display: flex; gap: 18px; align-items: center; }24  .dot { width: 10px; height: 10px; border-radius: 50%; background: #b0bec5; }25 26  /* Top navigation */27  .top-nav {28    height: 110px;29    display: flex; align-items: center;30    padding: 0 24px;31    border-bottom: 1px solid rgba(255,255,255,0.06);32  }33  .back-btn { width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; }34  .tabs { display: flex; gap: 80px; margin-left: 12px; font-weight: 600; letter-spacing: 1px; }35  .tab { color: #b0c4cc; font-size: 32px; }36  .tab.active { color: #d7e7ea; position: relative; }37  .tab.active::after {38    content: ""; position: absolute; left: 0; right: 0; bottom: -22px;39    height: 6px; background: #2bd3c7; border-radius: 3px;40  }41 42  /* Search bar row */43  .search-row { padding: 24px; display: flex; gap: 16px; align-items: center; }44  .pill {45    background: #2b3e4b; color: #eaf1f4;46    border-radius: 16px; padding: 22px 24px; font-size: 34px; font-weight: 600;47    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);48  }49  .pill.small { font-size: 28px; font-weight: 500; padding: 20px 22px; display: flex; align-items: center; gap: 14px; }50  .searching { padding: 8px 24px; font-size: 28px; color: #c7d1d5; }51  .progress-line {52    height: 8px; background: #d84343; margin: 8px 0 20px 0; margin-left: 24px; margin-right: 24px; border-radius: 4px;53  }54 55  /* Map card */56  .map-card {57    margin: 0 24px; border-radius: 24px; overflow: hidden; background: #16262e;58    box-shadow: 0 8px 24px rgba(0,0,0,0.35); border: 2px solid #1f3340;59  }60  .map-img {61    height: 300px; display: flex; align-items: center; justify-content: center;62    background: #E0E0E0; color: #757575; border-bottom: 1px solid #BDBDBD;63  }64  .map-footer { padding: 18px 22px; font-size: 26px; color: #9fb2ba; }65 66  .subtle-note { padding: 22px 24px; font-size: 30px; color: #cfd8dc; }67 68  /* Hotel cards */69  .hotel-card {70    margin: 0 24px 28px; border-radius: 28px; overflow: hidden; background: #13242c;71    box-shadow: 0 8px 24px rgba(0,0,0,0.35); border: 2px solid #1f3340;72  }73  .hotel-photo {74    height: 420px; background: #E0E0E0; border-bottom: 1px solid #BDBDBD;75    display: flex; align-items: center; justify-content: center; color: #757575; position: relative;76  }77  .carousel-dots { position: absolute; top: 24px; right: 24px; display: flex; gap: 10px; }78  .carousel-dots span { width: 16px; height: 16px; border-radius: 50%; background: rgba(255,255,255,0.6); }79  .hotel-title {80    font-size: 40px; font-weight: 700; padding: 22px 28px; display: flex; align-items: center; gap: 12px;81  }82  .stars { display: inline-flex; gap: 8px; margin-left: 10px; }83  .details {84    background: #152a33; margin: 16px; border-radius: 24px; padding: 20px 24px; font-size: 30px; color: #cfd8dc;85    display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: center;86  }87  .details .left { display: flex; align-items: center; gap: 16px; }88  .rating-dots { display: inline-flex; gap: 8px; }89  .rating-dots span { width: 16px; height: 16px; border-radius: 50%; background: #4bd08f; }90  .muted { color: #9fb2ba; }91 92  .price-tag {93    justify-self: end; background: #ffffff; color: #0f1b22;94    padding: 16px 22px; border-radius: 16px; font-size: 30px; font-weight: 700; box-shadow: 0 4px 12px rgba(0,0,0,0.25);95  }96  .offer { justify-self: end; color: #e2f3f3; font-size: 26px; opacity: 0.85; }97 98  /* Bottom sort bar */99  .sort-bar {100    position: absolute; left: 50%; transform: translateX(-50%);101    bottom: 220px; background: rgba(19,36,44,0.95);102    border: 2px solid #223a46; color: #e6f0f2; border-radius: 28px;103    padding: 22px 30px; display: flex; align-items: center; gap: 18px;104    box-shadow: 0 12px 24px rgba(0,0,0,0.45);105    font-size: 34px; font-weight: 700;106  }107  .round-btn {108    position: absolute; right: 24px; bottom: 220px;109    width: 100px; height: 100px; border-radius: 50%;110    background: #1c2f39; border: 2px solid #2a4552;111    display: flex; align-items: center; justify-content: center;112    box-shadow: 0 8px 18px rgba(0,0,0,0.45);113  }114 115  /* Home indicator */116  .home-indicator {117    position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);118    width: 320px; height: 12px; border-radius: 6px; background: #e6e6e6; opacity: 0.7;119  }120 121  /* Simple icon styling */122  svg { display: inline-block; }123  .icon { width: 36px; height: 36px; fill: none; stroke: #cfd8dc; stroke-width: 3px; }124  .icon-solid { fill: #cfd8dc; stroke: none; }125  .icon-teal { stroke: #2bd3c7; fill: none; }126  .star { width: 28px; height: 28px; fill: #ff574f; }127</style>128</head>129<body>130<div id="render-target">131 132  <!-- Status bar mimic -->133  <div class="status-bar">134    <div>1:45</div>135    <div class="status-right">136      <svg class="icon" viewBox="0 0 24 24"><circle cx="11" cy="11" r="9"/></svg>137      <div class="dot"></div>138      <svg class="icon" viewBox="0 0 24 24"><path d="M3 4h18M3 12h18M3 20h18"/></svg>139      <svg class="icon" viewBox="0 0 24 24"><path d="M18 7v10a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V7m18 0h-6m6 0-2-3m-4 3 2-3"/></svg>140    </div>141  </div>142 143  <!-- Top navigation with tabs -->144  <div class="top-nav">145    <div class="back-btn">146      <svg class="icon" viewBox="0 0 24 24"><path d="M15 6 9 12l6 6"/></svg>147    </div>148    <div class="tabs">149      <div class="tab">FLIGHTS</div>150      <div class="tab active">HOTELS</div>151    </div>152  </div>153 154  <!-- Search row -->155  <div class="search-row">156    <div class="pill" style="flex: 1;">London City (LCY)</div>157    <div class="pill small">158      <svg class="icon" viewBox="0 0 24 24"><rect x="3" y="5" width="18" height="16" rx="2"/><path d="M7 5v-2M17 5v-2"/><path d="M3 10h18"/></svg>159      <span>Dec 6<br>Dec 8</span>160    </div>161    <div class="pill small">162      <svg class="icon" viewBox="0 0 24 24"><circle cx="12" cy="8" r="4"/><path d="M4 22c0-4 4-6 8-6s8 2 8 6"/></svg>163      <span>2</span>164    </div>165  </div>166 167  <div class="searching">Searching Hotels.com...</div>168  <div class="progress-line"></div>169 170  <!-- Map card -->171  <div class="map-card">172    <div class="map-img">[IMG: Google Map - London]</div>173    <div class="map-footer">Google</div>174  </div>175 176  <div class="subtle-note">Taxes and fees not included</div>177 178  <!-- Hotel card 1 -->179  <div class="hotel-card">180    <div class="hotel-photo">181      [IMG: Cozy bedroom with fur blanket]182      <div class="carousel-dots"><span></span><span style="opacity:0.55"></span><span style="opacity:0.3"></span></div>183    </div>184    <div class="hotel-title">185      Umbrella Properties London Woolwich186      <span class="stars">187        <svg class="star" viewBox="0 0 24 24"><path d="M12 2l3 7 7 1-5 5 1 7-6-3-6 3 1-7-5-5 7-1z"/></svg>188        <svg class="star" viewBox="0 0 24 24"><path d="M12 2l3 7 7 1-5 5 1 7-6-3-6 3 1-7-5-5 7-1z"/></svg>189        <svg class="star" viewBox="0 0 24 24"><path d="M12 2l3 7 7 1-5 5 1 7-6-3-6 3 1-7-5-5 7-1z"/></svg>190      </span>191    </div>192    <div class="details" style="grid-template-columns: 1fr;">193      <div class="left">194        <span style="font-weight:700;">2.0</span>195        <svg class="icon" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9"/></svg>196        <div class="rating-dots">197          <span></span><span></span><span></span><span style="opacity:0.4"></span><span style="opacity:0.2"></span>198        </div>199        <span class="muted">(1)</span>200      </div>201      <div class="left" style="margin-top:12px;">202        <svg class="icon" viewBox="0 0 24 24"><path d="M12 3C8 3 5 6 5 10c0 6 7 11 7 11s7-5 7-11c0-4-3-7-7-7zm0 9a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/></svg>203        <span>1.04 miles from London City</span>204      </div>205    </div>206  </div>207 208  <!-- Hotel card 2 -->209  <div class="hotel-card">210    <div class="hotel-photo">211      [IMG: Modern hotel exterior - Holiday Inn Express]212      <div class="carousel-dots"><span></span><span style="opacity:0.55"></span><span style="opacity:0.3"></span></div>213    </div>214    <div class="hotel-title">215      Holiday Inn Express London – ExCel, an IHG Hotel216      <span class="stars">217        <svg class="star" viewBox="0 0 24 24"><path d="M12 2l3 7 7 1-5 5 1 7-6-3-6 3 1-7-5-5 7-1z"/></svg>218        <svg class="star" viewBox="0 0 24 24"><path d="M12 2l3 7 7 1-5 5 1 7-6-3-6 3 1-7-5-5 7-1z"/></svg>219        <svg class="star" viewBox="0 0 24 24"><path d="M12 2l3 7 7 1-5 5 1 7-6-3-6 3 1-7-5-5 7-1z"/></svg>220      </span>221    </div>222    <div class="details">223      <div class="left">224        <span style="font-weight:700;">4.0</span>225        <svg class="icon" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9"/></svg>226        <div class="rating-dots">227          <span></span><span></span><span></span><span></span><span></span>228        </div>229        <span class="muted">(1,056)</span>230      </div>231      <div class="left">232        <svg class="icon" viewBox="0 0 24 24"><path d="M12 3C8 3 5 6 5 10c0 6 7 11 7 11s7-5 7-11c0-4-3-7-7-7zm0 9a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/></svg>233        <span>0.39 miles from London City</span>234      </div>235      <div class="offer">16% off</div>236      <div class="price-tag">$258 a night</div>237    </div>238  </div>239 240  <!-- Bottom sort bar + quick icon -->241  <div class="sort-bar">242    <svg class="icon-teal" width="40" height="40" viewBox="0 0 24 24"><path d="M4 7h12M4 12h8M4 17h16"/></svg>243    <span>SORT & FILTERS</span>244  </div>245  <div class="round-btn">246    <svg class="icon" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9"/><path d="M12 6v6l4 2"/></svg>247  </div>248 249  <div class="home-indicator"></div>250</div>251</body>252</html>
GD-ML/AndroidCode · Team Ai