diff --git a/wwwroot/app.js b/wwwroot/app.js index e30ba76..b0e0d58 100644 --- a/wwwroot/app.js +++ b/wwwroot/app.js @@ -271,11 +271,13 @@ function buildCard(s, { showAuthor }) {

${s.name}

- ${showAuthor && s.author ? `${s.author}` : ""} +
+ ${s.youtubeUrl ? `YouTube ↗` : ""} + ${showAuthor && s.author ? `${s.author}` : ""} +
${s.genre ? `

${s.genre}

` : ""} ${s.description ? `

${s.description}

` : ""} - ${s.youtubeUrl ? `YouTube ↗` : ""}
`; if (hasImage) { diff --git a/wwwroot/styles.css b/wwwroot/styles.css index 1dcc610..876c0da 100644 --- a/wwwroot/styles.css +++ b/wwwroot/styles.css @@ -147,14 +147,16 @@ button.ghost { .card-title-row { display: flex; justify-content: space-between; - align-items: flex-start; + align-items: center; gap: 8px; } .card-title-row h3 { margin: 0; font-size: 18px; } +.title-meta { display: flex; align-items: center; gap: 8px; } .muted { color: #9ca3af; margin: 0; } .link { color: #93c5fd; text-decoration: none; font-weight: 600; } .link:hover { text-decoration: underline; } +.link.compact { font-size: 14px; } .chip { background: #1f2937; color: #e5e7eb;