import Header from "../app/components/Header";
export default {
title: "Components/Header",
component: Header,
parameters: {
layout: "fullscreen",
docs: {
description: {
component:
"The main navigation header with responsive behavior across different breakpoints.",
},
},
},
argTypes: {
onToggle: { action: "toggled" },
},
tags: ["autodocs"],
};
export const Default = {
args: {},
parameters: {
docs: {
description: {
story:
"Use the Viewport toolbar to change the iframe width and see how the header adapts to different screen sizes. The header shows different layouts for mobile, tablet, and desktop breakpoints.",
},
},
},
};
// Story to show the header in a realistic page context
export const InPageContext = {
args: {},
render: () => (
Example Page Content
This demonstrates how the header looks in a realistic page context.
The header maintains its responsive behavior while providing
navigation for the page content.
{[1, 2, 3, 4, 5, 6].map((i) => (
Content Block {i}
This is example content to show how the header integrates with
page content.
))}
),
parameters: {
docs: {
description: {
story:
"The header integrated into a full page layout to show how it works in context.",
},
},
},
};