package components import ( "fmt" "tangled.org/arabica.social/arabica/internal/entities/arabica" "tangled.org/arabica.social/arabica/internal/web/assets" "tangled.org/arabica.social/arabica/internal/web/bff" "tangled.org/pdewey.com/atp" ) // BeanSummaryProps defines props for displaying bean metadata inline. // Used in both bean feed cards and brew feed cards. type BeanSummaryProps struct { Bean *arabica.Bean CoffeeAmount int // if > 0, shows scale icon + "Xg" (brew context) } // BeanSummary renders the bean name, roaster, and attribute tags. templ BeanSummary(props BeanSummaryProps) { if props.Bean != nil {