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 ArtCard({ item }) { const username = item.author_username ? `@${item.author_username}` : null return (
{item.title} { e.currentTarget.src = FALLBACK }} />
{item.title}
{item.author} { e.currentTarget.src = AVATAR_FALLBACK }} /> {item.author} {username && {username}}
{item.title} by {item.author}
) } export default function HomeFromFollowing({ items }) { // Empty state: user follows nobody if (!Array.isArray(items) || items.length === 0) { return (

👥 From Creators You Follow

You're not following anyone yet.

Follow creators you love to see their latest uploads here.

Discover creators →
) } return (

👥 From Creators You Follow

See all →
{items.slice(0, Math.floor(items.length / 5) * 5 || items.length).map((item) => ( ))}
) }