From d1eda98385a0ee66d24f027086f67c0f73337da0 Mon Sep 17 00:00:00 2001 From: Chloe Herd Date: Tue, 9 Jan 2024 17:34:48 -0500 Subject: [PATCH 1/3] Basic banner with cms content --- .../afterpay-modal-banner.vue | 103 ++++++++++++++++++ src/layouts/quote/quote.vue | 6 + 2 files changed, 109 insertions(+) create mode 100644 src/layouts/quote/afterpay-modal-banner/afterpay-modal-banner.vue diff --git a/src/layouts/quote/afterpay-modal-banner/afterpay-modal-banner.vue b/src/layouts/quote/afterpay-modal-banner/afterpay-modal-banner.vue new file mode 100644 index 000000000..b26b9f3c2 --- /dev/null +++ b/src/layouts/quote/afterpay-modal-banner/afterpay-modal-banner.vue @@ -0,0 +1,103 @@ + + + + + diff --git a/src/layouts/quote/quote.vue b/src/layouts/quote/quote.vue index e48e8fff8..73fc42266 100644 --- a/src/layouts/quote/quote.vue +++ b/src/layouts/quote/quote.vue @@ -34,6 +34,10 @@ validationRules="option-required" isRequired /> + + From a359d2773158955b4147317e1257332a96094445 Mon Sep 17 00:00:00 2001 From: Chloe Herd Date: Wed, 10 Jan 2024 11:24:10 -0500 Subject: [PATCH 2/3] Add afterpay script + modal --- .../afterpay-modal-banner/afterpay-modal-banner.vue | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/layouts/quote/afterpay-modal-banner/afterpay-modal-banner.vue b/src/layouts/quote/afterpay-modal-banner/afterpay-modal-banner.vue index b26b9f3c2..6eb8a5a87 100644 --- a/src/layouts/quote/afterpay-modal-banner/afterpay-modal-banner.vue +++ b/src/layouts/quote/afterpay-modal-banner/afterpay-modal-banner.vue @@ -1,5 +1,7 @@ @@ -96,7 +104,7 @@ export default { height: 1rem; } } - & p { + & .alert-heading { font-size: 0.875rem; } } From 356ffe6e455d8293768ac9cc7f92a4d3c3f2afd2 Mon Sep 17 00:00:00 2001 From: Chloe Herd Date: Wed, 10 Jan 2024 12:48:17 -0500 Subject: [PATCH 3/3] Only display if cash is selected --- src/layouts/quote/quote.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/layouts/quote/quote.vue b/src/layouts/quote/quote.vue index 73fc42266..5c6b2d744 100644 --- a/src/layouts/quote/quote.vue +++ b/src/layouts/quote/quote.vue @@ -35,6 +35,7 @@ isRequired />