import React from 'react' const FALLBACK = 'https://files.skinbase.org/default/missing_md.webp' const AVATAR_FALLBACK = 'https://files.skinbase.org/avatars/default.webp' function FreshCard({ item }) { const username = item.author_username ? `@${item.author_username}` : null return (
{/* Gloss sheen */}
{item.title} { e.currentTarget.src = FALLBACK }} /> {/* Top-right View badge */}
View
{/* Bottom info overlay — always visible on mobile, hover-only on md+ */}
{item.title}
{item.author} { e.currentTarget.src = AVATAR_FALLBACK }} /> {item.author} {username && {username}}
{item.title} by {item.author}
) } export default function HomeFresh({ items }) { if (!Array.isArray(items) || items.length === 0) return null return (

🆕 Fresh Uploads

See all →
{items.map((item) => ( ))}
) }