Skip to content

Commit

Permalink
Merge pull request #58 from FosterCommerce/develop
Browse files Browse the repository at this point in the history
Merge develop into chore/prep-release
  • Loading branch information
sjcallender authored Feb 28, 2025
2 parents 9d886c0 + 372dac9 commit 4652829
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 4 deletions.
18 changes: 15 additions & 3 deletions src/templates/checkout/address.twig
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,17 @@
</button>
</div>

<div class="lg:hidden mt-4 grid grid-cols-1 gap-4 p-4 bg-gray-200 sm:p-6">

<button
type="submit"
class="block w-full px-4 py-3 font-medium text-white text-center bg-[var(--brandColor)] border border-[var(--brandColor)] rounded-xl"
>
{{ 'Next Step'|t('foster-checkout') }}
</button>

</div>

</form>

{% include 'foster-checkout/_components/app/steps-uncompleted' with {
Expand Down Expand Up @@ -238,10 +249,10 @@
{% block mobileFooter %}

{% if cart.lineItems|length > 0 %}
<div class="grid grid-cols-1 gap-4 p-4 bg-gray-200 sm:p-6">
<div class="hidden grid grid-cols-1 gap-4 p-4 bg-gray-200 sm:p-6">
<a
href="#"
class="block w-full px-4 py-3 font-medium text-[var(--brandColor)] text-center bg-white border border-[var(--brandColor)] rounded-xl"
href="{{ craft.fostercheckout.getPath('cancel') }}"
class="block w-full px-4 py-3 font-medium text-[var(--brandColor)] text-center bg-white border border-[var(--brandColor)] rounded-xl"
>
{{ 'Continue Shopping'|t('foster-checkout') }}
</a>
Expand All @@ -251,6 +262,7 @@
>
{{ 'Next Step'|t('foster-checkout') }}
</button>
</form>
</div>
{% endif %}

Expand Down
13 changes: 12 additions & 1 deletion src/templates/checkout/shipping.twig
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,17 @@
</button>
</div>

<div class="lg:hidden mt-4 grid grid-cols-1 gap-4 p-4 bg-gray-200 sm:p-6">

<button
type="submit"
class="block w-full px-4 py-3 font-medium text-white text-center bg-[var(--brandColor)] border border-[var(--brandColor)] rounded-xl"
>
{{ 'Next Step'|t('foster-checkout') }}
</button>

</div>

</form>

{% include 'foster-checkout/_components/app/steps-uncompleted' with {
Expand Down Expand Up @@ -183,7 +194,7 @@
{% block mobileFooter %}

{% if cart.lineItems|length > 0 %}
<div class="grid grid-cols-1 gap-4 p-4 bg-gray-200 sm:p-6">
<div class="hidden grid grid-cols-1 gap-4 p-4 bg-gray-200 sm:p-6">
<a
href="#"
class="block w-full px-4 py-3 font-medium text-[var(--brandColor)] text-center bg-white border border-[var(--brandColor)] rounded-xl"
Expand Down

0 comments on commit 4652829

Please sign in to comment.