AndroidCode / code /10129 /10129_2.html
yhzheng1031's picture
Add files using upload-large-folder tool
c32f9a6 verified
raw
history blame
10.3 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Honolulu UI</title>
<meta name="viewport" content="width=1080, initial-scale=1.0">
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px; height: 2400px;
position: relative; overflow: hidden;
background: #ffffff; color: #111;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
}
/* Status bar */
.status-bar {
height: 90px;
padding: 0 40px;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 34px;
color: #1a1a1a;
}
.sb-left { display: flex; align-items: center; gap: 20px; }
.sb-center { display: flex; align-items: center; gap: 18px; }
.dot { width: 18px; height: 18px; border-radius: 50%; background: #6B6B6B; opacity: 0.6; }
.sb-right { display: flex; align-items: center; gap: 24px; }
.icon { display: inline-block; }
.icon svg { width: 40px; height: 40px; }
/* Header with title and search */
.header {
height: 110px;
padding: 0 40px;
display: flex;
align-items: center;
justify-content: space-between;
}
.header .title {
font-size: 46px;
font-weight: 600;
letter-spacing: 0.3px;
}
.icon-btn { width: 60px; height: 60px; border: none; background: transparent; padding: 0; cursor: default; }
/* Tabs */
.tabs {
display: flex;
gap: 44px;
padding: 20px 40px 24px 40px;
border-bottom: 1px solid #eee;
font-size: 40px;
white-space: nowrap;
}
.tab { color: #555; }
.tab.active { color: #000; font-weight: 700; position: relative; }
.tab.active::after {
content: "";
position: absolute; left: 0; bottom: -26px;
width: 120px; height: 6px; background: #000; border-radius: 3px;
}
/* Hero image */
.hero {
position: relative;
width: 100%;
height: 540px;
overflow: hidden;
}
.img-ph {
width: 100%; height: 100%;
background: #E0E0E0;
border-top: 1px solid #BDBDBD;
border-bottom: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center;
color: #757575; font-size: 36px;
}
.photo-count {
position: absolute; right: 40px; bottom: 26px;
background: #000; color: #fff;
padding: 14px 22px; border-radius: 24px;
font-size: 34px; font-weight: 700;
}
/* Content section */
.content {
padding: 50px 44px 0 44px;
}
.big-title {
font-size: 96px; font-weight: 800; margin: 10px 0 40px 0;
}
.section-title {
font-size: 46px; font-weight: 700; margin: 0 0 22px 0;
}
.para {
font-size: 36px; line-height: 52px; color: #333; margin-bottom: 30px;
}
.read-more {
font-size: 36px; color: #333; text-decoration: underline; display: inline-flex; align-items: center; gap: 10px;
}
.read-more svg { width: 30px; height: 30px; }
/* View map button */
.map-btn {
margin: 40px 0 60px 0;
width: 640px; height: 120px;
background: #000; color: #fff;
border-radius: 60px;
display: flex; align-items: center; justify-content: center; gap: 18px;
font-size: 40px; font-weight: 700;
}
.map-btn .pin svg { width: 44px; height: 44px; }
/* What to do */
.row-between { display: flex; align-items: center; justify-content: space-between; }
.see-all { font-size: 36px; color: #333; text-decoration: underline; }
.subtext { font-size: 36px; line-height: 52px; color: #5a5a5a; margin-top: 10px; }
/* Cards slider mock */
.card-strip {
margin-top: 30px;
display: flex; gap: 24px;
padding: 0 44px 0 0;
overflow: hidden;
}
.card {
width: 880px; height: 320px;
background: #E0E0E0; border: 1px solid #BDBDBD;
border-radius: 22px;
display: flex; align-items: center; justify-content: center;
color: #757575; font-size: 34px;
position: relative;
}
.card .active-bar {
position: absolute; top: 0; left: 50%;
transform: translateX(-50%);
width: 160px; height: 10px; background: #16c79a; border-bottom-left-radius: 8px; border-bottom-right-radius: 8px;
}
/* Bottom navigation */
.bottom-nav {
position: absolute; left: 0; bottom: 60px;
width: 100%; height: 160px;
background: #fff; border-top: 1px solid #e5e5e5;
display: flex; align-items: center; justify-content: space-around;
}
.nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #6d6d6d; }
.nav-item svg { width: 56px; height: 56px; }
.nav-item .label { font-size: 32px; }
.nav-item.active { color: #000; }
.active-indicator {
position: absolute; top: -8px; left: 50%;
transform: translateX(-50%);
width: 140px; height: 10px; background: #16c79a; border-radius: 6px;
}
/* Home indicator bar */
.home-indicator {
position: absolute; left: 50%; bottom: 18px;
transform: translateX(-50%);
width: 360px; height: 12px; background: #bfbfbf; border-radius: 8px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div class="sb-left">
<div>1:00</div>
<span class="dot"></span>
<span class="dot"></span>
<span class="dot"></span>
</div>
<div class="sb-center">
<span class="dot" style="opacity:0.3;"></span>
<span class="dot" style="opacity:0.3;"></span>
</div>
<div class="sb-right">
<span class="icon">
<!-- WiFi icon -->
<svg viewBox="0 0 48 48">
<path d="M4 16c10-8 30-8 40 0" stroke="#222" stroke-width="4" fill="none" stroke-linecap="round"/>
<path d="M10 22c7-6 21-6 28 0" stroke="#222" stroke-width="4" fill="none" stroke-linecap="round"/>
<path d="M20 30c4-3 8-3 12 0" stroke="#222" stroke-width="4" fill="none" stroke-linecap="round"/>
<circle cx="26" cy="36" r="3" fill="#222"/>
</svg>
</span>
<span class="icon">
<!-- Battery icon -->
<svg viewBox="0 0 60 48">
<rect x="4" y="12" width="44" height="24" rx="4" ry="4" stroke="#222" stroke-width="3" fill="none"/>
<rect x="8" y="16" width="36" height="16" rx="2" fill="#222"/>
<rect x="50" y="18" width="6" height="12" rx="2" fill="#222"/>
</svg>
</span>
</div>
</div>
<!-- Header -->
<div class="header">
<button class="icon-btn" aria-label="Back">
<svg viewBox="0 0 48 48">
<path d="M30 10 L14 24 L30 38" stroke="#111" stroke-width="4" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</button>
<div class="title">Honolulu</div>
<button class="icon-btn" aria-label="Search">
<svg viewBox="0 0 48 48">
<circle cx="20" cy="20" r="12" stroke="#111" stroke-width="4" fill="none"/>
<path d="M32 32 L44 44" stroke="#111" stroke-width="4" stroke-linecap="round"/>
</svg>
</button>
</div>
<!-- Tabs -->
<div class="tabs">
<div class="tab active">Overview</div>
<div class="tab">Hotels</div>
<div class="tab">Things to do</div>
<div class="tab">Restaurants</div>
</div>
<!-- Hero Image -->
<div class="hero">
<div class="img-ph">[IMG: Honolulu buildings with mountains and palm trees]</div>
<div class="photo-count">1/999+</div>
</div>
<!-- Content -->
<div class="content">
<div class="big-title">Honolulu</div>
<div class="section-title">About Honolulu</div>
<div class="para">
As the capital of Hawaii, Honolulu delivers on big-city vibes just steps from some of the best nature on the islands (in the world, really). S...
</div>
<div class="read-more">
Read more
<svg viewBox="0 0 24 24">
<path d="M6 9 L12 15 L18 9" stroke="#333" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="map-btn">
<span class="pin">
<svg viewBox="0 0 48 48">
<path d="M24 6c-7 0-12 5-12 12 0 9 12 24 12 24s12-15 12-24c0-7-5-12-12-12z" fill="#fff"/>
<circle cx="24" cy="18" r="5" fill="#000"/>
</svg>
</span>
<span>View map</span>
</div>
<div class="row-between">
<div class="section-title" style="margin:0;">What to do</div>
<div class="see-all">See all</div>
</div>
<div class="subtext">Iconic places and can’t-miss experiences that define the city</div>
<div class="card-strip">
<div class="card">
<div class="active-bar"></div>
[IMG: Activity card - Beach and surf]
</div>
<div class="card">[IMG: Activity card - City tour]</div>
</div>
</div>
<!-- Bottom Navigation -->
<div class="bottom-nav">
<div class="nav-item">
<svg viewBox="0 0 48 48">
<path d="M6 24 L24 10 L42 24 V42 H6 Z" fill="none" stroke="#6d6d6d" stroke-width="3" stroke-linejoin="round"/>
</svg>
<div class="label">Explore</div>
</div>
<div class="nav-item">
<svg viewBox="0 0 48 48">
<circle cx="20" cy="20" r="12" stroke="#6d6d6d" stroke-width="3" fill="none"/>
<path d="M30 30 L44 44" stroke="#6d6d6d" stroke-width="3" stroke-linecap="round"/>
</svg>
<div class="label">Search</div>
</div>
<div class="nav-item active" style="position: relative;">
<div class="active-indicator"></div>
<svg viewBox="0 0 48 48">
<path d="M24 40 L10 26 C6 22 8 14 16 14 C20 14 22 16 24 18 C26 16 28 14 32 14 C40 14 42 22 38 26 L24 40 Z"
fill="#000"/>
</svg>
<div class="label">Plan</div>
</div>
<div class="nav-item">
<svg viewBox="0 0 48 48">
<path d="M10 38 L32 10 L40 18 L18 40 L10 38 Z" fill="none" stroke="#6d6d6d" stroke-width="3" stroke-linejoin="round"/>
<path d="M26 14 L34 22" stroke="#6d6d6d" stroke-width="3"/>
</svg>
<div class="label">Review</div>
</div>
<div class="nav-item">
<svg viewBox="0 0 48 48">
<circle cx="24" cy="16" r="8" fill="none" stroke="#6d6d6d" stroke-width="3"/>
<path d="M8 42c0-8 8-12 16-12s16 4 16 12" fill="none" stroke="#6d6d6d" stroke-width="3"/>
</svg>
<div class="label">Account</div>
</div>
</div>
<div class="home-indicator"></div>
</div>
</body>
</html>