Raw shipped HTML
Exact bytes returned by /api/v1/views/profile-sidebar-v1/1.0.0 8,746 bytes <mf-view>
<style>mf-profile-sidebar-v1 {
mf-profile {
display: block;
background: #ffffff;
border: 1px solid #e5e7eb;
border-radius: 10px;
overflow: hidden;
box-sizing: border-box;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
font-size: 14px;
color: #111827;
max-width: 720px;
}
mf-profile *, mf-profile *::before, mf-profile *::after { box-sizing: border-box; }
mf-profile-banner {
display: block;
width: 100%;
height: 180px;
background-color: #e5e7eb;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
mf-profile-header {
position: relative;
padding: 0 20px;
margin-top: -48px;
display: flex;
align-items: flex-end;
gap: 16px;
}
mf-profile-avatar-wrap {
position: relative;
flex: 0 0 96px;
width: 96px;
height: 96px;
display: block;
}
mf-profile-avatar {
display: block;
width: 96px;
height: 96px;
border-radius: 50%;
border: 4px solid #ffffff;
background-color: #d1d5db;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
mf-profile-status {
display: none;
position: absolute;
right: 2px;
bottom: 2px;
width: 10px;
height: 10px;
border-radius: 50%;
border: 2px solid #ffffff;
background: #9ca3af;
}
mf-profile-status[data-status="online"] { background: #10b981; }
mf-profile-status[data-status="offline"] { background: #9ca3af; }
mf-profile-status[data-status="away"] { background: #f59e0b; }
mf-profile-status[data-status="busy"] { background: #ef4444; }
mf-profile-identity {
flex: 1 1 auto;
min-width: 0;
padding-bottom: 12px;
display: block;
}
mf-profile-name {
display: block;
margin: 0;
font-size: 1.25em;
font-weight: 700;
line-height: 1.2;
color: #111827;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
mf-profile-handle {
display: block;
margin: 2px 0 0;
font-size: 0.95em;
color: #6b7280;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
mf-profile-role {
display: none;
margin: 2px 0 0;
font-size: 0.9em;
color: #6b7280;
}
mf-profile-body { display: block; padding: 12px 20px 20px; }
mf-profile-bio {
display: block;
margin: 0 0 12px;
font-size: 1em;
line-height: 1.5;
color: #111827;
white-space: pre-wrap;
}
mf-profile-meta {
display: flex;
flex-wrap: wrap;
gap: 12px 16px;
margin-bottom: 14px;
font-size: 0.9em;
color: #6b7280;
}
mf-profile-meta > * {
display: inline-flex;
align-items: center;
gap: 4px;
}
mf-profile-location::before { content: "📍 "; }
mf-profile-joined::before { content: "Joined "; }
mf-profile-stats {
display: flex;
gap: 20px;
padding: 12px 0;
border-top: 1px solid #e5e7eb;
border-bottom: 1px solid #e5e7eb;
margin: 0 0 14px;
}
mf-profile-stat {
display: flex;
flex-direction: column;
gap: 2px;
position: relative;
}
mf-profile-stat::after {
font-size: 0.85em;
color: #6b7280;
}
mf-profile-stat:nth-child(1)::after { content: "Posts"; order: 2; }
mf-profile-stat:nth-child(2)::after { content: "Followers"; order: 2; }
mf-profile-stat:nth-child(3)::after { content: "Following"; order: 2; }
mf-profile-post-count,
mf-profile-follower-count,
mf-profile-following-count {
display: block;
order: 1;
font-size: 1.1em;
font-weight: 700;
color: #111827;
font-variant-numeric: tabular-nums;
}
mf-profile-post-delta,
mf-profile-follower-delta,
mf-profile-following-delta {
display: none;
order: 3;
font-size: 0.8em;
font-weight: 600;
}
mf-profile-post-delta[data-dir="up"],
mf-profile-follower-delta[data-dir="up"],
mf-profile-following-delta[data-dir="up"] { color: #059669; }
mf-profile-post-delta[data-dir="down"],
mf-profile-follower-delta[data-dir="down"],
mf-profile-following-delta[data-dir="down"] { color: #dc2626; }
mf-profile-badges {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin-bottom: 14px;
}
mf-profile-badge {
display: inline-block;
padding: 3px 10px;
border-radius: 999px;
font-size: 0.8em;
font-weight: 600;
background: #ffffff;
border: 1px solid #e5e7eb;
color: #6b7280;
}
mf-profile-links {
display: flex;
flex-wrap: wrap;
gap: 8px 12px;
margin: 0 0 14px;
list-style: none;
padding: 0;
}
mf-profile-link {
display: inline-block;
color: #2563eb;
text-decoration: none;
font-size: 0.95em;
}
mf-profile-activity-title {
display: block;
margin: 0 0 8px;
font-size: 0.85em;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.04em;
color: #6b7280;
}
mf-profile-activity {
display: flex;
flex-direction: column;
gap: 8px;
list-style: none;
padding: 0;
margin: 0;
}
mf-activity-item {
display: flex;
flex-direction: column;
gap: 2px;
padding: 10px 12px;
background: #ffffff;
border: 1px solid #e5e7eb;
border-radius: 6px;
}
mf-activity-summary {
display: block;
color: #111827;
text-decoration: none;
font-weight: 500;
}
mf-activity-timestamp {
display: block;
font-size: 0.8em;
color: #6b7280;
}
/* empty-state discipline — anything the CSOM didn't bind collapses cleanly */
mf-profile-bio:empty,
mf-profile-location:empty,
mf-profile-joined:empty,
mf-profile-name:empty,
mf-profile-handle:empty,
mf-profile-role:empty,
mf-profile-badge:empty,
mf-profile-link:empty,
mf-activity-summary:empty,
mf-activity-timestamp:empty {
display: none;
}
mf-activity-item:has(> mf-activity-summary:empty):has(> mf-activity-timestamp:empty) {
display: none;
}
mf-profile-meta:has(> mf-profile-location:empty):has(> mf-profile-joined:empty) {
display: none;
}
mf-profile {
display: grid;
grid-template-columns: 260px 1fr;
grid-template-areas: "banner banner" "header body";
}
mf-profile-banner { grid-area: banner; height: 100px; }
mf-profile-header {
grid-area: header;
flex-direction: column;
align-items: center;
text-align: center;
margin-top: 0;
padding: 20px 20px;
border-right: 1px solid #e5e7eb;
gap: 10px;
}
mf-profile-identity {
text-align: center;
padding-bottom: 0;
width: 100%;
}
mf-profile-name { white-space: normal; }
mf-profile-body {
grid-area: body;
padding: 20px 24px 24px;
}
@media (max-width: 640px) {
mf-profile {
grid-template-columns: 1fr;
grid-template-areas: "banner" "header" "body";
}
mf-profile-header { border-right: 0; }
}
}</style>
<mf-profile-sidebar-v1 version="1.0.0"><mf-profile>
<mf-profile-banner></mf-profile-banner>
<mf-profile-header>
<mf-profile-avatar-wrap>
<mf-profile-avatar></mf-profile-avatar>
<mf-profile-status></mf-profile-status>
</mf-profile-avatar-wrap>
<mf-profile-identity>
<mf-profile-name></mf-profile-name>
<mf-profile-handle></mf-profile-handle>
<mf-profile-role></mf-profile-role>
</mf-profile-identity>
</mf-profile-header>
<mf-profile-body>
<mf-profile-bio></mf-profile-bio>
<mf-profile-meta>
<mf-profile-location></mf-profile-location>
<mf-profile-joined></mf-profile-joined>
</mf-profile-meta>
<mf-profile-stats>
<mf-profile-stat>
<mf-profile-post-count></mf-profile-post-count>
<mf-profile-post-delta></mf-profile-post-delta>
</mf-profile-stat>
<mf-profile-stat>
<mf-profile-follower-count></mf-profile-follower-count>
<mf-profile-follower-delta></mf-profile-follower-delta>
</mf-profile-stat>
<mf-profile-stat>
<mf-profile-following-count></mf-profile-following-count>
<mf-profile-following-delta></mf-profile-following-delta>
</mf-profile-stat>
</mf-profile-stats>
<mf-profile-badges>
<mf-profile-badge></mf-profile-badge>
<mf-profile-badge></mf-profile-badge>
<mf-profile-badge></mf-profile-badge>
</mf-profile-badges>
<mf-profile-links>
<mf-profile-link></mf-profile-link>
<mf-profile-link></mf-profile-link>
<mf-profile-link></mf-profile-link>
</mf-profile-links>
<mf-profile-activity-title>Recent activity</mf-profile-activity-title>
<mf-profile-activity>
<mf-activity-item>
<mf-activity-summary></mf-activity-summary>
<mf-activity-timestamp></mf-activity-timestamp>
</mf-activity-item>
<mf-activity-item>
<mf-activity-summary></mf-activity-summary>
<mf-activity-timestamp></mf-activity-timestamp>
</mf-activity-item>
<mf-activity-item>
<mf-activity-summary></mf-activity-summary>
<mf-activity-timestamp></mf-activity-timestamp>
</mf-activity-item>
</mf-profile-activity>
</mf-profile-body>
</mf-profile></mf-profile-sidebar-v1></mf-view>