File size: 9,550 Bytes
fa881a6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Electronics Category UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; }
#render-target {
width: 1080px; height: 2400px; position: relative; overflow: hidden;
background: #ffffff;
}
/* Top gradient status/header area */
.status-bar {
height: 190px;
background: linear-gradient(90deg, #86e1e9, #b0f0cf);
padding: 26px 36px 0 36px;
color: #1b1b1b;
}
.status-row {
display: flex; justify-content: space-between; align-items: center;
font-weight: 600; font-size: 38px; color: #2b2b2b;
}
.status-icons { display: flex; gap: 28px; align-items: center; }
.status-dot { width: 22px; height: 22px; background: #333; border-radius: 50%; opacity: .7; }
.battery {
width: 40px; height: 22px; border: 3px solid #333; border-radius: 4px; position: relative;
}
.battery::after { content: ""; position: absolute; right: -8px; top: 5px; width: 6px; height: 12px; background: #333; border-radius: 2px; }
.battery .lvl { position: absolute; left: 3px; top: 3px; right: 3px; bottom: 3px; background: #66c26b; }
.search-row {
margin-top: 24px;
display: flex; align-items: center; gap: 24px;
}
.back-btn {
width: 72px; height: 72px; display: flex; align-items: center; justify-content: center;
border-radius: 50%;
}
.search-box {
flex: 1; height: 110px; background: #fff; border-radius: 24px;
box-shadow: 0 6px 16px rgba(0,0,0,0.15);
display: flex; align-items: center; padding: 0 36px; gap: 22px;
}
.search-placeholder {
font-size: 40px; color: #6b6f75; flex: 1;
}
.scan-icon {
width: 72px; height: 72px; border-radius: 18px; background: #f3f5f7;
display: flex; justify-content: center; align-items: center; border: 1px solid #d7d9dc;
}
/* Main content */
.content {
position: absolute; left: 0; right: 0; top: 190px; bottom: 180px;
overflow: hidden; /* screenshot view */
}
.section { padding: 24px 30px; }
/* Image placeholder style */
.img-ph {
background: #E0E0E0; border: 1px solid #BDBDBD; color: #757575;
display: flex; align-items: center; justify-content: center; text-align: center;
}
.hero {
height: 620px; border-radius: 18px;
font-size: 40px; font-weight: 600;
}
.dots { display: flex; justify-content: center; gap: 18px; padding: 20px 0; }
.dot {
width: 22px; height: 22px; border-radius: 50%; background: #d9d9d9;
}
.dot.active { background: #9c9c9c; }
.ad-banner { height: 140px; border-radius: 12px; font-size: 34px; }
.divider { height: 14px; background: #f0f2f5; margin: 16px -30px; }
.categories { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; padding-top: 16px; }
.cat {
text-align: center;
}
.cat .circle {
width: 160px; height: 160px; border-radius: 50%;
margin: 0 auto 18px auto;
background: #E0E0E0; border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center; color: #757575; font-size: 26px; padding: 10px;
}
.cat label {
font-size: 32px; color: #1c1f23;
}
.header-text {
font-size: 58px; font-weight: 800; color: #1c1f23; line-height: 1.1;
padding: 10px 30px 0 30px;
}
.cards-row {
display: flex; gap: 24px; padding: 24px 30px 0 30px;
}
.mini-card { width: 320px; height: 180px; border-radius: 10px; font-size: 26px; }
/* Bottom navigation */
.bottom-nav {
position: absolute; left: 0; right: 0; bottom: 0; height: 180px;
background: #ffffff; border-top: 1px solid #e5e7eb;
display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; text-align: center;
}
.nav-item { color: #222; }
.nav-item.active { color: #10b4b5; }
.nav-icon { display: block; margin: 0 auto 10px auto; }
.nav-label { font-size: 30px; }
.active-underline {
position: absolute; left: 0; bottom: 0; height: 6px; width: 20%;
background: #10b4b5; border-radius: 3px;
}
/* Gesture bar mimic */
.gesture-bar {
position: absolute; bottom: 190px; left: 50%; transform: translateX(-50%);
width: 380px; height: 12px; border-radius: 10px; background: #cfcfcf;
opacity: .9;
}
/* Simple SVG defaults */
svg { width: 54px; height: 54px; }
</style>
</head>
<body>
<div id="render-target">
<!-- Top gradient status bar and search -->
<div class="status-bar">
<div class="status-row">
<div>9:38</div>
<div class="status-icons">
<div class="status-dot"></div>
<div class="battery"><div class="lvl"></div></div>
</div>
</div>
<div class="search-row">
<div class="back-btn">
<svg viewBox="0 0 24 24">
<path d="M14 6 L8 12 L14 18" fill="none" stroke="#1b1b1b" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
<div class="search-box">
<svg viewBox="0 0 24 24">
<circle cx="10" cy="10" r="6" fill="none" stroke="#7a7f86" stroke-width="2"></circle>
<path d="M15 15 L21 21" stroke="#7a7f86" stroke-width="2" stroke-linecap="round"></path>
</svg>
<div class="search-placeholder">Search in Electronics</div>
<div class="scan-icon">
<svg viewBox="0 0 24 24">
<path d="M3 8 V5 H8 M21 8 V5 H16 M3 16 V19 H8 M21 16 V19 H16" stroke="#7a7f86" stroke-width="2" fill="none" stroke-linecap="round"></path>
</svg>
</div>
</div>
</div>
</div>
<!-- Scrollable content area (as seen in screenshot) -->
<div class="content">
<div class="section">
<div class="img-ph hero">[IMG: boAt earbuds promotional banner]</div>
<div class="dots">
<div class="dot"></div><div class="dot"></div><div class="dot active"></div><div class="dot"></div><div class="dot"></div><div class="dot"></div><div class="dot"></div><div class="dot"></div>
</div>
</div>
<div class="section">
<div class="img-ph ad-banner">[IMG: SBI Card - 10% Instant Discount Ad]</div>
</div>
<div class="divider"></div>
<div class="section">
<div class="categories">
<div class="cat">
<div class="circle">[IMG: Laptop]</div>
<label>Laptops</label>
</div>
<div class="cat">
<div class="circle">[IMG: Smartwatch]</div>
<label>Smartwatch</label>
</div>
<div class="cat">
<div class="circle">[IMG: Headphones]</div>
<label>Headphones</label>
</div>
<div class="cat">
<div class="circle">[IMG: Monitor & Peripherals]</div>
<label>Peripherals</label>
</div>
<div class="cat">
<div class="circle">[IMG: Tablet]</div>
<label>Tablets</label>
</div>
<div class="cat">
<div class="circle">[IMG: Gaming Laptop]</div>
<label>Gaming Laptops</label>
</div>
<div class="cat">
<div class="circle">[IMG: Camera]</div>
<label>Cameras & Accessories</label>
</div>
<div class="cat">
<div class="circle">[IMG: Keyboard & Mouse]</div>
<label>Computer Accessories</label>
</div>
<div class="cat">
<div class="circle">[IMG: Soundbar]</div>
<label>Home Audio</label>
</div>
<div class="cat">
<div class="circle">[IMG: Misc gadgets]</div>
<label>Explore more</label>
</div>
</div>
</div>
<div class="divider"></div>
<div class="header-text">Electronics survey: Your opinion matters</div>
<div class="cards-row">
<div class="img-ph mini-card">[IMG: Laptop preference survey card]</div>
<div class="img-ph mini-card">[IMG: Shopping experience survey card]</div>
<div class="img-ph mini-card">[IMG: Feedback card]</div>
</div>
</div>
<!-- Gesture bar -->
<div class="gesture-bar"></div>
<!-- Bottom navigation -->
<div class="bottom-nav">
<div class="active-underline"></div>
<div class="nav-item active">
<svg class="nav-icon" viewBox="0 0 24 24">
<path d="M3 11 L12 3 L21 11 V21 H14 V15 H10 V21 H3 Z" fill="none" stroke="#10b4b5" stroke-width="2" stroke-linejoin="round"></path>
</svg>
<div class="nav-label">Home</div>
</div>
<div class="nav-item">
<svg class="nav-icon" viewBox="0 0 24 24">
<circle cx="12" cy="8" r="4" fill="none" stroke="#222" stroke-width="2"></circle>
<path d="M4 21 C4 15 20 15 20 21" stroke="#222" stroke-width="2" fill="none"></path>
</svg>
<div class="nav-label">You</div>
</div>
<div class="nav-item">
<svg class="nav-icon" viewBox="0 0 24 24">
<path d="M7 4 H17 V10 H7 Z M4 13 H14 V20 H4 Z M16 13 H20 V20 H16 Z" fill="none" stroke="#222" stroke-width="2"></path>
</svg>
<div class="nav-label">More</div>
</div>
<div class="nav-item">
<svg class="nav-icon" viewBox="0 0 24 24">
<path d="M6 6 H21 L19 14 H8 L6 6 Z" fill="none" stroke="#222" stroke-width="2"></path>
<circle cx="9" cy="19" r="2" fill="none" stroke="#222" stroke-width="2"></circle>
<circle cx="17" cy="19" r="2" fill="none" stroke="#222" stroke-width="2"></circle>
</svg>
<div class="nav-label">Cart</div>
</div>
<div class="nav-item">
<svg class="nav-icon" viewBox="0 0 2 |