cdechoch commited on
Commit
7fb1226
·
verified ·
1 Parent(s): f9ea4b7

Update team.html

Browse files
Files changed (1) hide show
  1. team.html +14 -0
team.html CHANGED
@@ -48,6 +48,9 @@
48
  .mention-footer { margin-top: 12px; }
49
  .view-original { color: #f97316; text-decoration: none; font-size: 14px; font-weight: 500; }
50
  .view-original:hover { text-decoration: underline; }
 
 
 
51
  .related-section { background: white; border-radius: 12px; padding: 20px; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
52
  .related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
53
  .related-link { display: block; padding: 12px 15px; background: #f8f9fa; border-radius: 8px; text-decoration: none; color: #333; font-weight: 500; }
@@ -166,6 +169,16 @@
166
  if (!mentions.length) { document.getElementById('mentionsList').innerHTML = '<div class="empty-state"><h3>No mentions found</h3></div>'; return; }
167
  document.getElementById('mentionsList').innerHTML = mentions.map(m => {
168
  const avatarUrl = m.author_avatar || 'https://cdn.bsky.app/img/avatar/plain/did:plc:default/default@jpeg';
 
 
 
 
 
 
 
 
 
 
169
  return `
170
  <div class="mention-card">
171
  <div class="mention-header">
@@ -180,6 +193,7 @@
180
  </div>
181
  ${m.player ? `<a href="/player/${encodeURIComponent(m.player)}" class="player-tag">${escapeHtml(m.player)}</a>` : ''}
182
  <div class="mention-text">${processText(m.text)}</div>
 
183
  <div class="mention-footer"><a href="${m.url}" target="_blank" class="view-original">View on Bluesky →</a></div>
184
  </div>
185
  `}).join('');
 
48
  .mention-footer { margin-top: 12px; }
49
  .view-original { color: #f97316; text-decoration: none; font-size: 14px; font-weight: 500; }
50
  .view-original:hover { text-decoration: underline; }
51
+ .quote-post { background: #f8f9fa; border-left: 3px solid #ddd; padding: 12px 15px; margin: 12px 0; border-radius: 0 8px 8px 0; }
52
+ .quote-author { font-weight: 600; font-size: 13px; color: #666; margin-bottom: 6px; }
53
+ .quote-text { font-size: 14px; line-height: 1.5; color: #555; }
54
  .related-section { background: white; border-radius: 12px; padding: 20px; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
55
  .related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
56
  .related-link { display: block; padding: 12px 15px; background: #f8f9fa; border-radius: 8px; text-decoration: none; color: #333; font-weight: 500; }
 
169
  if (!mentions.length) { document.getElementById('mentionsList').innerHTML = '<div class="empty-state"><h3>No mentions found</h3></div>'; return; }
170
  document.getElementById('mentionsList').innerHTML = mentions.map(m => {
171
  const avatarUrl = m.author_avatar || 'https://cdn.bsky.app/img/avatar/plain/did:plc:default/default@jpeg';
172
+ let quoteHtml = '';
173
+ if (m.quote_post && m.quote_post.text) {
174
+ const qAuthor = m.quote_post.author_name || m.quote_post.author_handle || 'Unknown';
175
+ quoteHtml = `
176
+ <div class="quote-post">
177
+ <div class="quote-author">↩ ${escapeHtml(qAuthor)}</div>
178
+ <div class="quote-text">${processText(m.quote_post.text)}</div>
179
+ </div>
180
+ `;
181
+ }
182
  return `
183
  <div class="mention-card">
184
  <div class="mention-header">
 
193
  </div>
194
  ${m.player ? `<a href="/player/${encodeURIComponent(m.player)}" class="player-tag">${escapeHtml(m.player)}</a>` : ''}
195
  <div class="mention-text">${processText(m.text)}</div>
196
+ ${quoteHtml}
197
  <div class="mention-footer"><a href="${m.url}" target="_blank" class="view-original">View on Bluesky →</a></div>
198
  </div>
199
  `}).join('');