HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux wordpress-ubuntu-s-2vcpu-4gb-fra1-01 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64
User: root (0)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/linde-ai/wp-content/themes/linde/templates/page-elements/views/element02.twig
{#

Element ID: Element02
Element Name: Hero image

#}


<section id="{{ element.html_id  }}" class="hero-page {{ element.text_centered ? "centered" : '' }} ">
    <div class="background-image">
        <picture>
            <source srcset="{{ TimberImage(element.background_image).src }}" media="(min-width: 620px)">
            <img class="" src="{{ TimberImage(element.background_image_mobile).src }}" alt="Linde firefighting VR" />
        </picture>
    </div>
    <div class="container" data-aos="fade-up">
        <div class="row">
            <div class="col-12 col-lg-5">
                <h1> {{ element.title  }} </h1>
                <p> {{ element.description  }}</p>
                <div class="btn-{{element.text_centered ? 'center' : 'left'}} m-t-lg">
                    {%  if(element.link_to_video) %}

                        {% if ( element.video.url ) %}
                            <a href="#" class="btn btn--hollow video-trigger"  data-video-link="{{ element.video.url }}" onClick="gtag('event', 'play_video', { 'event_category' : 'Play Hero image video', 'event_label' : '{{ element.video.title }}' });">
                                <span>{{ element.button_text }}</span>
                            </a>
                        {% endif %}
                    {% else %}
                      {% if element.button_text %}
                        <a href="{{ element.button_url }}" class="btn btn--hollow">
                            <span>{{ element.button_text }}</span>
                        </a>
                      {% endif %}
                    {% endif %}
                </div>
            </div>
        </div>
    </div>
</section>