2020-06-12 20:03:43 +00:00
|
|
|
<%- # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later
|
|
|
|
# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%>
|
2018-03-25 17:30:42 +00:00
|
|
|
<!-- partial start: fundaising_pages/_header -->
|
|
|
|
<%# requirements: image_url, is_editor, header_content_partial %>
|
|
|
|
<% hide_title = hide_title ? true : false %>
|
|
|
|
<% css_style = is_editor ? "style='margin-top: 0'" : '' %>
|
|
|
|
|
|
|
|
|
|
|
|
<header class="container fundraisingHeader--plain" <%= css_style.html_safe %> id='js-fundraisingHeader'>
|
2018-05-30 17:16:24 +00:00
|
|
|
<% if banner_image_url %>
|
2018-11-07 20:48:11 +00:00
|
|
|
<div class='campaign-banner u-margin'>
|
2018-05-30 17:16:24 +00:00
|
|
|
<img src='<%= banner_image_url %>'>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
2018-03-25 17:30:42 +00:00
|
|
|
<div class='fundraisingHeader--image-container' id='js-fundraisingHeader-image' style='display: none;'>
|
|
|
|
<img class='fundraisingHeader--image-aspectRatio' src="<%= asset_path 'graphics/10x6.jpg' %>">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<% unless hide_title %>
|
|
|
|
<section class='fundraisingHeader-content'>
|
|
|
|
<%= render header_content_partial %>
|
|
|
|
</section>
|
|
|
|
<% end %>
|
|
|
|
</header>
|
2018-11-07 20:48:11 +00:00
|
|
|
<!-- partial end: fundraising_pages/_header -->
|