AndroidCode / code /10176 /10176_1.html
yhzheng1031's picture
Add files using upload-large-folder tool
67530d2 verified
raw
history blame
11.7 kB
<html>
<head>
<meta charset="UTF-8">
<title>Duolingo Profile Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #0f1f25;
color: #e8f3f6;
font-family: "Segoe UI", Arial, sans-serif;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 96px;
padding: 0 36px;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: space-between;
color: #dfe8ec;
font-size: 34px;
letter-spacing: 0.5px;
}
.status-right {
display: flex;
align-items: center;
gap: 22px;
}
.dot { width: 10px; height: 10px; background:#cfe5ee; border-radius: 50%; display:inline-block; }
/* Header / avatar area */
.header-area {
position: absolute;
top: 96px;
left: 0;
width: 1080px;
height: 520px;
background: #172b31;
}
.gear {
position: absolute;
top: 70px;
right: 64px;
width: 64px;
height: 64px;
opacity: 0.95;
}
.avatar-wrap {
position: absolute;
left: 50%;
top: 40px;
transform: translateX(-50%);
width: 420px;
height: 420px;
border-radius: 220px;
border: 4px dashed #5f8692;
background: #2b4b56;
display: flex;
align-items: center;
justify-content: center;
color: #b8d1da;
box-shadow: inset 0 0 0 6px rgba(255,255,255,0.02);
}
.avatar-wrap span {
font-size: 28px;
opacity: 0.9;
}
/* Profile text section */
.content {
position: absolute;
top: 616px;
left: 0;
width: 100%;
padding: 0 48px;
box-sizing: border-box;
}
.name {
font-size: 62px;
font-weight: 800;
margin: 0 0 8px 0;
color: #f2fbff;
}
.sub {
font-size: 34px;
color: #b4c7cd;
margin: 8px 0;
}
.flag-row {
position: absolute;
right: 48px;
top: -14px;
display: flex;
gap: 18px;
}
.flag {
width: 90px;
height: 60px;
border-radius: 12px;
border: 2px solid #25424a;
overflow: hidden;
}
.flag.br { background:
radial-gradient(circle at 55% 55%, #0f4aa1 0 26px, transparent 27px) ,
linear-gradient(#009b3a,#009b3a);
background-size: 100% 100%;
position: relative;
}
.flag.br::after{ content:""; position:absolute; left:8px; right:8px; top:16px; bottom:16px;
transform: rotate(25deg);
background: #ffdf00; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
opacity: 0.9;
}
.flag.fr { background: linear-gradient(90deg,#2552ff 0 33%,#ffffff 33% 66%,#ff4b4b 66%); }
.follow-row {
display: flex;
gap: 54px;
margin: 20px 0 28px 0;
font-size: 36px;
color: #cfe0e6;
}
/* Add friends */
.friends-row {
display: flex;
align-items: stretch;
gap: 22px;
margin-top: 12px;
}
.btn-add {
flex: 1;
background: #14262b;
border: 1px solid #29414a;
height: 130px;
border-radius: 28px;
display: flex;
align-items: center;
padding: 0 36px;
box-sizing: border-box;
gap: 22px;
}
.btn-add .label {
font-size: 42px;
letter-spacing: 1px;
color: #9ec9da;
font-weight: 800;
}
.share-btn {
width: 140px;
background: #14262b;
border: 1px solid #29414a;
border-radius: 28px;
display: flex;
align-items: center;
justify-content: center;
}
.divider {
width: 100%;
height: 1px;
background:#24373f;
margin: 36px 0 18px 0;
}
.section-title {
font-size: 54px;
font-weight: 800;
margin: 18px 0 24px 0;
}
/* Stats grid */
.stats-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 26px;
}
.stat-card {
background: #132227;
border: 1px solid #29424a;
height: 180px;
border-radius: 28px;
padding: 26px;
box-sizing: border-box;
display: flex;
align-items: center;
gap: 28px;
}
.stat-value {
font-size: 54px;
font-weight: 800;
margin-bottom: 4px;
}
.stat-label {
font-size: 32px;
color: #a8bec6;
}
/* Friend finder card */
.finder-card {
margin-top: 28px;
background: #132a31;
border: 1px solid #29414a;
border-radius: 28px;
padding: 26px;
display: flex;
gap: 26px;
align-items: center;
}
.book-img {
width: 160px;
height: 160px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
border-radius: 16px;
color: #757575;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
font-size: 26px;
line-height: 1.1;
}
.finder-card h3 {
margin: 0 0 6px 0;
font-size: 46px;
}
.finder-card p {
margin: 0;
color: #b4c7cd;
font-size: 32px;
}
/* Bottom tab bar */
.tabbar {
position: absolute;
bottom: 0;
left: 0;
width: 1080px;
height: 150px;
background: #0c1a1f;
border-top: 1px solid #20343b;
display: flex;
align-items: center;
justify-content: space-around;
padding-bottom: 6px;
box-sizing: border-box;
}
.tab {
width: 120px;
height: 120px;
border-radius: 26px;
display: flex;
align-items: center;
justify-content: center;
}
.tab.active {
background: rgba(67,141,169,0.25);
border: 1px solid #2d4b55;
}
/* Simple icon styling */
svg { display: block; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>5:50</div>
<div class="status-right">
<!-- Simple placeholders for status icons -->
<span class="dot"></span>
<span class="dot" style="width:14px;height:14px;"></span>
<span class="dot"></span>
<div style="display:flex;align-items:center;gap:6px;">
<svg width="30" height="18" viewBox="0 0 30 18"><rect x="1" y="4" width="22" height="12" rx="3" fill="none" stroke="#dfe8ec" stroke-width="2"></rect><rect x="25" y="7" width="4" height="6" rx="1" fill="#dfe8ec"></rect></svg>
<div>96%</div>
</div>
</div>
</div>
<!-- Header / avatar area -->
<div class="header-area">
<!-- Settings gear -->
<svg class="gear" viewBox="0 0 24 24" fill="none" stroke="#e6f3f6" stroke-width="2">
<circle cx="12" cy="12" r="3"></circle>
<path d="M19.4 15a1 1 0 0 0 .2 1.1l.1.2a1 1 0 0 1-1.2 1.6l-.2-.1a1 1 0 0 0-1.2.2l-.6.6a1 1 0 0 1-1.6-1.2l.1-.2a1 1 0 0 0-.2-1.2l-.4-.2a1 1 0 0 0-1.1 0l-.4.2a1 1 0 0 0-.2 1.2l.1.2a1 1 0 0 1-1.6 1.2l-.6-.6a1 1 0 0 0-1.2-.2l-.2.1a1 1 0 0 1-1.2-1.6l.1-.2a1 1 0 0 0 .2-1.1l-.2-.4a1 1 0 0 0-1.2-.5l-.2.1A1 1 0 0 1 3 12l.2-.2a1 1 0 0 0 .5-1.2l-.2-.4a1 1 0 0 0-1.1-.2l-.2.1A1 1 0 1 1 1 7.9l.2-.1a1 1 0 0 0 1.2-.2l.6-.6A1 1 0 0 1 4.6 9l-.1.2a1 1 0 0 0 .2 1.2l.4.2a1 1 0 0 0 1.1 0l.4-.2a1 1 0 0 0 .2-1.2l-.1-.2A1 1 0 0 1 8.3 7l.6.6a1 1 0 0 0 1.2.2l.2-.1A1 1 0 1 1 12 10l-.2.1a1 1 0 0 0-.2 1.1l.2.4a1 1 0 0 0 1.2.5l.2-.1A1 1 0 0 1 16 13.7l-.2.2a1 1 0 0 0-.5 1.2l.2.4a1 1 0 0 0 1.1.2l.2-.1A1 1 0 0 1 19.4 15z"></path>
</svg>
<div class="avatar-wrap">
<span>[IMG: Silhouette Avatar]</span>
</div>
</div>
<!-- Content -->
<div class="content">
<div class="flag-row">
<div class="flag br" title="Brazil"></div>
<div class="flag fr" title="France"></div>
</div>
<h1 class="name">Fabio Teixeira</h1>
<div class="sub">FabioTeixe5546</div>
<div class="sub">Joined October 2023</div>
<div class="follow-row">
<div>0 Following</div>
<div>0 Followers</div>
</div>
<div class="friends-row">
<div class="btn-add">
<svg width="60" height="60" viewBox="0 0 24 24" fill="none" stroke="#9ec9da" stroke-width="2">
<circle cx="9" cy="8" r="4"></circle>
<path d="M3 20c0-3.3 2.7-6 6-6"></path>
<path d="M16 11v4"></path>
<path d="M14 13h4"></path>
</svg>
<div class="label">ADD FRIENDS</div>
</div>
<div class="share-btn">
<svg width="54" height="54" viewBox="0 0 24 24" fill="none" stroke="#9ec9da" stroke-width="2">
<path d="M4 13v6a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-6"></path>
<path d="M12 3v12"></path>
<path d="M7 8l5-5 5 5"></path>
</svg>
</div>
</div>
<div class="divider"></div>
<div class="section-title">Statistics</div>
<div class="stats-grid">
<div class="stat-card">
<svg width="64" height="64" viewBox="0 0 24 24" fill="#ffb24c">
<path d="M13 3s-1 2-1 3.5S14 9 14 11s-1.5 4-5 4c-2.2 0-4-1.8-4-4 0-2.7 2-4 2-4s-.1 1.7 1 2c.7.2 2-3 5-6z"></path>
<path d="M9 21c3.5 0 6-2.2 6-5 0-2-1.6-3.1-1.6-3.1-.2 2.6-2.1 3.8-4.4 3.8-1.1 0-1.9-.3-2.6-.8C6.5 18.5 7.4 21 9 21z" fill="#ffcc66"></path>
</svg>
<div>
<div class="stat-value">2</div>
<div class="stat-label">Day streak</div>
</div>
</div>
<div class="stat-card">
<svg width="64" height="64" viewBox="0 0 24 24" fill="#ffe04a">
<path d="M13 2L3 14h7l-1 8 10-12h-7l1-8z"></path>
</svg>
<div>
<div class="stat-value">50</div>
<div class="stat-label">Total XP</div>
</div>
</div>
<div class="stat-card">
<svg width="64" height="64" viewBox="0 0 24 24" fill="none" stroke="#9ec9da" stroke-width="2">
<path d="M12 2l7 4v6c0 5-3.5 8.5-7 10-3.5-1.5-7-5-7-10V6l7-4z"></path>
</svg>
<div>
<div class="stat-value" style="font-size:46px">No Current</div>
<div class="stat-label">Current league</div>
</div>
</div>
<div class="stat-card">
<svg width="64" height="64" viewBox="0 0 24 24" fill="none" stroke="#9ec9da" stroke-width="2">
<circle cx="12" cy="8" r="4"></circle>
<path d="M6 22l6-3 6 3-2-7 5-4h-6l-3-6-3 6H3l5 4-2 7z"></path>
</svg>
<div>
<div class="stat-value">0</div>
<div class="stat-label">Top 3 finishes</div>
</div>
</div>
</div>
<div class="finder-card">
<div class="book-img">[IMG: Contact Book]</div>
<div>
<h3>Find friends on Duolingo</h3>
<p>Sync your contacts to easily find people you know on Duolingo.</p>
</div>
</div>
</div>
<!-- Bottom tab bar -->
<div class="tabbar">
<div class="tab">
<svg width="72" height="72" viewBox="0 0 24 24" fill="none" stroke="#f1f7f9" stroke-width="2">
<path d="M3 11l9-8 9 8v9a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-5H9v5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-9z"></path>
</svg>
</div>
<div class="tab">
<svg width="72" height="72" viewBox="0 0 24 24" fill="none" stroke="#dfe8ec" stroke-width="2">
<path d="M12 2l8 4v6c0 5-3.5 8.5-8 10-4.5-1.5-8-5-8-10V6l8-4z"></path>
</svg>
</div>
<div class="tab active">
<svg width="72" height="72" viewBox="0 0 24 24" fill="none" stroke="#9ec9da" stroke-width="2">
<circle cx="12" cy="8" r="4"></circle>
<path d="M4 22c0-4.4 3.6-8 8-8s8 3.6 8 8"></path>
</svg>
</div>
<div class="tab">
<svg width="72" height="72" viewBox="0 0 24 24" fill="none" stroke="#f1f7f9" stroke-width="2">
<rect x="4" y="4" width="16" height="12" rx="2"></rect>
<path d="M8 16v4l4-2 4 2v-4"></path>
</svg>
</div>
<div class="tab">
<svg width="72" height="72" viewBox="0 0 24 24" fill="none" stroke="#f1f7f9" stroke-width="2">
<path d="M10 21a2 2 0 1 0 4 0"></path>
<path d="M18 8a6 6 0 1 0-12 0c0 3-1 4-1 6a7 7 0 0 0 14 0c0-2-1-3-1-6z"></path>
</svg>
</div>
</div>
</div>
</body>
</html>