diff --git a/CHANGELOG.md b/CHANGELOG.md index dafc57f..8ec7b9b 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 Consultation popup from the hero, header and phase CTA buttons (LSA-214) + +### Changed + +- The consultation buttons in the hero patterns (`hero-split-glance`, `hero-split-index-card`, `hero-split-proof`, `phase-hero`, `service-hero`, `services-hero`, `solutions-hero`, `work-hero`, `work-single-hero`), `home-hero-static`, `home-hero` (the inline link), `header` and `sections/phase-cta` 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 "Request a discovery workshop" button in `sections/phase-cta` stays a plain link, because the popup form cannot carry the workshop type. + +([#161](https://github.com/lightspeedwp/ls-theme/pull/161)) + +--- + ## [Unreleased] — Rebuild the thank-you pattern as a reusable confirmation section (LSA-198) ### Added diff --git a/patterns/header.php b/patterns/header.php index 2c731d8..d559ba6 100644 --- a/patterns/header.php +++ b/patterns/header.php @@ -33,8 +33,8 @@ -
-
+
+
diff --git a/patterns/hero/hero-split-glance.php b/patterns/hero/hero-split-glance.php index c78bf94..2de0ff7 100644 --- a/patterns/hero/hero-split-glance.php +++ b/patterns/hero/hero-split-glance.php @@ -77,8 +77,8 @@
- -
+ +
diff --git a/patterns/hero/hero-split-index-card.php b/patterns/hero/hero-split-index-card.php index 2c1165d..86807ed 100644 --- a/patterns/hero/hero-split-index-card.php +++ b/patterns/hero/hero-split-index-card.php @@ -122,8 +122,8 @@
- -
+ +
diff --git a/patterns/hero/hero-split-proof.php b/patterns/hero/hero-split-proof.php index e78d8bc..b567977 100644 --- a/patterns/hero/hero-split-proof.php +++ b/patterns/hero/hero-split-proof.php @@ -75,8 +75,8 @@
- -
+ +
diff --git a/patterns/hero/phase-hero.php b/patterns/hero/phase-hero.php index 77f2adc..f9dce46 100644 --- a/patterns/hero/phase-hero.php +++ b/patterns/hero/phase-hero.php @@ -71,8 +71,8 @@
- -
+ +
diff --git a/patterns/hero/service-hero.php b/patterns/hero/service-hero.php index 3aaa5b5..1797620 100644 --- a/patterns/hero/service-hero.php +++ b/patterns/hero/service-hero.php @@ -84,8 +84,8 @@
- -
+ +
diff --git a/patterns/hero/services-hero.php b/patterns/hero/services-hero.php index ecf1201..13fc296 100644 --- a/patterns/hero/services-hero.php +++ b/patterns/hero/services-hero.php @@ -164,8 +164,8 @@
- -
+ +
diff --git a/patterns/hero/solutions-hero.php b/patterns/hero/solutions-hero.php index f7f22e4..bfc340f 100644 --- a/patterns/hero/solutions-hero.php +++ b/patterns/hero/solutions-hero.php @@ -55,8 +55,8 @@
- -
+ +
diff --git a/patterns/hero/work-hero.php b/patterns/hero/work-hero.php index c699975..b582d82 100644 --- a/patterns/hero/work-hero.php +++ b/patterns/hero/work-hero.php @@ -49,8 +49,8 @@
- -
+ +
diff --git a/patterns/hero/work-single-hero.php b/patterns/hero/work-single-hero.php index 19147e9..0abf694 100644 --- a/patterns/hero/work-single-hero.php +++ b/patterns/hero/work-single-hero.php @@ -45,8 +45,8 @@
- -
+ +
diff --git a/patterns/home-hero-static.php b/patterns/home-hero-static.php index 8ac3aa0..ebfaf32 100644 --- a/patterns/home-hero-static.php +++ b/patterns/home-hero-static.php @@ -49,8 +49,8 @@
- -
+ +
diff --git a/patterns/home-hero.php b/patterns/home-hero.php index 68fd87e..9fecc21 100644 --- a/patterns/home-hero.php +++ b/patterns/home-hero.php @@ -91,7 +91,7 @@ -

+

diff --git a/patterns/sections/phase-cta.php b/patterns/sections/phase-cta.php index 0972d24..7233c90 100644 --- a/patterns/sections/phase-cta.php +++ b/patterns/sections/phase-cta.php @@ -57,8 +57,8 @@
- -
+ +