Download code/1005/1005_0.html from GD-ML/AndroidCode: direct link, hf CLI and curl.
- Browser
- Download file 13.4 kB
-
https://huggingface.co/datasets/GD-ML/AndroidCode/resolve/4b2ca48fd5f7e31e03dcf37e69abb792b6b7cd84/code/1005/1005_0.html
- Command line
-
hf download hf://datasets/GD-ML/AndroidCode@4b2ca48fd5f7e31e03dcf37e69abb792b6b7cd84/code/1005/1005_0.html
-
curl -L -o 1005_0.html https://huggingface.co/datasets/GD-ML/AndroidCode/resolve/4b2ca48fd5f7e31e03dcf37e69abb792b6b7cd84/code/1005/1005_0.html
13.4 kB
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Flipkart Product Mock</title> | |
| <style> | |
| body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; } | |
| #render-target { | |
| width: 1080px; | |
| height: 2400px; | |
| position: relative; | |
| overflow: hidden; | |
| background: #ffffff; | |
| color: #222; | |
| } | |
| /* Top status bar */ | |
| .status-bar { | |
| height: 90px; | |
| padding: 0 32px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| color: #111; | |
| font-weight: 600; | |
| font-size: 34px; | |
| } | |
| .status-right { | |
| display: flex; | |
| align-items: center; | |
| gap: 22px; | |
| color: #666; | |
| font-weight: 500; | |
| font-size: 26px; | |
| } | |
| .icon { | |
| width: 44px; height: 44px; | |
| } | |
| .icon svg { width: 100%; height: 100%; } | |
| /* Search header */ | |
| .search-header { | |
| padding: 12px 24px 8px 16px; | |
| display: flex; | |
| align-items: center; | |
| gap: 14px; | |
| } | |
| .back-btn { | |
| width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; | |
| } | |
| .search-box { | |
| flex: 1; | |
| background: #f1f3f6; | |
| border: 1px solid #e0e0e0; | |
| height: 88px; | |
| border-radius: 16px; | |
| display: flex; align-items: center; | |
| padding: 0 24px; | |
| gap: 18px; | |
| } | |
| .search-placeholder { | |
| flex: 1; | |
| color: #6a6f73; | |
| font-size: 34px; | |
| } | |
| .mic { width: 42px; height: 42px; } | |
| .cart-wrap { | |
| width: 80px; height: 80px; position: relative; display: flex; align-items: center; justify-content: center; | |
| } | |
| .badge { | |
| position: absolute; | |
| top: 6px; right: 8px; | |
| background: #e53935; | |
| color: #fff; font-size: 24px; font-weight: 700; | |
| padding: 2px 10px; | |
| border-radius: 20px; | |
| } | |
| /* Scrollable content (reserve space for footer) */ | |
| .content { | |
| position: absolute; | |
| top: 180px; | |
| left: 0; right: 0; | |
| bottom: 180px; /* leave room for bottom actions */ | |
| overflow: hidden; | |
| } | |
| .pad { padding: 12px 24px; } | |
| .section-title { | |
| font-size: 44px; | |
| font-weight: 700; | |
| margin: 18px 0 16px; | |
| } | |
| /* Horizontal product cards */ | |
| .card-row { | |
| display: flex; | |
| gap: 24px; | |
| overflow: hidden; | |
| padding-bottom: 8px; | |
| } | |
| .product-card { | |
| width: 332px; | |
| border: 1px solid #e3e3e3; | |
| border-radius: 16px; | |
| background: #fff; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .product-img { | |
| height: 320px; | |
| background: #E0E0E0; | |
| border-bottom: 1px solid #BDBDBD; | |
| display: flex; align-items: center; justify-content: center; | |
| color: #757575; font-size: 28px; text-align: center; | |
| } | |
| .pill { | |
| position: absolute; | |
| top: 12px; left: 12px; | |
| background: #e91e63; | |
| color: #fff; | |
| font-size: 26px; font-weight: 800; | |
| border-radius: 12px; | |
| padding: 6px 14px; | |
| } | |
| .pill-blue { | |
| background: #2e7d32; /* for TRENDING - greenish/blue tag */ | |
| } | |
| .sponsored { | |
| color: #8a8a8a; | |
| font-size: 26px; | |
| padding: 8px 14px 0; | |
| } | |
| .card-body { | |
| padding: 12px 16px 18px; | |
| } | |
| .brand { | |
| font-weight: 700; | |
| font-size: 30px; | |
| margin-bottom: 2px; | |
| } | |
| .title { | |
| color: #4b4b4b; | |
| font-size: 28px; | |
| height: 66px; | |
| overflow: hidden; | |
| } | |
| .price-row { | |
| display: flex; align-items: baseline; gap: 10px; margin: 8px 0; | |
| } | |
| .old { color: #9e9e9e; text-decoration: line-through; font-size: 28px; } | |
| .new { color: #111; font-size: 34px; font-weight: 700; } | |
| .off { color: #2e7d32; font-size: 28px; font-weight: 700; } | |
| .stars { | |
| color: #2e7d32; font-size: 26px; display: flex; align-items: center; gap: 8px; | |
| } | |
| .stars .count { color: #555; } | |
| /* About the brand */ | |
| .about { | |
| margin-top: 18px; | |
| border-top: 1px solid #eee; | |
| padding-top: 18px; | |
| } | |
| .heading-row { | |
| display: flex; align-items: center; gap: 18px; | |
| font-size: 38px; font-weight: 700; margin: 8px 0 8px; | |
| } | |
| .shop-ico { | |
| width: 70px; height: 70px; border: 2px solid #cfcfcf; border-radius: 12px; display: flex; align-items: center; justify-content: center; | |
| } | |
| .shop-ico::after { | |
| content: "π¬"; | |
| font-size: 40px; | |
| } | |
| .brand-name { font-size: 44px; font-weight: 800; } | |
| .feature { | |
| display: flex; align-items: flex-start; gap: 18px; | |
| margin: 16px 0; | |
| } | |
| .f-ico { | |
| width: 40px; height: 40px; border: 2px solid #cfcfcf; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #666; | |
| margin-top: 4px; | |
| } | |
| .feature h4 { | |
| font-size: 34px; margin: 0 0 4px 0; | |
| } | |
| .feature p { | |
| margin: 0; | |
| color: #636c73; | |
| font-size: 28px; | |
| } | |
| /* Ratings & Reviews */ | |
| .ratings { | |
| margin-top: 18px; | |
| border-top: 1px solid #eee; | |
| padding-top: 18px; | |
| } | |
| .rr-head { | |
| display: flex; align-items: center; justify-content: space-between; | |
| } | |
| .rr-title { font-size: 44px; font-weight: 800; } | |
| .rate-btn { | |
| border: 1px solid #cfd8dc; | |
| padding: 18px 26px; | |
| border-radius: 12px; | |
| font-size: 32px; | |
| color: #1976d2; | |
| background: #f8fbff; | |
| font-weight: 700; | |
| } | |
| .rating-summary { | |
| display: flex; gap: 34px; align-items: center; padding: 16px 0 8px; | |
| } | |
| .left-score { | |
| width: 280px; | |
| } | |
| .left-score .score-title { | |
| color: #7e8a92; font-size: 30px; margin-top: 8px; | |
| } | |
| .big-stars { color: #2e7d32; font-size: 34px; letter-spacing: 2px; } | |
| .bars { flex: 1; } | |
| .bar-row { | |
| display: flex; align-items: center; gap: 16px; margin: 12px 0; | |
| font-size: 28px; | |
| } | |
| .line { | |
| height: 20px; background: #e0e0e0; border-radius: 10px; overflow: hidden; flex: 1; position: relative; | |
| } | |
| .line > span { | |
| position: absolute; left: 0; top: 0; bottom: 0; background: #2e7d32; | |
| } | |
| .count-small { color: #9aa0a6; font-size: 26px; } | |
| /* Bottom actions */ | |
| .bottom-actions { | |
| position: absolute; | |
| bottom: 0; left: 0; right: 0; | |
| height: 170px; | |
| display: flex; | |
| border-top: 1px solid #e0e0e0; | |
| } | |
| .cart-btn { | |
| flex: 1; | |
| background: #ffffff; | |
| display: flex; align-items: center; justify-content: center; | |
| font-size: 44px; font-weight: 800; color: #111; | |
| } | |
| .buy-btn { | |
| flex: 1.2; | |
| background: #ffc107; | |
| display: flex; align-items: center; justify-content: center; | |
| font-size: 48px; font-weight: 900; color: #111; | |
| } | |
| /* Floating action */ | |
| .float-btn { | |
| position: absolute; | |
| right: 34px; | |
| bottom: 220px; | |
| width: 130px; height: 130px; | |
| background: #2a58ff; | |
| border-radius: 50%; | |
| display: flex; align-items: center; justify-content: center; | |
| box-shadow: 0 8px 20px rgba(0,0,0,0.25); | |
| border: 6px solid #fff; | |
| } | |
| .float-inner { | |
| width: 88px; height: 88px; background: #ffd400; border-radius: 50%; | |
| display: flex; align-items: center; justify-content: center; | |
| font-weight: 900; color: #2a58ff; font-size: 54px; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div id="render-target"> | |
| <!-- Status bar --> | |
| <div class="status-bar"> | |
| <div>9:25</div> | |
| <div class="status-right"> | |
| <span>LR</span> | |
| <span class="icon"> | |
| <svg viewBox="0 0 24 24"><path d="M3 12h3v8H3v-8zm5-4h3v12H8V8zm5-3h3v15h-3V5zm5-2h3v17h-3V3z" fill="#666"/></svg> | |
| </span> | |
| <span class="icon"> | |
| <svg viewBox="0 0 24 24"><path d="M12 3C7 3 2.73 6.11 1 10.5L3.24 11.4C4.58 8.19 8.01 6 12 6s7.42 2.19 8.76 5.4L23 10.5C21.27 6.11 17 3 12 3zm0 6c-3.04 0-5.5 2.46-5.5 5.5h2C8.5 12.57 10.07 11 12 11s3.5 1.57 3.5 3.5h2C17.5 11.46 15.04 9 12 9z" fill="#666"/></svg> | |
| </span> | |
| </div> | |
| </div> | |
| <!-- Search header --> | |
| <div class="search-header"> | |
| <div class="back-btn"> | |
| <svg class="icon" viewBox="0 0 24 24"> | |
| <path d="M15 19L8 12l7-7" stroke="#111" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"></path> | |
| </svg> | |
| </div> | |
| <div class="search-box"> | |
| <svg class="icon" viewBox="0 0 24 24"> | |
| <path d="M15.5 14h-.79l-.28-.27A6.5 6.5 0 1015.5 14l4.5 4.5L19.5 20 15.5 16zM10 15a5 5 0 110-10 5 5 0 010 10z" fill="#777"></path> | |
| </svg> | |
| <div class="search-placeholder">Search for products</div> | |
| <svg class="mic" viewBox="0 0 24 24"> | |
| <path d="M12 14a3 3 0 003-3V6a3 3 0 10-6 0v5a3 3 0 003 3zm-7-3a7 7 0 0014 0h-2a5 5 0 11-10 0H5zm6 7v3h2v-3h-2z" fill="#777"></path> | |
| </svg> | |
| </div> | |
| <div class="cart-wrap"> | |
| <svg class="icon" viewBox="0 0 24 24"> | |
| <path d="M7 6h13l-1.5 9h-11L5 3H2" stroke="#111" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"></path> | |
| <circle cx="9" cy="21" r="1.6" fill="#111"></circle> | |
| <circle cx="18" cy="21" r="1.6" fill="#111"></circle> | |
| </svg> | |
| <div class="badge">1</div> | |
| </div> | |
| </div> | |
| <!-- Scrollable content --> | |
| <div class="content"> | |
| <div class="pad"> | |
| <div class="section-title">Similar Products</div> | |
| <div class="card-row"> | |
| <!-- Card 1 --> | |
| <div class="product-card"> | |
| <div class="pill">3 LEFT</div> | |
| <div class="product-img">[IMG: Knorr Chicken Delite Soup Pack]</div> | |
| <div class="card-body"> | |
| <div class="brand">Knorr</div> | |
| <div class="title">Chicken Delite Soup...</div> | |
| <div class="price-row"> | |
| <div class="old">299</div> | |
| <div class="new">βΉ279</div> | |
| </div> | |
| <div class="off">6% off</div> | |
| <div class="stars">β β β β β <span class="count">(890)</span></div> | |
| </div> | |
| </div> | |
| <!-- Card 2 --> | |
| <div class="product-card"> | |
| <div class="product-img">[IMG: Japanese Choice Chicken Miso Soup]</div> | |
| <div class="sponsored">Sponsored</div> | |
| <div class="card-body"> | |
| <div class="brand">Japanese Choice</div> | |
| <div class="title">Chicken Miso Soup ...</div> | |
| <div class="price-row"> | |
| <div class="old">400</div> | |
| <div class="new">βΉ225</div> | |
| </div> | |
| <div class="off">43% off</div> | |
| <div class="stars">β β β β β <span class="count">F-Assured</span></div> | |
| </div> | |
| </div> | |
| <!-- Card 3 --> | |
| <div class="product-card"> | |
| <div class="pill pill-blue">TRENDING</div> | |
| <div class="product-img">[IMG: Knorr Chicken Delite Soup Single Pack]</div> | |
| <div class="card-body"> | |
| <div class="brand">Knorr</div> | |
| <div class="title">Chicken Delite Soup</div> | |
| <div class="price-row"> | |
| <div class="old">150</div> | |
| <div class="new">βΉ149</div> | |
| </div> | |
| <div class="off">Hot Deal</div> | |
| <div class="stars">β β β β β </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- About the brand --> | |
| <div class="about"> | |
| <div class="heading-row"> | |
| <div class="shop-ico"></div> | |
| <div>About the brand</div> | |
| </div> | |
| <div class="brand-name">Knorr</div> | |
| <div class="feature"> | |
| <div class="f-ico">β</div> | |
| <div> | |
| <h4>Favorite in Food</h4> | |
| <p>Based on recent orders on Flipkart</p> | |
| </div> | |
| </div> | |
| <div class="feature"> | |
| <div class="f-ico">β </div> | |
| <div> | |
| <h4>Loved by customers</h4> | |
| <p>Based on customer ratings</p> | |
| </div> | |
| </div> | |
| <div class="feature"> | |
| <div class="f-ico">π</div> | |
| <div> | |
| <h4>6+ years on Flipkart</h4> | |
| <p>Since Jul 2017</p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Ratings & Reviews --> | |
| <div class="ratings"> | |
| <div class="rr-head"> | |
| <div class="rr-title">Ratings & Reviews</div> | |
| <button class="rate-btn">Rate Product</button> | |
| </div> | |
| <div class="rating-summary"> | |
| <div class="left-score"> | |
| <div class="big-stars">β β β β β </div> | |
| <div class="score-title">Very Good</div> | |
| </div> | |
| <div class="bars"> | |
| <div class="bar-row"> | |
| <div>5β </div> | |
| <div class="line"><span style="width: 78%;"></span></div> | |
| <div class="count-small">?</div> | |
| </div> | |
| <div class="bar-row"> | |
| <div>4β </div> | |
| <div class="line"><span style="width: 42%;"></span></div> | |
| <div class="count-small">408</div> | |
| </div> | |
| <div class="bar-row"> | |
| <div>3β </div> | |
| <div class="line"><span style="width: 18%; background:#66bb6a;"></span></div> | |
| <div class="count-small">β</div> | |
| </div> | |
| <div class="bar-row"> | |
| <div>2β </div> | |
| <div class="line"><span style="width: 8%; background:#81c784;"></span></div> | |
| <div class="count-small">β</div> | |
| </div> | |
| <div class="bar-row"> | |
| <div>1β </div> | |
| <div class="line"><span style="width: 6%; background:#a5d6a7;"></span></div> | |
| <div class="count-small">β</div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> <!-- /pad --> | |
| </div> <!-- /content --> | |
| <!-- Floating Flipkart button --> | |
| <div class="float-btn"> | |
| <div class="float-inner">f</div> | |
| </div> | |
| <!-- Bottom actions --> | |
| <div class="bottom-actions"> | |
| <div class="cart-btn">Go to cart</div> | |
| <div class="buy-btn">Buy now</div> | |
| </div> | |
| </div> | |
| </body> | |
| </html> |