array( __( 'Classic card', 'streamsera' ), __( 'Artwork, now playing and a big play button. The all-rounder.', 'streamsera' ), array( 'layout' => 'card', 'skin' => 'modern', ), ), 'homepage-hero' => array( __( 'Homepage hero', 'streamsera' ), __( 'Full-width hero with blurred artwork for a landing page.', 'streamsera' ), array( 'layout' => 'hero', 'skin' => 'studio', 'theme' => 'dark', ), ), 'sidebar-widget' => array( __( 'Sidebar widget', 'streamsera' ), __( 'Compact pill that fits a narrow sidebar or footer.', 'streamsera' ), array( 'layout' => 'compact', 'skin' => 'minimal', 'components' => array( 'artwork' => false, ), ), ), 'listen-button' => array( __( 'Listen live button', 'streamsera' ), __( 'One button. Put it in a menu, a header or a post.', 'streamsera' ), array( 'layout' => 'button', 'skin' => 'modern', 'components' => array( 'volume' => false, 'nowPlaying' => false, ), ), ), 'night-neon' => array( __( 'Night neon', 'streamsera' ), __( 'Dark card with glowing accents for electronic and club stations.', 'streamsera' ), array( 'layout' => 'card', 'skin' => 'neon', 'theme' => 'dark', ), ), 'talk-radio' => array( __( 'Talk radio', 'streamsera' ), __( 'Text-first card: station name, what’s playing and no artwork.', 'streamsera' ), array( 'layout' => 'card', 'skin' => 'minimal', 'components' => array( 'artwork' => false, 'liveBadge' => true, ), ), ), 'glass-hero' => array( __( 'Glass hero', 'streamsera' ), __( 'Frosted panel over the artwork. Works on photo backgrounds.', 'streamsera' ), array( 'layout' => 'hero', 'skin' => 'glass', ), ), 'network' => array( __( 'Station network', 'streamsera' ), __( 'One player, several stations with tabs to switch between them.', 'streamsera' ), array( 'layout' => 'card', 'skin' => 'modern', 'components' => array( 'stationSwitcher' => true, 'liveBadge' => true, ), 'behavior' => array( 'switcherStyle' => 'tabs', ), ), ), ); $out = array(); foreach ( $t as $id => $def ) { $out[ $id ] = array( 'id' => $id, 'label' => $def[0], 'description' => $def[1], 'config' => $def[2], ); } return $out; } }