Remove conditional header component

This commit is contained in:
adilallo
2026-02-06 08:29:58 -07:00
parent 0aaa694fab
commit d5c7262794
7 changed files with 23 additions and 74 deletions
@@ -1,38 +0,0 @@
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",
},
};