<section id="newsSharePanel" data-entry="{{ entry.slug | capitalize }}" class="news-share-panel w-full relative border-t border-solid border-mintyy-gray-ii">
    <div class="container-wrapper w-full max-w-7xl mx-auto">
        <div class="padding-wrapper w-full px-6 sm:px-8 lg:px-10 py-8 lg:py-8">
            <div class="content-wrapper w-full flex flex-col xs:flex-row justify-center items-center gap-4">
                {# Currently hardcoded to news page - will need to make dynamic if the news section becomes multi-level #}
                {% include themeDir ~ '/_includes/_modules/_button' with {
                    'buttonType': 'internal-link',
                    'href': '/news',
                    'buttonText': 'Go back',
                    'title': 'Go back to the news page',
                    'theme': 'primary',
                    'customIcon': 'core/arrow-left.svg',
                    'addClasses': 'sm:px-16 lg:px-20'
                } %}
                {# Make sure there is only ever one of these on the page #}
                {% include themeDir ~ '/_includes/_modules/_button' with {
                    'buttonType': 'button',
                    'id': 'newsShareButton',
                    'buttonText': 'Share',
                    'title': 'Share this news article',
                    'theme': 'octonary',
                    'customIcon': 'core/share-icon.svg',
                    'addClasses': 'sm:px-16 lg:px-20'
                } %}
            </div>
        </div>
    </div>
</section>