Merge pull request #858 from dod-ccpo/sticky-to

Sticky CTA Header
This commit is contained in:
richard-dds
2019-06-04 15:28:49 -04:00
committed by GitHub
9 changed files with 75 additions and 5 deletions

View File

@@ -0,0 +1,12 @@
{% macro StickyCTA(text) -%}
<div class="sticky-cta" v-sticky="{ stickyTop: 2 }">
<div class="sticky-cta-container">
<div class="sticky-cta-text">
<h3>{{ text }}</h3>
</div>
<div class="sticky-cta-buttons">
{{ caller() }}
</div>
</div>
</div>
{%- endmacro %}