'portrait-1.svg', 'name' => 'James Whitaker', 'role' => __( 'Managing Partner', 'designora-blocks' ), 'email' => 'james.whitaker@example.com', ), array( 'image' => 'portrait-2.svg', 'name' => 'Amara Okafor', 'role' => __( 'Head Of Financial Planning', 'designora-blocks' ), 'email' => 'amara.okafor@example.com', ), array( 'image' => 'portrait-3.svg', 'name' => 'Laura Bennett', 'role' => __( 'Senior Tax Advisor', 'designora-blocks' ), 'email' => 'laura.bennett@example.com', ), array( 'image' => 'portrait-4.svg', 'name' => 'Marcus Reid', 'role' => esc_html__( 'Risk & Compliance Lead', 'designora-blocks' ), 'email' => 'marcus.reid@example.com', ), ); $designora_cards = array(); foreach ( $designora_team as $designora_member ) { $designora_cards[] = b( 'designora/team-member', array( /* translators: %s: team member name. */ 'image' => image( 'people/' . $designora_member['image'], sprintf( __( 'Portrait of %s', 'designora-blocks' ), $designora_member['name'] ) ), 'name' => $designora_member['name'], 'role' => $designora_member['role'], 'links' => array( array( 'icon' => 'mail', 'url' => 'mailto:' . $designora_member['email'], 'label' => __( 'Email', 'designora-blocks' ), ), array( 'icon' => 'phone', 'url' => 'tel:+442079460000', 'label' => __( 'Phone', 'designora-blocks' ), ), ), ) ); } echo wp_kses_post( b( 'designora/section', array( 'className' => 'designora-pattern designora-team-grid' ), b( 'designora/container', array( 'gap' => 'sm', 'maxWidth' => 720, 'centered' => true, 'textAlign' => 'center', 'className' => 'designora-people-head', ), b( 'designora/text', array( 'content' => esc_html__( 'Our Team', 'designora-blocks' ), 'variant' => 'eyebrow', 'textAlign' => 'center', ) ), b( 'designora/heading', array( 'content' => esc_html__( 'Meet The Advisors Behind Your Numbers', 'designora-blocks' ), 'textAlign' => 'center', ) ), b( 'designora/text', array( 'content' => esc_html__( 'Senior specialists in strategy, planning, tax and compliance who stay with your account from the first meeting to the year-end review.', 'designora-blocks' ), 'textAlign' => 'center', ) ) ), b( 'designora/container', array( 'layout' => 'grid', 'columns' => 4, 'rowGap' => 'xl', 'className' => 'designora-team-grid__grid', ), $designora_cards ) ) );