diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ec7b9b..7fca647 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 --- +## [Unreleased] — Open the popup from the CTA band and section buttons (LSA-214) + +### Changed + +- The consultation buttons in the CTA band patterns (`cta-dark-band-buttons`, `section-cta-consultation-band`, `-inline`, `-reassurance`, `-strip`, `section-cta-split-checklist`, `split-cta-check-card`, `split-cta-tile-band`) and the section patterns (`blog-writing-cta`, `homepage-cta`, `phase-support-focus`, `services-cta`, `work-discuss-project`) now open the Consultation popup instead of leaving the page, so Form 4 entries record the page the visitor was on. Each button keeps its link to `/free-consultation/` as a fallback if the popup or JavaScript fails. +- The "Send a brief first" buttons in `homepage-cta` and `work-discuss-project` open the Website Brief popup and keep their `/contact/` link as the fallback. + +([#162](https://github.com/lightspeedwp/ls-theme/pull/162)) + +--- + ## [Unreleased] — Open the Consultation popup from the hero, header and phase CTA buttons (LSA-214) ### Changed diff --git a/patterns/cta/cta-dark-band-buttons.php b/patterns/cta/cta-dark-band-buttons.php index 56e5f24..27aa7cf 100644 --- a/patterns/cta/cta-dark-band-buttons.php +++ b/patterns/cta/cta-dark-band-buttons.php @@ -42,8 +42,8 @@
- -
+ +
diff --git a/patterns/cta/section-cta-consultation-band.php b/patterns/cta/section-cta-consultation-band.php index e645d73..b8d3d9f 100644 --- a/patterns/cta/section-cta-consultation-band.php +++ b/patterns/cta/section-cta-consultation-band.php @@ -48,8 +48,8 @@
- -
+ +
diff --git a/patterns/cta/section-cta-consultation-inline.php b/patterns/cta/section-cta-consultation-inline.php index c1e338d..df297dd 100644 --- a/patterns/cta/section-cta-consultation-inline.php +++ b/patterns/cta/section-cta-consultation-inline.php @@ -47,8 +47,8 @@
- -
+ +
diff --git a/patterns/cta/section-cta-consultation-reassurance.php b/patterns/cta/section-cta-consultation-reassurance.php index f785d01..aa72306 100644 --- a/patterns/cta/section-cta-consultation-reassurance.php +++ b/patterns/cta/section-cta-consultation-reassurance.php @@ -37,8 +37,8 @@
- -
+ +
diff --git a/patterns/cta/section-cta-consultation-strip.php b/patterns/cta/section-cta-consultation-strip.php index bedbd20..f9d5f4e 100644 --- a/patterns/cta/section-cta-consultation-strip.php +++ b/patterns/cta/section-cta-consultation-strip.php @@ -45,8 +45,8 @@
- -
+ +
diff --git a/patterns/cta/section-cta-split-checklist.php b/patterns/cta/section-cta-split-checklist.php index 3436cdb..c3bb7f7 100644 --- a/patterns/cta/section-cta-split-checklist.php +++ b/patterns/cta/section-cta-split-checklist.php @@ -51,8 +51,8 @@
- -
+ +
diff --git a/patterns/cta/split-cta-check-card.php b/patterns/cta/split-cta-check-card.php index 37cd8ad..b04cdf6 100644 --- a/patterns/cta/split-cta-check-card.php +++ b/patterns/cta/split-cta-check-card.php @@ -47,8 +47,8 @@
- -
+ +
diff --git a/patterns/cta/split-cta-tile-band.php b/patterns/cta/split-cta-tile-band.php index 4bd8749..f10028b 100644 --- a/patterns/cta/split-cta-tile-band.php +++ b/patterns/cta/split-cta-tile-band.php @@ -61,8 +61,8 @@
- -
+ +
diff --git a/patterns/sections/blog-writing-cta.php b/patterns/sections/blog-writing-cta.php index 693e8d8..e5b752f 100644 --- a/patterns/sections/blog-writing-cta.php +++ b/patterns/sections/blog-writing-cta.php @@ -58,8 +58,8 @@
- -
+ +
diff --git a/patterns/sections/homepage-cta.php b/patterns/sections/homepage-cta.php index c51cead..1de9d66 100644 --- a/patterns/sections/homepage-cta.php +++ b/patterns/sections/homepage-cta.php @@ -52,12 +52,12 @@
- -
+ +
- -
+ +
diff --git a/patterns/sections/phase-support-focus.php b/patterns/sections/phase-support-focus.php index 9e79a50..101d755 100644 --- a/patterns/sections/phase-support-focus.php +++ b/patterns/sections/phase-support-focus.php @@ -100,8 +100,8 @@
- -
+ +
diff --git a/patterns/sections/services-cta.php b/patterns/sections/services-cta.php index 832f8d5..136f5b4 100644 --- a/patterns/sections/services-cta.php +++ b/patterns/sections/services-cta.php @@ -44,8 +44,8 @@
- -
+ +
diff --git a/patterns/sections/work-discuss-project.php b/patterns/sections/work-discuss-project.php index fa1bd1d..3254d3c 100644 --- a/patterns/sections/work-discuss-project.php +++ b/patterns/sections/work-discuss-project.php @@ -45,12 +45,12 @@
- -
+ +
- -
+ +