Skip to content

Commit

Permalink
remove round banner in landing (#10652)
Browse files Browse the repository at this point in the history
  • Loading branch information
chibie authored Jun 6, 2022
1 parent f85ee33 commit e2e4d07
Showing 1 changed file with 0 additions and 64 deletions.
64 changes: 0 additions & 64 deletions app/grants/templates/grants/landing/landing_qf_active.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,70 +52,6 @@ <h1>$500k Funding Pool, Now Live</h1>
</div>
{% endcomment %}

{% if show_round_banner %}

{% if round_status == 'active' %}
<!-- ACTIVE ROUND -->
<div class="d-flex justify-content-between flex-wrap countdown-color h5">
<countdown :startdate="{{round_start_date|date:'U' }}*1000" :enddate="{{round_end_date|date:'U' }}*1000" class="countdown gc-font-heading mb-2">
<template v-slot="slotProps">
{{ banner_round_name }} - Active - Ends in
<span>[[slotProps.time.days]]d</span>
<span>[[slotProps.time.hours]]h</span>
<span>[[slotProps.time.minutes]]m</span>
<span>[[slotProps.time.seconds]]s</span>
</template>
</countdown>
<div>
{% timezone "US/Mountain" %}
{{ round_start_date|localtime|date:"F j (gA e)" }} - {{ round_end_date|localtime|date:"F j (gA e)" }}
{% endtimezone %}
</div>
</div>

{% elif round_status == 'claim' %}
<!-- CLAIM -->
<div class="d-flex justify-content-between flex-wrap countdown-color h5">
<countdown :startdate="{{claim_start_date|date:'U' }}*1000" :enddate="{{claim_end_date|date:'U' }}*1000" class="countdown gc-font-heading mb-2">
<template v-slot="slotProps">
{{ banner_round_name }} - Claim - Active - Ends in

<span>[[slotProps.time.days]]d</span>
<span>[[slotProps.time.hours]]h</span>
<span>[[slotProps.time.minutes]]m</span>
<span>[[slotProps.time.seconds]]s</span>
</template>
</countdown>
<div>
{% timezone "US/Mountain" %}
{{ claim_start_date|localtime|date:"F j (gA e)" }} - {{ claim_end_date|localtime|date:"F j (gA e)" }}
{% endtimezone %}
</div>
</div>
{% elif round_status == 'upcoming' %}
<!-- UPCOMING -->
<div class="d-flex justify-content-between flex-wrap countdown-color h5">
{{ banner_round_name }} - Proposed Dates
<div>
{% timezone "US/Mountain" %}
{{ round_start_date|localtime|date:"F j (gA e)" }} - {{ round_end_date|localtime|date:"F j (gA e)" }}
{% endtimezone %}
</div>
</div>
{% elif round_status == 'done' %}
<!-- ROUND END -->
<div class="d-flex justify-content-between flex-wrap countdown-color h5">
{{ banner_round_name }} - Ended
<div>
{% timezone "US/Mountain" %}
{{ round_start_date|localtime|date:"F j (gA e)" }} - {{ round_end_date|localtime|date:"F j (gA e)" }}
{% endtimezone %}
</div>
</div>
{% endif %}

{% endif %}

</div>
</div>
</section>
Expand Down

0 comments on commit e2e4d07

Please sign in to comment.