{{ _text_color = (background_color === '#004F59' ? 'text-white!' : 'text-brand-black!') }} {{ if banner_set_type != 'full_width_image' }}
{{ if banner_set_type === 'donate' }} {{ partial src="sets/donate_widget" }} {{ else }} {{ /if }}
{{ else }}
{{ banner_image:alt }} {{ if banner_caption }} {{ partial src="caption" align_right="true" caption_text="{banner_caption_text}" }} {{ /if }}
{{ if (description_placement == 'Right') }}
{{ /if }}

{{ banner_heading }}

{{ if banner_description }}

{{ banner_description }}

{{ /if }} {{ if banner_primary_button || banner_secondary_button }}
{{ if banner_secondary_button }} {{ if (banner_secondary_button_link_type == "url") }} {{ _banner_secondary_button_link = "{{ banner_secondary_button_link }}" }} {{ elseif (banner_secondary_button_link_type == "collection") }} {{ _banner_secondary_button_link = "{{ banner_secondary_button_page_story:url }}" }} {{ elseif (banner_secondary_button_link_type == "download") }} {{ _banner_secondary_button_link = "{{ banner_secondary_button_download }}" }} {{ banner_secondary_button_target = "_blank" }} {{ /if }} {{ partial:sets/button class="{['text-white!' => background_color === '#004F59', 'w-full'] | classes}" :this_link="_banner_secondary_button_link" :target="banner_secondary_button_target" }} {{ banner_secondary_button_text }} {{ /partial:sets/button }} {{ /if }} {{ if banner_primary_button }} {{ if (banner_primary_button_link_type == "url") }} {{ _banner_primary_button_link = "{{ banner_primary_button_link }}" }} {{ elseif (banner_primary_button_link_type == "collection") }} {{ _banner_primary_button_link = "{{ banner_primary_button_page_story:url }}" }} {{ elseif (banner_primary_button_link_type == "download") }} {{ _banner_primary_button_link = "{{ banner_primary_button_download }}" }} {{ banner_primary_button_target = "_blank" }} {{ /if }} {{ partial:sets/button class="w-full" :this_link="_banner_primary_button_link" :target="banner_primary_button_target" filled="true" }} {{ banner_primary_button_text }} {{ /partial:sets/button }} {{ /if }}
{{ /if }}
{{ /if }}