card event et streak

This commit is contained in:
2026-02-22 08:22:13 +04:00
parent 135e2050f8
commit 398a29900f
2 changed files with 22 additions and 10 deletions

View File

@@ -25,7 +25,7 @@ const accentColor = categoryColors[type] || categoryColors["default"];
<article class="event-card" style={`--accent-color: ${accentColor}`}>
<div class="card-inner">
<header class="event-header">
<span class="event-type">ÉVÉNEMENT IRL</span>
<span class="event-type">{type.toUpperCase()}</span>
<span class="event-status">{status}</span>
</header>
@@ -42,7 +42,13 @@ const accentColor = categoryColors[type] || categoryColors["default"];
<p class="summary">{summary}</p>
<div class="participants-box">
<span class="label">Membres impliqués :</span>
<span class="label">
{
type === "Festival"
? "Artistes invités :"
: "Membres impliqués :"
}
</span>
<div class="tags">
{participants.map((p) => <span class="p-tag">{p}</span>)}
</div>