update header tests and storybook

This commit is contained in:
adilallo
2025-09-29 13:13:51 -06:00
parent fa257984d6
commit b309971c6c
4 changed files with 99 additions and 11 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ export default {
docs: {
description: {
component:
"The ConditionalHeader component conditionally renders either HomeHeader or Header based on the current pathname.",
"The ConditionalHeader component conditionally renders either HomeHeader (for home page) or Header (for other pages) based on the current pathname. HomeHeader is not sticky, while Header has sticky positioning.",
},
},
},
+2 -4
View File
@@ -8,13 +8,11 @@ export default {
docs: {
description: {
component:
"The main navigation header with responsive behavior across different breakpoints.",
"The main navigation header with responsive behavior across different breakpoints. Features sticky positioning and active state highlighting for current page navigation.",
},
},
},
argTypes: {
onToggle: { action: "toggled" },
},
argTypes: {},
tags: ["autodocs"],
};
+1 -1
View File
@@ -8,7 +8,7 @@ export default {
docs: {
description: {
component:
"The home page header with transparent background, HeaderTab wrapper, and responsive behavior. Features a toggle to switch between home header and regular header.",
"The home page header with transparent background, HeaderTab wrapper, and responsive behavior. Features active state highlighting for current page navigation.",
},
},
},