File size: 8,718 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 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Cooking App UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px; height: 2400px;
position: relative; overflow: hidden;
background: #ffffff;
box-shadow: 0 2px 8px rgba(0,0,0,0.06);
border-radius: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
color: #333;
}
/* Status bar */
.status-bar {
position: absolute; top: 0; left: 0; right: 0;
height: 140px;
background: #3c3c3c;
color: #fff;
display: flex; align-items: center;
padding: 0 36px;
box-sizing: border-box;
font-weight: 600;
}
.status-left { display: flex; align-items: center; gap: 18px; font-size: 34px; }
.status-right { margin-left: auto; display: flex; align-items: center; gap: 32px; }
.status-icon svg { width: 40px; height: 40px; fill: #fff; }
/* Banner image placeholder */
.banner {
position: absolute; top: 140px; left: 0; right: 0;
height: 520px;
padding: 24px 36px;
box-sizing: border-box;
}
.banner .img {
width: 100%; height: 100%;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex; justify-content: center; align-items: center;
color: #757575; font-size: 34px; font-weight: 600;
border-radius: 0;
}
/* Greeting */
.greeting {
position: absolute; top: 700px; left: 36px;
font-size: 84px; font-weight: 800; color: #2c2c2c;
letter-spacing: -0.5px;
}
/* Quick filters (chips) */
.chips {
position: absolute; top: 820px; left: 36px; right: 36px;
display: flex; gap: 36px;
}
.chip {
flex: 0 0 300px; height: 140px;
background: #fff; border-radius: 28px;
box-shadow: 0 10px 24px rgba(0,0,0,0.1);
display: flex; align-items: center; justify-content: space-between;
padding: 24px; box-sizing: border-box;
}
.chip .label { font-size: 40px; font-weight: 700; color: #333; }
.chip .thumb {
width: 92px; height: 92px; background: #E0E0E0; border: 1px solid #BDBDBD;
border-radius: 18px;
display: flex; align-items: center; justify-content: center;
color: #757575; font-size: 20px; padding: 6px; box-sizing: border-box; text-align: center;
}
/* Section header */
.section {
position: absolute; top: 990px; left: 36px; right: 36px;
display: flex; align-items: center;
}
.section .title {
font-size: 54px; font-weight: 800; color: #3a3a3a;
}
.section .action {
margin-left: auto; font-size: 42px; font-weight: 700; color: #1bb3b0;
}
/* Cards */
.cards {
position: absolute; top: 1080px; left: 36px; right: 0;
display: flex; gap: 36px;
}
.card {
width: 920px; height: 980px; border-radius: 36px; overflow: hidden;
position: relative; box-shadow: 0 14px 32px rgba(0,0,0,0.15);
background: #fff;
}
.card .img {
position: absolute; inset: 0;
background: #E0E0E0; border: 1px solid #BDBDBD;
display: flex; justify-content: center; align-items: center;
color: #757575; font-size: 38px; font-weight: 700;
}
.card .fade {
position: absolute; left: 0; right: 0; bottom: 0; height: 48%;
background: linear-gradient(0deg, rgba(0,0,0,0.55), rgba(0,0,0,0));
}
.card .content {
position: absolute; left: 36px; bottom: 36px; right: 36px; color: #fff;
}
.stars { display: flex; gap: 6px; margin-bottom: 16px; }
.stars svg { width: 28px; height: 28px; fill: #ff7b2e; }
.card .title {
font-size: 64px; font-weight: 800; line-height: 1.05; margin-bottom: 10px;
}
.card .subtitle {
font-size: 32px; font-weight: 700; letter-spacing: 1px; color: rgba(255,255,255,0.85);
}
.card .fab {
position: absolute; right: 28px; bottom: 28px;
width: 88px; height: 88px; border-radius: 50%;
background: #2ec7c3; display: flex; align-items: center; justify-content: center;
box-shadow: 0 8px 18px rgba(46,199,195,0.6);
}
.fab svg { width: 44px; height: 44px; fill: #fff; }
/* Secondary card peek */
.card.peek {
width: 420px; height: 980px; border-radius: 36px; overflow: hidden;
}
.card.peek .img { font-size: 30px; }
/* Bottom navigation bar */
.bottom-bar {
position: absolute; left: 0; right: 0; bottom: 112px;
height: 170px; background: #ffffff; border-top: 1px solid rgba(0,0,0,0.12);
display: flex; align-items: center; justify-content: space-around;
}
.nav-item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.nav-item svg { width: 56px; height: 56px; }
.nav-item.active svg { fill: #1bb3b0; }
.nav-item svg { fill: #444; }
/* Navigation pill */
.nav-pill {
position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
width: 220px; height: 18px; background: #cfcfcf; border-radius: 18px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="status-left">
<div>8:40</div>
<div>18°</div>
<div>M</div>
<div>32°</div>
</div>
<div class="status-right">
<div class="status-icon">
<!-- wifi -->
<svg viewBox="0 0 24 24"><path d="M12 18.5c.8 0 1.5.7 1.5 1.5S12.8 21.5 12 21.5s-1.5-.7-1.5-1.5.7-1.5 1.5-1.5zm-6.9-6a14.8 14.8 0 0 1 13.8 0l-1.5 1.7a12.3 12.3 0 0 0-10.8 0l-1.5-1.7zm-3.2-4.1a20.7 20.7 0 0 1 20.2 0l-1.7 2A18.2 18.2 0 0 0 3.6 10.4L1.9 8.4z"/></svg>
</div>
<div class="status-icon">
<!-- battery -->
<svg viewBox="0 0 24 24"><path d="M20 8h1.5a1.5 1.5 0 0 1 0 3H20v2h1.5a1.5 1.5 0 0 1 0 3H20v1a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v-1zM6 9v8h12V9H6z"/></svg>
</div>
</div>
</div>
<!-- Banner -->
<div class="banner">
<div class="img">[IMG: Milkshake and breakfast plates banner]</div>
</div>
<!-- Greeting -->
<div class="greeting">Good Evening!</div>
<!-- Chips -->
<div class="chips">
<div class="chip">
<div class="label">Courses</div>
<div class="thumb">[IMG: Lasagna]</div>
</div>
<div class="chip">
<div class="label">Cuisines</div>
<div class="thumb">[IMG: Bowl]</div>
</div>
<div class="chip">
<div class="label">Diets</div>
<div class="thumb">[IMG: Greens]</div>
</div>
</div>
<!-- Section header -->
<div class="section">
<div class="title">Recommended for you</div>
<div class="action">View All</div>
</div>
<!-- Cards -->
<div class="cards">
<div class="card">
<div class="img">[IMG: Easy Apple Crumble dish]</div>
<div class="fade"></div>
<div class="content">
<div class="stars">
<svg viewBox="0 0 24 24"><path d="M12 17l-5.2 3 1.5-5.8L3 9.6l6-.5L12 4l3 5.1 6 .5-5.3 4.6 1.6 5.8z"/></svg>
<svg viewBox="0 0 24 24"><path d="M12 17l-5.2 3 1.5-5.8L3 9.6l6-.5L12 4l3 5.1 6 .5-5.3 4.6 1.6 5.8z"/></svg>
<svg viewBox="0 0 24 24"><path d="M12 17l-5.2 3 1.5-5.8L3 9.6l6-.5L12 4l3 5.1 6 .5-5.3 4.6 1.6 5.8z"/></svg>
<svg viewBox="0 0 24 24"><path d="M12 17l-5.2 3 1.5-5.8L3 9.6l6-.5L12 4l3 5.1 6 .5-5.3 4.6 1.6 5.8z"/></svg>
<svg viewBox="0 0 24 24"><path d="M12 17l-5.2 3 1.5-5.8L3 9.6l6-.5L12 4l3 5.1 6 .5-5.3 4.6 1.6 5.8z"/></svg>
</div>
<div class="title">Easy Apple Crumble</div>
<div class="subtitle">INQUIRING CHEF</div>
</div>
<div class="fab">
<!-- plus -->
<svg viewBox="0 0 24 24"><path d="M11 5h2v6h6v2h-6v6h-2v-6H5v-2h6z"/></svg>
</div>
</div>
<div class="card peek">
<div class="img">[IMG: Quiche close-up]</div>
</div>
</div>
<!-- Bottom navigation -->
<div class="bottom-bar">
<div class="nav-item active">
<svg viewBox="0 0 24 24"><path d="M3 10.5 12 3l9 7.5V21a1 1 0 0 1-1 1h-5v-7H9v7H4a1 1 0 0 1-1-1v-10.5z"/></svg>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24"><path d="M5 4h14v3H5V4zm0 5h14v11H5V9zm3 3v5h8v-5H8z"/></svg>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24"><path d="M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10zm-8 9c0-4.4 3.6-8 8-8s8 3.6 8 8v1H4v-1z"/></svg>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24"><path d="M7 3h2v3h6V3h2v3h3v15H4V6h3V3zm0 6v9h10V9H7z"/></svg>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24"><path d="M5 5h4v14H5V5zm5 4h4v10h-4V9zm5-3h4v13h-4V6z"/></svg>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24"><path d="M7 4h10v2H7V4zm-2 4h14v2H5V8zm3 4h8v2H8v-2zm-4 4h12v2H4v-2z"/></svg>
</div>
</div>
<div class="nav-pill"></div>
</div>
</body>
</html> |