Build world campaigns rewards and recaps

This commit is contained in:
2026-05-01 11:44:41 +02:00
parent 28e7e46e13
commit 257b0dbef6
100 changed files with 11300 additions and 367 deletions

View File

@@ -0,0 +1,17 @@
import React from 'react'
export default function WorldChallengeMeta({ items = [], className = '' }) {
const filteredItems = Array.isArray(items) ? items.filter(Boolean) : []
if (filteredItems.length === 0) {
return null
}
return (
<div className={`flex flex-wrap gap-2 text-xs uppercase tracking-[0.16em] text-slate-400 ${className}`.trim()}>
{filteredItems.map((item) => (
<span key={item}>{item}</span>
))}
</div>
)
}