main-banner.hbs 775 Bytes
{{# mainBanner}}
    <div class="main-banner slide-container"{{#unless list}} style="background:url({{image img 1920 450}}) no-repeat top center;"{{/unless}}>
        {{#if list}}
            <div class="slide-wrapper">
                <ul>
                    {{# list}}
                    <li class="banner-img" style="background: {{bgColor}} url({{image src 1920 450}}) no-repeat top center;">
                        {{#if href}}
                            <a href="{{url}}" target= "_blank"></a>
                        {{/if}}
                    </li>
                    {{/ list}}
                </ul>
            </div>
        {{^}}
            {{#if href}}
                <a href="{{href}}"></a>
            {{/if}}
        {{/if}}
    </div>
{{/ mainBanner}}