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: //proc/thread-self/cwd/wp-content/themes/hockey/templates/page-elements/views/element01.twig
{#

Element ID: Element01
Element Name: Full page hero

#}
{% set image = Image(element.background_image) %}

<section class="full-hero {% if webinar_active %}full-hero--webinar-active{% endif %}">
        {# <img src="{{ image.src }}" alt="{{ image.alt }}" class="full-hero__featured-img" /> #}
        <img  alt="{{ image.alt }}" class="full-hero__featured-img" 
            srcset="
            {{ TimberImage(image.src)}} 1600w,
            {{ TimberImage(image.src | resize(1000))}} 1000w,
            {{ TimberImage(image.src | resize(600))}} 600w"
            src="{{ TimberImage(image.src | resize(1000))}}"
            sizes="100vw"
            >
    <div class="full-hero__content">
    <div class="container container--narrow">
        <img src="{{ site.theme.link }}/frontend/img/hockey-coach-vision-logo-text.svg" alt="Hockey Coach Vision" />
        <h2>{{ element.subtitle }}</h2>
        <div class="full-hero__buttons">
            <a href="{{ get_it_now }}" class="btn btn--primary">Get it now</a>
            <a href="#" class="btn btn--hollow-primary-dark hide-mobile modal-video-trigger" data-video-url="https://www.youtube.com/embed/{{ function("get_youtube_id", element.video_button_link) }}">{{ element.video_button_text }}</a>
            <a href="#" class="btn btn--hollow hide-desktop modal-video-trigger" data-video-url="https://www.youtube.com/embed/{{ function("get_youtube_id", element.video_button_link) }}">{{ element.video_button_text }}</a>
        </div>
        </div>
    </div>
</section>
{% if webinar_active %}
    <section class="page-link-wrap">
        <div class="page-link">
            <h2 class="">{{ webinar_title }}</h2>
            <p class="">{{ webinar_date }}</p>
            <a href="{{ webinar_link }}" class="btn btn--primary small">{{ webinar_more_button_text }}</a>
        </div>

    </section>
{% endif %}