Skip to content

Commit 4db84bf

Browse files
Merge pull request #12 from nyxCore-Systems/feat/lineup-card-excerpt
feat(lineup): show Kurzbeschreibung under card images
2 parents 509942a + 6a42281 commit 4db84bf

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

src/app/globals.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,8 @@
568568
.nh-act-b .meta { font-family: var(--font-mono), 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold, #FAB90C); }
569569
.nh-act-b h3 { font-size: 23px; margin: 10px 0 8px; line-height: 1.02; color: var(--sand, #FBF7EF); }
570570
.nh-act-b p { font-size: 13.5px; color: var(--muted, #8AA0B4); }
571+
.nh-act-b .nh-act-desc { margin-top: 8px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
572+
.nh-act-b .nh-act-gen { margin-top: 10px; font-size: 12px; letter-spacing: 0.03em; opacity: 0.85; }
571573
.nh-gens { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
572574
.nh-gen { font-family: var(--font-mono), 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sand, #FBF7EF); border: 1px solid var(--b3, #1C5489); padding: 4px 9px; }
573575
.nh-act-xl { grid-column: span 6; }

src/components/noir/sections/NoirLineupSection.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ function LineupCard({ slot, index }: { slot: LineupSlot; index: number }) {
5656
<div className="nh-act-b">
5757
{slot.meta && <div className="meta">{slot.meta}</div>}
5858
<h3>{slot.name}</h3>
59-
{genreLine && <p>{genreLine}</p>}
59+
{slot.excerpt && <p className="nh-act-desc">{slot.excerpt}</p>}
60+
{genreLine && <p className="nh-act-gen">{genreLine}</p>}
6061
</div>
6162
</>
6263
)

0 commit comments

Comments
 (0)