Skip to content

Commit

Permalink
feat(enrollment-index): use col-lg-6 for heading, content and set bas…
Browse files Browse the repository at this point in the history
…e cta to col-lg-6 width
  • Loading branch information
machikoyasuda committed Dec 6, 2024
1 parent 4da58e9 commit 8d802b5
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 20 deletions.
4 changes: 2 additions & 2 deletions benefits/core/templates/core/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@
{% endblock inner-content %}
</div>
{% block call-to-action %}
<div class="row d-flex justify-content-lg-end pt-8">
<div class="col-lg-3 offset-2 offset-sm-2 offset-lg-0 col-sm-8 col-8">
<div class="row d-flex justify-content-center pt-8">
<div class="col-12 col-lg-6">
{% block call-to-action-button %}
{% endblock call-to-action-button %}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,12 @@
{% endblock heading %}

{% block body %}
<div class="media-body--details">
<p>
{% translate "You will be directed to our partner, " %}
<!-- djlint:off --><a href="modal--littlepay" class="{{ classes }}" data-bs-toggle="modal" data-bs-target="#modal--littlepay">Littlepay</a>{% translate ", to enter your contactless card details." %}<!-- djlint:on -->
{% translate "We don’t store your information, and you won’t be charged." %}
</p>
<p>{% translate "Please use a debit or credit card by Visa or Mastercard." %}</p>
</div>
<p>
{% translate "You will be directed to our partner, " %}
<!-- djlint:off --><a href="modal--littlepay" class="{{ classes }}" data-bs-toggle="modal" data-bs-target="#modal--littlepay">Littlepay</a>{% translate ", to enter your contactless card details." %}<!-- djlint:on -->
{% translate "We don’t store your information, and you won’t be charged." %}
</p>
<p class="pt-4">{% translate "Please use a debit or credit card by Visa or Mastercard." %}</p>

{% include "enrollment/includes/modal--littlepay.html" with id="modal--littlepay" size="modal-md" header="p-md-2 p-3" body="pb-md-3 mb-md-3 mx-md-3 py-0 pt-0 absolute-top" %}
{% endblock body %}
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
{% load i18n %}

{% block headline %}
<div class="col-lg-8">
<h1 class="pb-lg-8 pb-4">
{% translate "We found your record!<br>Now let’s enroll your contactless card." %}
</h1>
<div class="col-lg-6">
<h1 class="pb-lg-8 pb-4">{% translate "We found your record! Now let’s enroll your contactless card." %}</h1>
</div>
{% endblock headline %}
10 changes: 4 additions & 6 deletions benefits/enrollment/templates/enrollment/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,15 @@
{% endblock nav-buttons %}

{% block headline %}
<div class="col-lg-8">
<h1 class="pb-lg-8 pb-4">
{% translate "Your eligibility is confirmed!<br>You’re almost there." %}
</h1>
<div class="col-lg-6">
<h1 class="pb-lg-8 pb-4">{% translate "Your eligibility is confirmed! You’re almost there." %}</h1>
</div>
{% endblock headline %}

{% block inner-content %}
{% block media-items %}
<div class="col-12 col-sm-12 col-lg-8">
<ul class="d-flex list-unstyled ps-0 pb-5 mb-3">
<div class="col-12 col-lg-6">
<ul class="d-flex list-unstyled ps-0 mb-0">
{% include "enrollment/includes/media-item--contactless-card--index.html" %}
</ul>
</div>
Expand Down

0 comments on commit 8d802b5

Please sign in to comment.