'case-retail.svg', 'alt' => __( 'Illustration of a retail storefront with a rising sales arrow', 'designora-blocks' ), 'category' => __( 'Retail', 'designora-blocks' ), 'title' => __( 'Turning A Regional Retailer Into A Growth Story', 'designora-blocks' ), 'result' => __( '+38% revenue in 12 months', 'designora-blocks' ), ), array( 'image' => 'case-logistics.svg', 'alt' => __( 'Illustration of a warehouse with stocked shelves and a delivery truck', 'designora-blocks' ), 'category' => __( 'Logistics', 'designora-blocks' ), 'title' => __( 'Freeing Up Cash In A Busy Distribution Network', 'designora-blocks' ), 'result' => __( '$2.4M working capital released', 'designora-blocks' ), ), array( 'image' => 'case-fintech.svg', 'alt' => __( 'Illustration of an advisor beside a financial dashboard', 'designora-blocks' ), 'category' => __( 'Financial Services', 'designora-blocks' ), 'title' => __( 'Building A Reporting Engine For A Scaling Lender', 'designora-blocks' ), 'result' => __( 'Month-end close cut from 12 to 4 days', 'designora-blocks' ), ), ); $designora_columns = array(); foreach ( $designora_cases as $designora_case ) { $designora_columns[] = b( 'designora/column', array(), b( 'designora/container', array( 'gap' => 'none', 'className' => 'designora-case', ), b( 'designora/image', array( 'image' => image( 'content/' . $designora_case['image'], $designora_case['alt'] ), 'aspectRatio' => '3/2', 'className' => 'designora-case__media', ) ), b( 'designora/container', array( 'gap' => 'xs', 'variant' => 'panel', 'className' => 'designora-case__body', ), b( 'designora/text', array( 'content' => esc_html( $designora_case['category'] ), 'variant' => 'label', ) ), b( 'designora/heading', array( 'content' => esc_html( $designora_case['title'] ), 'level' => 3, ) ), b( 'designora/text', array( 'content' => esc_html( $designora_case['result'] ), 'className' => 'designora-case__result', ) ), b( 'designora/button', array( 'text' => esc_html__( 'Read Case Study', 'designora-blocks' ), 'url' => '#case-studies', 'variant' => 'link-arrow', 'className' => 'designora-case__link', ) ) ) ) ); } echo wp_kses_post( b( 'designora/section', array( 'className' => 'designora-pattern designora-case-studies' ), b( 'designora/container', array( 'gap' => 'sm', 'maxWidth' => 720, 'centered' => true, 'textAlign' => 'center', 'className' => 'designora-content-head', ), b( 'designora/text', array( 'content' => esc_html__( 'Case Studies', 'designora-blocks' ), 'variant' => 'eyebrow', 'textAlign' => 'center', ) ), b( 'designora/heading', array( 'content' => esc_html__( 'Real Results For Real Businesses', 'designora-blocks' ) ) ), b( 'designora/text', array( 'content' => esc_html__( 'A few recent engagements, the problems our clients brought to us and the numbers that changed afterwards.', 'designora-blocks' ) ) ) ), b( 'designora/columns', array( 'verticalAlign' => 'stretch' ), $designora_columns ) ) );