Skip to content

feat: add optional heading image to secondary nav - #903

Merged
alexdiazNiftic merged 2 commits into
mainfrom
feat/secondary-nav-header-logo
Sep 11, 2026
Merged

alexdiazNiftic merged 2 commits into
mainfrom
feat/secondary-nav-header-logo

Conversation

@alexdiazNiftic

@alexdiazNiftic alexdiazNiftic commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

Ticket: KUSPMTM-31

This PR adds the component variation to add an image in place of the header text for the secondary nav. Since the component itself has relied on rendering text for the header, it's set as an optional enhancement.

@alexdiazNiftic
alexdiazNiftic requested a review from a team September 11, 2026 16:38
return ['subheadline', 'title'].includes(value);
},
},
headingImage: {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where do we plan to store the images that might be used here?

@alexdiazNiftic alexdiazNiftic Sep 11, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's being used in Contentful (specifically the U.S. Landing pages). I have a corresponding PR ready in CPS, but wanted to get this out first

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok so we'll be referencing a contentful cdn url I guess...

@@ -17,6 +18,7 @@
},
args: {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add headingStyle to the story args, and possibly a new story showing the heading style.

export default {
title: 'Page Frame/KvSecondaryNav',
component: KvSecondaryNav,
argTypes: {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe headingStyle here as well with the 2 possible values

Comment thread @kiva/kv-components/src/vue/KvSecondaryNav.vue Outdated
Comment thread @kiva/kv-components/src/vue/KvSecondaryNav.vue Outdated
Comment thread @kiva/kv-components/src/vue/KvSecondaryNav.vue Outdated

@mcstover mcstover left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stories look good. I also think that the title will be better with the bolder type style so that would be a good improvement to add.

@alexdiazNiftic
alexdiazNiftic merged commit fbd5c53 into main Sep 11, 2026
5 of 6 checks passed

@dyersituations dyersituations left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants