templates/widget/journal_description.html.twig line 1

Open in your IDE?
  1. <section class="std-section journal-description">
        <div class="container">
            <div class="journal-description__column">
                <div class="journal-description__text">{{ description|raw }}</div>
                <div class="journal-description__image">
                    {% if image_description %}
                        <picture>
                            <source media="(max-width: 920px)" data-srcset="{{ image_description.url }}" srcset="{{ image_description.url }}">
                            <source media="(min-width: 921px)" data-srcset="{{ image_description.url }}" srcset="{{ image_description.url }}">
                            <img src="{{ asset('assets/front/img/empty.svg') }}" data-src="{{ image_description.url }}" alt="image_description">
                        </picture>
                    {% endif %}
                </div>
            </div>
            <div class="journal-description__column">
                <div class="journal-description__image">
                    {% if image_info %}
                        <picture>
                            <source media="(max-width: 920px)" data-srcset="{{ image_info.url }}" srcset="{{ image_info.url }}">
                            <source media="(min-width: 921px)" data-srcset="{{ image_info.url }}" srcset="{{ image_info.url }}">
                            <img src="{{ asset('assets/front/img/empty.svg') }}" data-src="{{ image_info.url }}" alt="image_info">
                        </picture>
                    {% endif %}
                </div>
                <div class="journal-description__info">
                    <div class="journal-description__info-top">{{ info_one|raw }}</div>
                    <div class="journal-description__info-bottom">
                        <span>{{ info_two|raw }}</span>
                    </div>
                </div>
            </div>
        </div>
        <script data-defer=".journal-description">
            var requireOnDefer = function() {
                function callback() {
                    require(['assets/front/js/application/journal-description']);
                    window.removeEventListener('.journal-description', callback);
                }
                window.addEventListener('.journal-description', callback);
            }
            requireOnDefer();
            require(['css!assets/front/css/application/journal-description']);
        </script>
    </section>