Update stories to match new component organization

This commit is contained in:
adilallo
2026-02-05 22:46:16 -07:00
parent 6f178e934f
commit aef04c525a
51 changed files with 111 additions and 111 deletions
@@ -0,0 +1,38 @@
import ConditionalHeader from "../../app/components/navigation/ConditionalHeader";
export default {
title: "Components/Navigation/ConditionalHeader",
component: ConditionalHeader,
parameters: {
docs: {
description: {
component:
"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.",
},
},
},
argTypes: {
pathname: {
control: "text",
description: "Current pathname to determine which header to render",
},
},
};
export const HomePage = {
args: {
pathname: "/",
},
};
export const BlogPage = {
args: {
pathname: "/blog/sample-article",
},
};
export const OtherPage = {
args: {
pathname: "/about",
},
};