Remove numbers and add red accent to featured claims on homepage
This commit is contained in:
parent
e71117fa75
commit
039d462fb5
|
|
@ -85,18 +85,10 @@ const ClaimsLibrary = () => {
|
|||
</Link>
|
||||
</div>
|
||||
|
||||
{/* Hacker News style list */}
|
||||
<ol className="space-y-3">
|
||||
{/* Compact list without numbers */}
|
||||
<ul className="list-none space-y-3">
|
||||
{claims.map((claim, idx) => (
|
||||
<li key={idx} className="group">
|
||||
<div className="flex gap-3">
|
||||
{/* Number */}
|
||||
<span className="text-muted-foreground text-sm font-mono shrink-0 pt-0.5">
|
||||
{idx + 1}.
|
||||
</span>
|
||||
|
||||
{/* Content */}
|
||||
<div className="min-w-0 flex-1">
|
||||
{/* Title */}
|
||||
<Link
|
||||
href={claim.link}
|
||||
|
|
@ -115,13 +107,11 @@ const ClaimsLibrary = () => {
|
|||
<span className="mx-1.5">•</span>
|
||||
5 claims
|
||||
<span className="mx-1.5">•</span>
|
||||
<span className="italic">{claim.featuredClaim}</span>
|
||||
</div>
|
||||
</div>
|
||||
<span className="italic text-accent">{claim.featuredClaim}</span>
|
||||
</div>
|
||||
</li>
|
||||
))}
|
||||
</ol>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue