From f32bd96c8dad5c01d1f000d71555c2bd37ede107 Mon Sep 17 00:00:00 2001 From: SriHV <123635670+SriHV@users.noreply.github.com> Date: Tue, 17 Dec 2024 17:44:07 +0000 Subject: [PATCH] Added a new Variant in Header Component (#3459) Co-authored-by: Precious Onyenaucheya <86783201+precious-onyenaucheya-ons@users.noreply.github.com> Co-authored-by: rmccar <42928680+rmccar@users.noreply.github.com> --- __snapshots__/layout/_template.spec.js.snap | 156 ++++++++------- ...mple-header-basic_0_document_0_desktop.png | 3 + ...ample-header-basic_0_document_1_tablet.png | 3 + ...ample-header-basic_0_document_2_mobile.png | 3 + src/components/header/_macro-options.md | 38 ++-- src/components/header/_macro.njk | 182 +++++++++--------- src/components/header/_macro.spec.js | 10 + .../header/example-header-basic.njk | 11 ++ 8 files changed, 224 insertions(+), 182 deletions(-) create mode 100644 backstop_data/bitmaps_reference/ds-vr-test__components_header_example-header-basic_0_document_0_desktop.png create mode 100644 backstop_data/bitmaps_reference/ds-vr-test__components_header_example-header-basic_0_document_1_tablet.png create mode 100644 backstop_data/bitmaps_reference/ds-vr-test__components_header_example-header-basic_0_document_2_mobile.png create mode 100644 src/components/header/example-header-basic.njk diff --git a/__snapshots__/layout/_template.spec.js.snap b/__snapshots__/layout/_template.spec.js.snap index 62e0c6dbc0..29380095bf 100644 --- a/__snapshots__/layout/_template.spec.js.snap +++ b/__snapshots__/layout/_template.spec.js.snap @@ -234,28 +234,30 @@ exports[`base page template matches the favicons block override snapshot 1`] = ` -