<div class="padder">
    <section class="careers-block parallax" id="careers">
        <div class="careers-block__background parallax-background" style="background-image: url('/img/careers.jpg')"></div>
        <div class="careers-block__inner">
            <div class="careers-block__content">
                <h3 class="heading heading--medium">Careers at Ipsen</h3>
                <p>Ipsen offers exciting opportunities that wiill challenge your abilities, expand your skills and reward your contributon in a positive atmosphere of personal and professional development.</p>

                <a href="link" class="cta cta--primary cta--has-shadow has-shadow" data-shadow-color="0, 111, 238">
  <span class="cta__label">Search Ipsen positions
    <svg data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
      <path d="M14.54 7.63l-1.5 1.13.67 2.21H5.18v2h8.53l-.67 2.2 1.5 1.13 5.32-3.5v-1.67l-5.32-3.5z"/>
    </svg>
  </span>
</a>
            </div>
        </div>
    </section>
</div>
  • Content:
    <?php
    $careersBlock = array (
        'key' => 'careersBlock',
        'label' => 'Careers Block',
        'name' => 'careers-block',
        'type' => 'group',
        'sub_fields' => array(
    		array(
    			'key' => 'careersBlock_title',
    			'label' => 'Title',
    			'name' => 'title',
    			'type' => 'text',
    			'instructions' => '',
    			'required' => 1,
    			'conditional_logic' => 0,
    			'wrapper' => array(
    				'width' => '',
    				'class' => '',
    				'id' => '',
    			),
    			'default_value' => '',
    			'placeholder' => '',
    			'prepend' => '',
    			'append' => '',
    			'maxlength' => '',
    		),
        array(
          'key' => 'hide_block',
          'label' => 'Hide this block from anchor links',
          'name' => 'hide_block',
          'type' => 'true_false',
          'instructions' => '',
          'required' => 0,
          'wrapper' => array(
            'width' => '',
            'class' => '',
            'id' => '',
          ),
          'message' => '',
          'default_value' => 0,
          'ui' => 1,
          'ui_on_text' => '',
          'ui_off_text' => '',
        ),
    		array(
    			'key' => 'careersBlock_content',
    			'label' => 'Content',
    			'name' => 'content',
    			'type' => 'text',
    			'instructions' => '',
    			'required' => 0,
    			'conditional_logic' => 0,
    			'wrapper' => array(
    				'width' => '',
    				'class' => '',
    				'id' => '',
    			),
    			'default_value' => '',
    			'placeholder' => '',
    			'prepend' => '',
    			'append' => '',
    			'maxlength' => '',
    		),
    		array(
    			'key' => 'careersBlock_image',
    			'label' => 'Background Image',
    			'name' => 'image',
    			'type' => 'image',
    			'instructions' => '',
    			'required' => 0,
    			'conditional_logic' => 0,
    			'wrapper' => array(
    				'width' => '',
    				'class' => '',
    				'id' => '',
    			),
    			'return_format' => 'url',
    			'preview_size' => 'medium',
    			'library' => 'all',
    			'min_width' => 1000,
    			'min_height' => '',
    			'min_size' => '',
    			'max_width' => 3000,
    			'max_height' => '',
    			'max_size' => '',
    			'mime_types' => '',
    		),
    		array(
                'key' => 'field_5bbf3a9e564c4js',
                'label' => 'CTA',
    			'name' => 'cta',
    			'type' => 'group',
    			'instructions' => '',
    			'required' => 1,
    			'conditional_logic' => 0,
    			'wrapper' => array(
    				'width' => '',
    				'class' => '',
    				'id' => '',
    			),
    			'layout' => 'table',
    			'sub_fields' => array(
    				array(
                        'key' => 'field_5bbf3ab7564c5s',
                        'label' => 'Button label',
                        'name' => 'label',
                        'type' => 'text',
                        'instructions' => '',
                        'required' => 0,
                        'conditional_logic' => 0,
                        'wrapper' => array(
                            'width' => '',
                            'class' => '',
                            'id' => '',
                        ),
                    ),
    				array(
    					'key' => 'field_5bd2d35e6cf46s',
    					'label' => 'Link',
                        'name' => 'url',
                        'type' => 'link',
                        'instructions' => '',
                        'required' => 0,
                        'conditional_logic' => 0,
                        'wrapper' => array(
                            'width' => '',
                            'class' => '',
                            'id' => '',
                        ),
                        'return_format' => 'url',
                    ),
    			),
    		),
    	),
    );
    
    array_push($_SESSION["blocks"], $careersBlock);
  • URL: /components/raw/careers/careers.php
  • Filesystem Path: src/components/cms-blocks/careers/careers.php
  • Size: 3.3 KB