Download code/10114/10114_2.html from GD-ML/AndroidCode: direct link, hf CLI and curl.
- Browser
- Download file 11.5 kB
-
https://huggingface.co/datasets/GD-ML/AndroidCode/resolve/ff1f000644f76fc27a2a429aeaa1d8806eb8d8d7/code/10114/10114_2.html
- Command line
-
hf download hf://datasets/GD-ML/AndroidCode@ff1f000644f76fc27a2a429aeaa1d8806eb8d8d7/code/10114/10114_2.html
-
curl -L -o 10114_2.html https://huggingface.co/datasets/GD-ML/AndroidCode/resolve/ff1f000644f76fc27a2a429aeaa1d8806eb8d8d7/code/10114/10114_2.html
11.5 kB
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>UI Render - Reviews & Ratings</title> | |
| <style> | |
| body { margin: 0; padding: 0; background: transparent; font-family: Arial, Helvetica, sans-serif; } | |
| #render-target { | |
| width: 1440px; height: 3120px; position: relative; overflow: hidden; | |
| background: #FFFFFF; border-radius: 24px; box-shadow: 0 6px 24px rgba(0,0,0,0.08); | |
| color: #222; | |
| } | |
| .safe-area { width: 100%; padding: 24px 60px 0 60px; box-sizing: border-box; } | |
| /* Status bar (top) */ | |
| .status-bar { height: 96px; display: flex; align-items: center; justify-content: space-between; color: #555; font-size: 40px; } | |
| .status-left { letter-spacing: 1px; } | |
| .status-right { display: flex; gap: 24px; align-items: center; } | |
| .status-dot { width: 10px; height: 10px; background:#999; border-radius: 50%; display:inline-block; } | |
| /* Action bar */ | |
| .action-bar { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; } | |
| .circle-btn { width: 120px; height: 120px; border-radius: 60px; background: #F7F7F7; border: 1px solid #E6E6E6; display: flex; align-items: center; justify-content: center; } | |
| .right-actions { display: flex; gap: 24px; } | |
| .icon svg { width: 56px; height: 56px; } | |
| /* Tabs */ | |
| .tabs { margin-top: 28px; background: #F3F4F6; border-radius: 28px; display: flex; padding: 12px; gap: 12px; } | |
| .tab { flex: 1; text-align: center; padding: 28px 0; font-size: 48px; color: #666; border-radius: 20px; } | |
| .tab.active { background: #FFFFFF; color: #111; box-shadow: 0 2px 0 rgba(0,0,0,0.08) inset; } | |
| /* Section heading */ | |
| .section-title { font-size: 72px; font-weight: 700; margin: 56px 0 28px 0; } | |
| /* Rating card */ | |
| .card { border: 1px solid #E6E6E6; border-radius: 28px; padding: 54px; box-sizing: border-box; background: #fff; } | |
| .rating-card { display: flex; gap: 40px; } | |
| .rating-left { width: 42%; border-right: 1px solid #EAEAEA; padding-right: 40px; } | |
| .rating-number { font-size: 140px; font-weight: 700; line-height: 1; } | |
| .rating-outof { font-size: 60px; color: #666; } | |
| .rating-meta { margin-top: 28px; font-size: 44px; color: #333; } | |
| .rating-right { flex: 1; padding-left: 20px; } | |
| .star-row { display: grid; grid-template-columns: 80px 1fr 120px; align-items: center; gap: 16px; margin: 20px 0; font-size: 44px; color: #666; } | |
| .progress { height: 24px; background: #EDEDED; border-radius: 12px; overflow: hidden; } | |
| .bar { height: 100%; border-radius: 12px; } | |
| .bar.green { background: #64C35C; } | |
| .bar.green2 { background: #86C97E; } | |
| .bar.lime { background: #B6D663; } | |
| .bar.yellow { background: #F5C84A; } | |
| .bar.red { background: #F36B7A; } | |
| /* Sort & Filter strip */ | |
| .strip { margin-top: 40px; background: #F6F6F6; border-radius: 24px; border: 1px solid #ECECEC; display: grid; grid-template-columns: 1fr 1fr; } | |
| .strip > div { padding: 36px 40px; display: flex; align-items: center; gap: 24px; } | |
| .strip .divider { border-left: 1px solid #E8E8E8; } | |
| .strip-title { font-size: 52px; font-weight: 700; color: #444; } | |
| .strip-sub { font-size: 40px; color: #9AA0A6; margin-top: 8px; } | |
| /* Image placeholder */ | |
| .img-ph { width: 100%; height: 790px; background: #E0E0E0; border: 1px solid #BDBDBD; border-radius: 28px; | |
| display: flex; justify-content: center; align-items: center; color: #757575; font-size: 48px; } | |
| /* Subsection titles */ | |
| .subheading { margin: 40px 0 24px 0; font-size: 48px; font-weight: 800; letter-spacing: 1px; color: #333; } | |
| /* Review snippet */ | |
| .review { font-size: 44px; color: #444; line-height: 1.4; } | |
| .muted { color: #777; } | |
| /* Product card */ | |
| .product-card { position: absolute; left: 60px; right: 60px; bottom: 360px; background: #fff; border-top: 1px solid #EEEEEE; box-shadow: 0 4px 16px rgba(0,0,0,0.06); border-radius: 18px; padding: 28px; display: flex; align-items: center; gap: 28px; } | |
| .thumb { width: 180px; height: 180px; background: #E0E0E0; border: 1px solid #BDBDBD; border-radius: 16px; display:flex; align-items:center; justify-content:center; color:#757575; font-size: 32px; } | |
| .product-info { flex: 1; } | |
| .product-title { font-size: 44px; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } | |
| .price-row { margin-top: 12px; display: flex; align-items: baseline; gap: 20px; } | |
| .price { font-size: 64px; font-weight: 800; color: #111; } | |
| .mrp { font-size: 44px; color: #999; text-decoration: line-through; } | |
| .offer { font-size: 44px; color: #FF9F1C; font-weight: 700; } | |
| /* Bottom Buy Bar */ | |
| .buy-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 220px; background: #fff; border-top: 1px solid #EEE; display: flex; align-items: center; justify-content: space-between; padding: 0 60px; box-sizing: border-box; } | |
| .buy-button { background: #FF2D55; color: #fff; font-size: 60px; font-weight: 800; border-radius: 20px; padding: 38px 380px; } | |
| .mini-cart { width: 120px; height: 120px; border-radius: 60px; background: #F7F7F7; border: 1px solid #E6E6E6; display:flex; align-items:center; justify-content:center; } | |
| /* Utility icons */ | |
| .icon-stroke { stroke: #444; stroke-width: 2.2; fill: none; } | |
| .icon-muted { stroke: #8A8A8A; } | |
| .star { width: 40px; height: 40px; vertical-align: middle; } | |
| </style> | |
| </head> | |
| <body> | |
| <div id="render-target"> | |
| <div class="safe-area"> | |
| <!-- Status Bar --> | |
| <div class="status-bar"> | |
| <div class="status-left">2:28</div> | |
| <div class="status-right"> | |
| <span>â—”</span><span>â—‘</span><span>â—’</span><span>â—“</span><span class="status-dot"></span> | |
| <span>📶</span><span>🔋</span> | |
| </div> | |
| </div> | |
| <!-- Action Bar --> | |
| <div class="action-bar"> | |
| <div class="circle-btn icon"> | |
| <svg viewBox="0 0 24 24"> | |
| <path class="icon-stroke" d="M15 6L9 12l6 6"></path> | |
| </svg> | |
| </div> | |
| <div class="right-actions"> | |
| <div class="circle-btn icon"> | |
| <svg viewBox="0 0 24 24"> | |
| <circle class="icon-stroke" cx="11" cy="11" r="7"></circle> | |
| <path class="icon-stroke" d="M21 21l-4.5-4.5"></path> | |
| </svg> | |
| </div> | |
| <div class="circle-btn icon"> | |
| <svg viewBox="0 0 24 24"> | |
| <path class="icon-stroke" d="M3 12l9-9 9 9"></path> | |
| <path class="icon-stroke" d="M6 9v12h12V9"></path> | |
| </svg> | |
| </div> | |
| <div class="circle-btn icon"> | |
| <svg viewBox="0 0 24 24"> | |
| <path class="icon-stroke" d="M3 6h2l2 12h10l2-10H6"></path> | |
| <circle class="icon-stroke" cx="9" cy="20" r="1.7"></circle> | |
| <circle class="icon-stroke" cx="17" cy="20" r="1.7"></circle> | |
| </svg> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Tabs --> | |
| <div class="tabs"> | |
| <div class="tab">Details</div> | |
| <div class="tab">More Like This</div> | |
| <div class="tab active">Reviews</div> | |
| </div> | |
| <!-- Reviews & Ratings --> | |
| <div class="section-title">Reviews & Ratings</div> | |
| <div class="card rating-card"> | |
| <div class="rating-left"> | |
| <div> | |
| <span class="rating-number">3.6</span><span class="rating-outof">/5</span> | |
| </div> | |
| <div class="rating-meta">23 Reviews | 103 Ratings</div> | |
| </div> | |
| <div class="rating-right"> | |
| <!-- 5 Star --> | |
| <div class="star-row"> | |
| <div>5 | |
| <svg class="star" viewBox="0 0 24 24"> | |
| <path d="M12 3l3 6 6 .8-4.5 4 1.2 6.2L12 17l-5.7 3 1.2-6.2L3 9.8 9 9z" fill="#C5C5C5"></path> | |
| </svg> | |
| </div> | |
| <div class="progress"><div class="bar green" style="width: 72%;"></div></div> | |
| <div style="text-align:right;">50</div> | |
| </div> | |
| <!-- 4 Star --> | |
| <div class="star-row"> | |
| <div>4 | |
| <svg class="star" viewBox="0 0 24 24"> | |
| <path d="M12 3l3 6 6 .8-4.5 4 1.2 6.2L12 17l-5.7 3 1.2-6.2L3 9.8 9 9z" fill="#C5C5C5"></path> | |
| </svg> | |
| </div> | |
| <div class="progress"><div class="bar green2" style="width: 36%;"></div></div> | |
| <div style="text-align:right;">15</div> | |
| </div> | |
| <!-- 3 Star --> | |
| <div class="star-row"> | |
| <div>3 | |
| <svg class="star" viewBox="0 0 24 24"> | |
| <path d="M12 3l3 6 6 .8-4.5 4 1.2 6.2L12 17l-5.7 3 1.2-6.2L3 9.8 9 9z" fill="#C5C5C5"></path> | |
| </svg> | |
| </div> | |
| <div class="progress"><div class="bar lime" style="width: 22%;"></div></div> | |
| <div style="text-align:right;">8</div> | |
| </div> | |
| <!-- 2 Star --> | |
| <div class="star-row"> | |
| <div>2 | |
| <svg class="star" viewBox="0 0 24 24"> | |
| <path d="M12 3l3 6 6 .8-4.5 4 1.2 6.2L12 17l-5.7 3 1.2-6.2L3 9.8 9 9z" fill="#C5C5C5"></path> | |
| </svg> | |
| </div> | |
| <div class="progress"><div class="bar yellow" style="width: 16%;"></div></div> | |
| <div style="text-align:right;">6</div> | |
| </div> | |
| <!-- 1 Star --> | |
| <div class="star-row"> | |
| <div>1 | |
| <svg class="star" viewBox="0 0 24 24"> | |
| <path d="M12 3l3 6 6 .8-4.5 4 1.2 6.2L12 17l-5.7 3 1.2-6.2L3 9.8 9 9z" fill="#C5C5C5"></path> | |
| </svg> | |
| </div> | |
| <div class="progress"><div class="bar red" style="width: 64%;"></div></div> | |
| <div style="text-align:right;">24</div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Sort & Filter --> | |
| <div class="strip"> | |
| <div> | |
| <svg viewBox="0 0 24 24" class="icon-muted" width="60" height="60"> | |
| <path class="icon-stroke icon-muted" d="M7 4v14M4 7l3-3 3 3M17 20V6M14 17l3 3 3-3"></path> | |
| </svg> | |
| <div> | |
| <div class="strip-title">Sort</div> | |
| <div class="strip-sub">Most Helpful</div> | |
| </div> | |
| </div> | |
| <div class="divider"> | |
| <svg viewBox="0 0 24 24" class="icon-muted" width="60" height="60"> | |
| <path class="icon-stroke icon-muted" d="M4 7h16M9 7a2 2 0 110 0M4 12h16M15 12a2 2 0 110 0M4 17h16M7 17a2 2 0 110 0"></path> | |
| </svg> | |
| <div> | |
| <div class="strip-title">Filter</div> | |
| <div class="strip-sub">All Stars</div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Customer Photos --> | |
| <div class="subheading">CUSTOMER PHOTOS (1)</div> | |
| <div class="img-ph">[IMG: Tool kit case photo]</div> | |
| <!-- Customer Reviews --> | |
| <div class="subheading">CUSTOMER REVIEWS (23)</div> | |
| <div class="card"> | |
| <div class="review"> | |
| Good product — solid build quality and useful accessories.<br> | |
| <span class="muted">Reviewed by: Customer • 2 weeks ago</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Product summary card near bottom --> | |
| <div class="product-card"> | |
| <div class="thumb">[IMG: Tool kit]</div> | |
| <div class="product-info"> | |
| <div class="product-title">Shopper52 - DRLTOOLSET-nw6 650W 13mm Corded Drill Toolkit...</div> | |
| <div class="price-row"> | |
| <div class="price">₹3145</div> | |
| <div class="mrp">₹4999</div> | |
| <div class="offer">37% OFF</div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Bottom Buy Bar --> | |
| <div class="buy-bar"> | |
| <div class="mini-cart icon"> | |
| <svg viewBox="0 0 24 24"> | |
| <path class="icon-stroke" d="M3 6h2l2 12h10l2-10H6"></path> | |
| <circle class="icon-stroke" cx="9" cy="20" r="1.6"></circle> | |
| <circle class="icon-stroke" cx="17" cy="20" r="1.6"></circle> | |
| </svg> | |
| </div> | |
| <div class="buy-button">Buy Now</div> | |
| </div> | |
| </div> | |
| </body> | |
| </html> |