Skip to content

Instantly share code, notes, and snippets.

@peterbe
Created April 16, 2019 14:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peterbe/9874e3731aaba5f3c4740002b57140ca to your computer and use it in GitHub Desktop.
Save peterbe/9874e3731aaba5f3c4740002b57140ca to your computer and use it in GitHub Desktop.
{% macro banner_developer_needs(url) %}
<h2 class="mdn-cta-title">
{{ _('MDN Developer Survey') }}
</h2>
<p class="mdn-cta-copy">
{{ _('We want to learn more about the needs of developers') }}
</p>
<p class="mdn-cta-button-container">
<a
href="{{ url }}"
class="mdn-cta-button"
target="_blank"
rel="noopener"
>{{ _('Complete the survey') }}</a
>
</p>
{% endmacro %}
{% macro banner_maintenance_mode(date) %}
<h2 class="mdn-cta-title">
{{ _('In Maintenance Mode') }}
</h2>
<p class="mdn-cta-copy">
{{ _('Expecting to last until:') }} {{ date }}
</p>
{% endmacro %}
{% macro banner_download_fenix() %}
<h2 class="mdn-cta-title">
{{ _('Download Fenix Today') }}
</h2>
{% endmacros %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment