import { Portal } from '@/types'; import { withBasePath } from '@/lib/url'; export default function HeroBanner({ portal }: { portal: Partial }) { const themeColor = portal?.themeColor || '#1e3a8a'; const heroImageUrl = withBasePath(portal?.heroImageUrl); const logoUrl = withBasePath(portal?.logoUrl); return (
{/* Dynamic Overlay: Either a solid dark tint, or a fade into the theme color */}
{logoUrl && ( Institution Logo )}

{portal?.title || 'Welcome to the Network'}

); }