AndroidCode / code /10020 /10020_2.html
yhzheng1031's picture
Add files using upload-large-folder tool
fa881a6 verified
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Food Ordering UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, Helvetica, sans-serif; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #ffffff;
border-radius: 24px;
box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
/* Status bar */
.status-bar {
height: 110px;
padding: 0 36px;
display: flex;
align-items: center;
justify-content: space-between;
color: #323232;
font-weight: 600;
font-size: 36px;
}
.status-left { display: flex; align-items: center; gap: 20px; }
.status-right { display: flex; align-items: center; gap: 20px; }
.dot { width: 12px; height: 12px; background: #8E8E8E; border-radius: 50%; display: inline-block; }
/* Header - location and call */
.header {
padding: 12px 36px 0 36px;
}
.location-row {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 8px;
margin-bottom: 24px;
}
.store-info {
display: flex;
align-items: flex-start;
gap: 18px;
}
.store-icon {
width: 72px;
height: 72px;
border: 2px solid #2E2E2E;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
}
.store-icon svg { width: 46px; height: 46px; }
.location-text .city {
font-size: 34px;
color: #6C6C6C;
margin-bottom: 8px;
}
.location-text .branch {
font-size: 44px;
font-weight: 800;
color: #101010;
display: inline-flex;
align-items: center;
gap: 12px;
}
.chev {
width: 24px;
height: 24px;
border-top: 6px solid #101010;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
transform: rotate(180deg);
margin-top: 8px;
}
.call-btn {
border: 2px solid #2A6B33;
color: #2A6B33;
border-radius: 18px;
padding: 22px 28px;
font-size: 38px;
font-weight: 700;
display: inline-flex;
align-items: center;
gap: 18px;
box-shadow: 0 4px 0 rgba(42,107,51,0.25) inset;
}
.call-btn svg { width: 42px; height: 42px; }
/* Segmented control */
.segments {
display: flex;
gap: 18px;
margin: 0 36px 24px 36px;
}
.segment {
flex: 1;
height: 110px;
border-radius: 18px;
font-size: 42px;
font-weight: 800;
display: flex;
align-items: center;
justify-content: center;
letter-spacing: 1px;
}
.segment.active {
background: #3F6E42;
color: #ffffff;
box-shadow: 0 6px 0 rgba(0,0,0,0.12) inset;
}
.segment.inactive {
background: #EAEAEA;
color: #8A8A8A;
}
/* Grid cards */
.grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 32px;
padding: 0 36px;
}
.card {
background: #f5f5f5;
border-radius: 26px;
overflow: hidden;
box-shadow: 0 6px 12px rgba(0,0,0,0.08);
position: relative;
}
.img-placeholder {
height: 450px;
background: #E0E0E0;
border-bottom: 1px solid #BDBDBD;
display: flex;
align-items: center;
justify-content: center;
color: #757575;
font-size: 36px;
font-weight: 700;
}
.card-footer {
position: absolute;
left: 0;
right: 0;
bottom: 0;
padding: 30px;
background: linear-gradient(to top, rgba(0,0,0,0.45), rgba(0,0,0,0.20), rgba(0,0,0,0.00));
color: #fff;
}
.card-title {
font-size: 56px;
font-weight: 900;
letter-spacing: 1px;
margin-bottom: 10px;
}
.card-sub {
font-size: 32px;
font-weight: 700;
opacity: 0.95;
}
.card.tall .img-placeholder { height: 530px; }
/* Section heading */
.section-heading {
padding: 36px;
font-size: 56px;
font-weight: 900;
color: #222;
}
/* Bottom nav */
.bottom-nav {
position: absolute;
left: 36px;
right: 36px;
bottom: 130px;
height: 160px;
background: #ffffff;
border-radius: 40px;
box-shadow: 0 12px 30px rgba(0,0,0,0.12);
display: flex;
align-items: center;
justify-content: space-around;
}
.nav-item { display: flex; align-items: center; flex-direction: column; gap: 12px; color: #7A7A7A; }
.nav-item.active { color: #2F7A3A; }
.nav-icon {
width: 64px;
height: 64px;
border-radius: 16px;
display: flex;
align-items: center;
justify-content: center;
}
.nav-item.active .nav-icon { background: rgba(47,122,58,0.12); }
.nav-label { font-size: 32px; font-weight: 700; }
/* Home indicator */
.home-indicator {
position: absolute;
bottom: 52px;
left: 50%;
transform: translateX(-50%);
width: 320px;
height: 16px;
background: #121212;
opacity: 0.12;
border-radius: 8px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="status-left">
<span>2:01</span>
<span class="dot"></span>
<span class="dot"></span>
<span class="dot"></span>
<span class="dot"></span>
</div>
<div class="status-right">
<!-- Simple wifi icon -->
<svg width="40" height="40" viewBox="0 0 24 24" fill="none">
<path d="M2 8c5-4 15-4 20 0" stroke="#424242" stroke-width="2" stroke-linecap="round"/>
<path d="M5 12c3-3 11-3 14 0" stroke="#424242" stroke-width="2" stroke-linecap="round"/>
<path d="M8 16c2-2 6-2 8 0" stroke="#424242" stroke-width="2" stroke-linecap="round"/>
<circle cx="12" cy="19" r="1.5" fill="#424242"/>
</svg>
<!-- Battery icon -->
<svg width="40" height="40" viewBox="0 0 28 28" fill="none">
<rect x="2" y="6" width="20" height="12" rx="2" stroke="#424242" stroke-width="2"/>
<rect x="4" y="8" width="13" height="8" rx="1" fill="#424242"/>
<rect x="22" y="10" width="4" height="4" rx="1" fill="#424242"/>
</svg>
</div>
</div>
<!-- Header: Location and Call -->
<div class="header">
<div class="location-row">
<div class="store-info">
<div class="store-icon">
<!-- storefront icon -->
<svg viewBox="0 0 24 24" fill="none">
<path d="M3 7h18l-1.5-3H4.5L3 7Z" stroke="#2E2E2E" stroke-width="2"/>
<path d="M5 7v10h14V7" stroke="#2E2E2E" stroke-width="2"/>
<rect x="8" y="11" width="4" height="6" stroke="#2E2E2E" stroke-width="2"/>
</svg>
</div>
<div class="location-text">
<div class="city">Indore</div>
<div class="branch">
<span>Indore (Bhawarkua)</span>
<div class="chev"></div>
</div>
</div>
</div>
<div class="call-btn">
<svg viewBox="0 0 24 24">
<path d="M6 3c1 5 6 10 11 11l3-3-4-2-2 2c-2-1-4-3-5-5l2-2-2-4-3 3Z" fill="#2A6B33"></path>
</svg>
<span>CALL OUTLET</span>
</div>
</div>
</div>
<!-- Segmented control -->
<div class="segments">
<div class="segment active">DELIVERY</div>
<div class="segment inactive">PICK UP</div>
<div class="segment inactive">DINE-IN</div>
</div>
<!-- Cards Grid -->
<div class="grid">
<!-- Classic Pizza -->
<div class="card">
<div class="img-placeholder">[IMG: Classic Pizza]</div>
<div class="card-footer">
<div class="card-title">CLASSIC PIZZA</div>
<div class="card-sub">10 Varieties Available</div>
</div>
</div>
<!-- Sides -->
<div class="card">
<div class="img-placeholder">[IMG: Sides - Pasta & Wraps]</div>
<div class="card-footer">
<div class="card-title">SIDES</div>
<div class="card-sub">16 Varieties Available</div>
</div>
</div>
<!-- Pack of 4 -->
<div class="card">
<div class="img-placeholder">[IMG: Pack of 4 Pizzas]</div>
<div class="card-footer">
<div class="card-title">PACK OF 4</div>
<div class="card-sub">2 Varieties Available</div>
</div>
</div>
<!-- Beverages -->
<div class="card">
<div class="img-placeholder">[IMG: Beverages - Soda Cans]</div>
<div class="card-footer">
<div class="card-title">BEVERAGES</div>
<div class="card-sub">25 Varieties Available</div>
</div>
</div>
<!-- Desserts -->
<div class="card">
<div class="img-placeholder">[IMG: Chocolate Lava Cake]</div>
<div class="card-footer">
<div class="card-title">DESSERTS</div>
<div class="card-sub">1 Varieties Available</div>
</div>
</div>
<!-- spacer for grid alignment -->
<div style="height: 0;"></div>
</div>
<!-- Section heading -->
<div class="section-heading">OWN A STORE</div>
<!-- Bottom Navigation -->
<div class="bottom-nav">
<div class="nav-item active">
<div class="nav-icon">
<svg width="44" height="44" viewBox="0 0 24 24">
<path d="M12 3l9 8h-3v8H6v-8H3l9-8Z" fill="#2F7A3A"/>
</svg>
</div>
<div class="nav-label">Home</div>
</div>
<div class="nav-item">
<div class="nav-icon">
<svg width="44" height="44" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" stroke="#7A7A7A" stroke-width="2"/>
<path d="M12 7v6l4 2" stroke="#7A7A7A" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="nav-label">Offers</div>
</div>
<div class="nav-item">
<div class="nav-icon">
<svg width="44" height="44" viewBox="0 0 24 24">
<path d="M6 7h12l-2 12H8L6 7Z" stroke="#7A7A7A" stroke-width="2"/>
<circle cx="10" cy="19" r="1.5" fill="#7A7A7A"/>
<circle cx="16" cy="19" r="1.5" fill="#7A7A7A"/>
</svg>
</div>
<div class="nav-label">Cart</div>
</div>
<div class="nav-item">
<div class="nav-icon">
<svg width="44" height="44" viewBox="0 0 24 24">
<circle cx="12" cy="8" r="4" stroke="#7A7A7A" stroke-width="2"/>
<path d="M4 21c0-4 4-7 8-7s8 3 8 7" stroke="#7A7A7A" stroke-width="2"/>
</svg>
</div>
<div class="nav-label">Account</div>
</div>
</div>
<!-- Home indicator -->
<div class="home-indicator"></div>
</div>
</body>
</html>