import React from 'react' const FALLBACK = 'https://files.skinbase.org/default/missing_lg.webp' export default function HomeHero({ artwork, isLoggedIn }) { const uploadHref = isLoggedIn ? '/upload' : '/login?redirect=/upload' if (!artwork) { return ( Skinbase Nova Discover. Create. Inspire. Explore Trending Upload ) } const src = artwork.thumb_lg || artwork.thumb || FALLBACK return ( {/* Background image */} { e.currentTarget.src = FALLBACK }} /> {/* Gradient overlay */} {/* Content */} Featured Artwork {artwork.title} by {artwork.author} Explore Trending Upload View Artwork ) }
Discover. Create. Inspire.
Featured Artwork
by {artwork.author}