| <!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 { |
| 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 { |
| 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 { |
| position: absolute; top: 700px; left: 36px; |
| font-size: 84px; font-weight: 800; color: #2c2c2c; |
| letter-spacing: -0.5px; |
| } |
| |
| |
| .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 { |
| 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 { |
| 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; } |
| |
| |
| .card.peek { |
| width: 420px; height: 980px; border-radius: 36px; overflow: hidden; |
| } |
| .card.peek .img { font-size: 30px; } |
| |
| |
| .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; } |
| |
| |
| .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"> |
|
|
| |
| <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"> |
| |
| <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"> |
| |
| <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> |
|
|
| |
| <div class="banner"> |
| <div class="img">[IMG: Milkshake and breakfast plates banner]</div> |
| </div> |
|
|
| |
| <div class="greeting">Good Evening!</div> |
|
|
| |
| <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> |
|
|
| |
| <div class="section"> |
| <div class="title">Recommended for you</div> |
| <div class="action">View All</div> |
| </div> |
|
|
| |
| <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"> |
| |
| <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> |
|
|
| |
| <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> |