AndroidCode / code /10176 /10176_5.html
yhzheng1031's picture
Add files using upload-large-folder tool
5501681 verified
raw
history blame
12.8 kB
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Profile UI - Duolingo Style</title>
<style>
body {
margin: 0;
padding: 0;
background: transparent;
font-family: "Inter", Arial, Helvetica, sans-serif;
color: #E9F0F6;
}
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #0f1e24; /* deep app background */
}
/* Status bar */
.status-bar {
position: absolute;
top: 16px;
left: 30px;
right: 30px;
height: 60px;
display: flex;
align-items: center;
justify-content: space-between;
color: #D7E6EF;
font-weight: 600;
letter-spacing: 0.5px;
}
.status-icons {
display: flex;
align-items: center;
gap: 22px;
}
.icon-circle {
width: 26px;
height: 26px;
border-radius: 50%;
border: 2px solid #CFE3EF;
opacity: 0.9;
}
.wifi {
width: 26px;
height: 18px;
position: relative;
}
.wifi::before, .wifi::after {
content: "";
position: absolute;
left: 0;
right: 0;
margin: auto;
border: 2px solid #D7E6EF;
border-top-left-radius: 20px;
border-top-right-radius: 20px;
}
.wifi::before {
top: 0;
width: 22px;
height: 12px;
border-bottom: none;
}
.wifi::after {
top: 6px;
width: 12px;
height: 6px;
border-bottom: none;
}
.battery {
width: 42px;
height: 20px;
border: 2px solid #D7E6EF;
border-radius: 4px;
position: relative;
}
.battery::after {
content: "";
position: absolute;
right: -6px;
top: 6px;
width: 6px;
height: 8px;
background: #D7E6EF;
border-radius: 2px;
}
.battery-level {
position: absolute;
left: 3px;
top: 3px;
height: 12px;
width: 28px;
background: #93D976;
border-radius: 2px;
}
/* Header / hero area */
.hero {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 660px;
background: linear-gradient(180deg, #14242A 0%, #132027 100%);
}
.gear {
position: absolute;
right: 48px;
top: 120px;
font-size: 54px;
color: #D9E7EF;
opacity: 0.9;
}
.avatar-silhouette {
position: absolute;
top: 170px;
left: 50%;
transform: translateX(-50%);
width: 520px;
height: 520px;
border-radius: 46%;
border: 8px dashed #6FB6D6;
background: #3E6F8B;
box-shadow: inset 0 0 0 14px rgba(54, 98, 120, 0.35);
}
.avatar-silhouette::before,
.avatar-silhouette::after {
content: "";
position: absolute;
background: #203D4A;
}
.avatar-silhouette::before {
width: 20px;
height: 120px;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
border-radius: 10px;
}
.avatar-silhouette::after {
width: 120px;
height: 20px;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
border-radius: 10px;
}
/* Content section */
.content {
position: absolute;
top: 660px;
left: 0;
right: 0;
bottom: 0;
padding: 0 40px 160px 40px;
}
.name-row {
display: flex;
align-items: center;
gap: 18px;
margin-bottom: 16px;
}
.name-row .name {
font-size: 64px;
font-weight: 800;
color: #DDEAF2;
}
.flags {
display: flex;
gap: 16px;
}
.flag {
width: 72px;
height: 48px;
border-radius: 10px;
border: 2px solid rgba(255,255,255,0.15);
display: flex;
align-items: center;
justify-content: center;
font-size: 26px;
font-weight: 700;
color: #ffffff;
}
.flag.br {
background: linear-gradient(180deg, #3AA64B 0%, #2F8D3F 100%);
}
.flag.fr {
background: linear-gradient(90deg, #2E5CE6 0%, #FFFFFF 50%, #E23B3B 100%);
}
.subline {
color: #9FB3C1;
font-size: 32px;
margin-top: 6px;
}
.follow-row {
display: flex;
gap: 44px;
margin: 34px 0 24px 0;
color: #9FB3C1;
font-size: 36px;
letter-spacing: 0.4px;
}
.follow-row .count {
color: #66B7FF;
font-weight: 800;
margin-right: 6px;
}
/* Add friends block */
.action-row {
display: flex;
align-items: center;
gap: 22px;
margin: 14px 0 36px;
}
.add-btn {
flex: 1;
background: #15242B;
border: 2px solid rgba(255,255,255,0.12);
color: #BDE1FF;
font-size: 40px;
font-weight: 700;
border-radius: 26px;
height: 120px;
display: flex;
align-items: center;
gap: 22px;
padding: 0 34px;
}
.add-icon {
width: 54px;
height: 54px;
border-radius: 50%;
background: #1E3340;
border: 2px solid #6BB5D5;
position: relative;
}
.add-icon::before, .add-icon::after {
content: "";
position: absolute;
background: #6BB5D5;
}
.add-icon::before {
width: 6px;
height: 34px;
left: 50%;
top: 50%;
transform: translate(-50%,-50%);
border-radius: 3px;
}
.add-icon::after {
width: 34px;
height: 6px;
left: 50%;
top: 50%;
transform: translate(-50%,-50%);
border-radius: 3px;
}
.share-box {
width: 140px;
height: 120px;
background: #15242B;
border: 2px solid rgba(255,255,255,0.12);
border-radius: 26px;
display: flex;
align-items: center;
justify-content: center;
}
.share-box svg {
width: 60px;
height: 60px;
stroke: #7FC2E8;
fill: none;
stroke-width: 6;
}
/* Section title */
.section-title {
font-size: 52px;
font-weight: 800;
margin: 24px 0 20px;
color: #DDEAF2;
}
/* Statistic cards */
.stats-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 22px;
}
.stat-card {
background: #111E24;
border: 2px solid rgba(255,255,255,0.10);
border-radius: 28px;
height: 170px;
padding: 26px;
display: flex;
align-items: center;
gap: 24px;
}
.stat-icon {
width: 70px;
height: 70px;
border-radius: 18px;
background: #142A33;
display: flex;
align-items: center;
justify-content: center;
}
.stat-icon svg {
width: 44px;
height: 44px;
fill: #FFB24A;
}
.stat-icon .bolt {
fill: #FFD44A;
}
.stat-text {
display: flex;
flex-direction: column;
}
.stat-value {
font-size: 46px;
font-weight: 800;
color: #EAF7FF;
line-height: 1.1;
}
.stat-label {
font-size: 30px;
color: #93A9B6;
margin-top: 6px;
}
/* Find friends card */
.friends-card {
margin-top: 28px;
background: #0F1A21;
border-radius: 28px;
border: 2px solid rgba(255,255,255,0.10);
padding: 26px;
display: flex;
gap: 26px;
align-items: center;
}
.img-placeholder {
width: 180px;
height: 180px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
border-radius: 18px;
display: flex;
align-items: center;
justify-content: center;
color: #757575;
font-weight: 700;
text-align: center;
padding: 12px;
}
.friends-text {
flex: 1;
}
.friends-title {
font-size: 46px;
font-weight: 800;
margin-bottom: 10px;
color: #EAF7FF;
}
.friends-desc {
font-size: 34px;
color: #99ACBA;
line-height: 1.35;
}
/* Bottom navigation */
.bottom-nav {
position: absolute;
bottom: 80px;
left: 0;
width: 100%;
height: 140px;
background: rgba(17, 30, 36, 0.95);
border-top-left-radius: 26px;
border-top-right-radius: 26px;
display: flex;
justify-content: space-around;
align-items: center;
padding: 0 60px;
}
.nav-item {
width: 92px;
height: 92px;
border-radius: 22px;
background: #15242B;
border: 2px solid rgba(255,255,255,0.10);
display: flex;
align-items: center;
justify-content: center;
}
.nav-item.active {
border-color: #7FC2E8;
box-shadow: 0 0 0 6px rgba(127,194,232,0.15) inset;
}
.nav-item svg {
width: 50px;
height: 50px;
fill: #EAD66B;
}
.nav-item .shield { fill: #D7B57C; }
.nav-item .user { fill: #A0C1FF; }
.nav-item .chest { fill: #E8B85A; }
.nav-item .bell { fill: #F2C04A; }
/* gesture bar */
.gesture {
position: absolute;
bottom: 20px;
left: 50%;
width: 320px;
height: 16px;
transform: translateX(-50%);
background: #EAEFF2;
border-radius: 8px;
opacity: 0.75;
}
</style>
</head>
<body>
<div id="render-target">
<div class="hero">
<div class="status-bar">
<div class="time">5:54</div>
<div class="status-icons">
<div class="icon-circle"></div>
<div class="icon-circle"></div>
<div class="icon-circle"></div>
<div class="wifi"></div>
<div class="battery"><div class="battery-level"></div></div>
</div>
</div>
<div class="gear"></div>
<div class="avatar-silhouette"></div>
</div>
<div class="content">
<div class="name-row">
<div class="name">Fabio Teixeira</div>
<div class="flags">
<div class="flag br">BR</div>
<div class="flag fr">FR</div>
</div>
</div>
<div class="subline">FabioTeixe5546</div>
<div class="subline">Joined October 2023</div>
<div class="follow-row">
<div><span class="count">0</span>Following</div>
<div><span class="count">0</span>Followers</div>
</div>
<div class="action-row">
<div class="add-btn">
<div class="add-icon"></div>
ADD FRIENDS
</div>
<div class="share-box" title="Share Profile">
<svg viewBox="0 0 24 24">
<path d="M12 4v9"></path>
<path d="M8 8l4-4 4 4"></path>
<rect x="5" y="13" width="14" height="8" rx="3" ry="3" stroke-linejoin="round"></rect>
</svg>
</div>
</div>
<div class="section-title">Statistics</div>
<div class="stats-grid">
<div class="stat-card">
<div class="stat-icon">
<svg viewBox="0 0 24 24">
<path d="M12 2c3 4-1 6-1 9s3 4 3 7c0 3-3 4-6 3-4-1-5-5-3-8 2-4 6-7 7-11z"></path>
</svg>
</div>
<div class="stat-text">
<div class="stat-value">2</div>
<div class="stat-label">Day streak</div>
</div>
</div>
<div class="stat-card">
<div class="stat-icon">
<svg viewBox="0 0 24 24">
<path class="bolt" d="M13 2L6 13h6l-1 9 7-12h-6l1-8z"></path>
</svg>
</div>
<div class="stat-text">
<div class="stat-value">50</div>
<div class="stat-label">Total XP</div>
</div>
</div>
<div class="stat-card">
<div class="stat-icon">
<svg viewBox="0 0 24 24">
<path fill="#87B3E8" d="M12 2l6 3v5c0 5-2.5 8-6 12-3.5-4-6-7-6-12V5l6-3z"></path>
</svg>
</div>
<div class="stat-text">
<div class="stat-value" style="font-size:40px;">No Current</div>
<div class="stat-label">Current league</div>
</div>
</div>
<div class="stat-card">
<div class="stat-icon">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="8" r="4" fill="#A6D1FF"></circle>
<path d="M6 20c0-3 3-6 6-6s6 3 6 6H6z" fill="#A6D1FF"></path>
</svg>
</div>
<div class="stat-text">
<div class="stat-value">0</div>
<div class="stat-label">Top 3 finishes</div>
</div>
</div>
</div>
<div class="friends-card">
<div class="img-placeholder">[IMG: Address book / contacts]</div>
<div class="friends-text">
<div class="friends-title">Find friends on Duolingo</div>
<div class="friends-desc">
Sync your contacts to easily find people you know on Duolingo.
</div>
</div>
</div>
</div>
<div class="bottom-nav">
<div class="nav-item">
<svg viewBox="0 0 24 24">
<path d="M12 3l9 8h-3v9H6v-9H3l9-8z"></path>
</svg>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24">
<path class="shield" d="M12 2l8 4v6c0 6-5 9-8 10-3-1-8-4-8-10V6l8-4z"></path>
</svg>
</div>
<div class="nav-item active">
<svg viewBox="0 0 24 24">
<circle class="user" cx="12" cy="8" r="5"></circle>
<path class="user" d="M4 22c0-5 4-8 8-8s8 3 8 8H4z"></path>
</svg>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24">
<path class="chest" d="M3 9h18v10H3z"></path>
<path class="chest" d="M3 9l3-4h12l3 4z"></path>
</svg>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24">
<path class="bell" d="M12 3c-3 0-5 2-5 5v4l-2 3h14l-2-3V8c0-3-2-5-5-5z"></path>
<circle cx="12" cy="21" r="2" fill="#F2C04A"></circle>
</svg>
</div>
</div>
<div class="gesture"></div>
</div>
</body>
</html>