AndroidCode / 25_1.html
yhzheng1031's picture
Upload folder using huggingface_hub
79228d9 verified
raw
history blame
7.66 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>UI Mock - Advertisement</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: Arial, Helvetica, sans-serif; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #f3f5f6;
}
/* Top system/status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 90px;
background: #000;
}
/* App header behind the ad */
.app-header {
position: absolute;
top: 90px;
left: 0;
width: 1080px;
height: 220px;
background: #eef0f2;
}
.header-content {
position: absolute;
left: 40px;
top: 40px;
width: 1000px;
height: 140px;
display: flex;
align-items: center;
gap: 26px;
}
.avatar {
position: relative;
width: 96px;
height: 96px;
border-radius: 50%;
background: #c9e4d7;
color: #31755c;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
font-size: 44px;
}
.avatar .dot {
position: absolute;
right: -2px;
top: -2px;
width: 26px;
height: 26px;
background: #e74c3c;
border-radius: 50%;
border: 3px solid #eef0f2;
}
.search-pill {
flex: 1;
height: 96px;
border: 2px solid #c7c7c7;
border-radius: 48px;
background: #fff;
display: flex;
align-items: center;
padding: 0 30px;
gap: 24px;
box-sizing: border-box;
}
.search-pill .pill-text {
flex: 1;
color: #333;
font-size: 38px;
}
.icon-btn {
width: 52px;
height: 52px;
border-radius: 26px;
background: #f2f2f2;
display: flex;
align-items: center;
justify-content: center;
border: 1px solid #d7d7d7;
}
.svg-icon { width: 36px; height: 36px; }
/* Small top banner ad */
.banner {
position: absolute;
top: 190px;
left: 90px;
width: 900px;
height: 140px;
background: #fff;
border-radius: 28px;
box-shadow: 0 8px 24px rgba(0,0,0,0.15);
display: flex;
align-items: center;
padding: 0 26px;
gap: 22px;
}
.banner .img {
width: 96px;
height: 96px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
border-radius: 20px;
display: flex;
align-items: center;
justify-content: center;
color: #757575;
font-size: 22px;
}
.banner .text-wrap {
flex: 1;
line-height: 1.2;
}
.banner .title {
font-size: 38px;
color: #111;
font-weight: 600;
}
.banner .subtitle {
font-size: 34px;
color: #4a4a4a;
}
.banner .arrow {
width: 44px;
height: 44px;
}
/* Main advertisement card */
.ad-card {
position: absolute;
top: 420px;
left: 40px;
width: 1000px;
height: 1730px;
background: #ffffff;
border-radius: 28px;
box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}
.ad-card .label {
text-align: center;
font-size: 36px;
color: #666;
padding-top: 26px;
}
.ad-card .content-row {
display: flex;
align-items: center;
gap: 40px;
padding: 80px 80px 40px 80px;
}
.app-icon {
width: 200px;
height: 200px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
border-radius: 28px;
display: flex;
align-items: center;
justify-content: center;
color: #757575;
font-size: 24px;
}
.ad-text {
flex: 1;
}
.ad-title {
font-size: 64px;
color: #222;
font-weight: 600;
margin-bottom: 18px;
}
.installed {
display: flex;
align-items: center;
gap: 16px;
}
.installed .check {
width: 42px;
height: 42px;
}
.installed .installed-text {
font-size: 36px;
color: #2f8a3b;
font-weight: 600;
}
/* Loading spinner */
.spinner-wrap {
width: 100%;
display: flex;
justify-content: center;
margin-top: 120px;
margin-bottom: 120px;
}
.spinner {
width: 120px;
height: 120px;
border: 10px solid #e5e5e5;
border-top-color: #bdbdbd;
border-radius: 50%;
animation: spin 1.2s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.ad-description {
width: 860px;
margin: 0 auto;
text-align: center;
color: #8a8a8a;
font-size: 36px;
line-height: 1.5;
}
.cta {
position: absolute;
bottom: 120px;
left: 90px;
width: 820px;
height: 120px;
background: #2f6f38;
border-radius: 18px;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 48px;
font-weight: 700;
letter-spacing: 1px;
}
.info {
position: absolute;
bottom: 34px;
left: 26px;
width: 42px;
height: 42px;
border-radius: 21px;
border: 1px solid #bfcad3;
color: #83a2c2;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
}
/* Bottom home indicator */
.home-indicator {
position: absolute;
bottom: 28px;
left: 50%;
transform: translateX(-50%);
width: 240px;
height: 12px;
background: #111;
border-radius: 8px;
opacity: 0.18;
}
</style>
</head>
<body>
<div id="render-target">
<div class="status-bar"></div>
<div class="app-header">
<div class="header-content">
<div class="avatar">C<div class="dot"></div></div>
<div class="search-pill">
<svg class="svg-icon" viewBox="0 0 24 24">
<circle cx="10" cy="10" r="7" stroke="#666" stroke-width="2" fill="none"></circle>
<line x1="15" y1="15" x2="22" y2="22" stroke="#666" stroke-width="2"></line>
</svg>
<div class="pill-text">Operation Mayfair (2023)</div>
<div class="icon-btn">
<svg class="svg-icon" viewBox="0 0 24 24">
<path d="M3 11h18M6 6h12M8 16h8" stroke="#555" stroke-width="2" fill="none" stroke-linecap="round"></path>
</svg>
</div>
<div class="icon-btn">
<svg class="svg-icon" viewBox="0 0 24 24">
<path d="M4 6h16M4 12h16M4 18h16" stroke="#555" stroke-width="2" fill="none" stroke-linecap="round"></path>
</svg>
</div>
</div>
</div>
</div>
<!-- Small banner ad -->
<div class="banner">
<div class="img">[IMG: TeraBox Icon]</div>
<div class="text-wrap">
<div class="title">Continue to app</div>
<div class="subtitle">TeraBox</div>
</div>
<svg class="arrow" viewBox="0 0 24 24">
<path d="M9 5l7 7-7 7" fill="none" stroke="#2d7cf3" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
<!-- Main advertisement card -->
<div class="ad-card">
<div class="label">Advertisement</div>
<div class="content-row">
<div class="app-icon">[IMG: EatSure App Icon]</div>
<div class="ad-text">
<div class="ad-title">EatSure: Food Delivery</div>
<div class="installed">
<svg class="check" viewBox="0 0 24 24">
<path d="M20 6l-11 11-5-5" fill="none" stroke="#2f8a3b" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
<div class="installed-text">Installed</div>
</div>
</div>
</div>
<div class="spinner-wrap">
<div class="spinner"></div>
</div>
<div class="ad-description">
Get Exclusive Deals on Eatsure<br>
Order your favourite food and get free Dishes, free Delivery, flat 40% off* &amp; much more!
</div>
<div class="cta">Open</div>
<div class="info">i</div>
</div>
<div class="home-indicator"></div>
</div>
</body>
</html>