diff --git a/src/constants/query-strings.js b/src/constants/query-strings.js index 5ff1f636c..a0009bae0 100644 --- a/src/constants/query-strings.js +++ b/src/constants/query-strings.js @@ -2,6 +2,7 @@ const queryStrings = { FMG_PAGE: "fmgPage", START_TYPE: "start_type", ZIP_CODE: "zipcode", + PROMO: "promo", }; export { queryStrings }; diff --git a/src/digital-components/button-question/button-question.vue b/src/digital-components/button-question/button-question.vue index 13c81f815..9636d1d25 100644 --- a/src/digital-components/button-question/button-question.vue +++ b/src/digital-components/button-question/button-question.vue @@ -192,9 +192,9 @@ export default { classes = "d-flex flex-row p-0"; break; case "listCard": - classes = "row g-2 justify-content-center mb-1"; + classes = "row g-2 g-md-5 justify-content-center mb-1"; if (this.isWide) { - classes += " flex-column"; + classes += "flex-column"; } break; case "radio": diff --git a/src/digital-components/checkbox-question/checkbox-question.vue b/src/digital-components/checkbox-question/checkbox-question.vue index e63c24523..50245d025 100644 --- a/src/digital-components/checkbox-question/checkbox-question.vue +++ b/src/digital-components/checkbox-question/checkbox-question.vue @@ -68,6 +68,10 @@ export default { &:focus { box-shadow: 0 0 0 2.5px $blue; } + &:checked[type="checkbox"] { + background-color: $blue; + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e"); + } } &:hover { .form-check-input { diff --git a/src/fmg-components/layouts/questions-page-layout/questions-page-layout.vue b/src/fmg-components/layouts/questions-page-layout/questions-page-layout.vue index f6bb2a656..801987e31 100644 --- a/src/fmg-components/layouts/questions-page-layout/questions-page-layout.vue +++ b/src/fmg-components/layouts/questions-page-layout/questions-page-layout.vue @@ -23,8 +23,8 @@ :answerKey="questionsDatum.answerKey" :validationRules="validationRules" /> - { +describe("nav-bar.vue", () => { test("Should emit ForwardClicked on button click", async () => { // Act - const wrapper = mount(funnelFooter, { + const wrapper = mount(navbar, { mixins: [mockMixin], }); wrapper.vm.buttonClick(); @@ -14,7 +14,7 @@ describe("funnel-footer.vue", () => { test("Should emit BackClicked on link click", async () => { // Act - const wrapper = mount(funnelFooter, { + const wrapper = mount(navbar, { mixins: [mockMixin], }); wrapper.vm.linkClick(); @@ -24,7 +24,7 @@ describe("funnel-footer.vue", () => { test("Should change button text when update button text is called", async () => { // Act - const wrapper = mount(funnelFooter, { + const wrapper = mount(navbar, { mixins: [mockMixin], }); wrapper.vm.updateButtonText("newText"); @@ -35,7 +35,7 @@ describe("funnel-footer.vue", () => { test("should run removeLoader fn on buttonMain and return false for onkeydown fn", async () => { // Arrange - const wrapper = mount(funnelFooter, { + const wrapper = mount(navbar, { mixins: [mockMixin], }); diff --git a/src/fmg-components/funnel-footer/funnel-footer.vue b/src/fmg-components/nav-bar/nav-bar.vue similarity index 94% rename from src/fmg-components/funnel-footer/funnel-footer.vue rename to src/fmg-components/nav-bar/nav-bar.vue index 448f15319..bb0cbc399 100644 --- a/src/fmg-components/funnel-footer/funnel-footer.vue +++ b/src/fmg-components/nav-bar/nav-bar.vue @@ -1,6 +1,6 @@ diff --git a/src/layouts/vehicle/vehicle.vue b/src/layouts/vehicle/vehicle.vue index a651a5162..97c66c3bf 100644 --- a/src/layouts/vehicle/vehicle.vue +++ b/src/layouts/vehicle/vehicle.vue @@ -1,73 +1,68 @@