Skip to content

Commit 63e313c

Browse files
Add showBreadcrumbs prop to WindowPanel and update usage
1 parent d5d5f1c commit 63e313c

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/app/about/page.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,11 @@ export default function About() {
3939
className="min-h-screen bg-background dark:bg-background-dark p-10 sm:p-12 md:p-16 flex flex-col relative pt-32"
4040
>
4141
<div className="mt-16 flex flex-col items-center">
42-
<WindowPanel title="About Me" showBackArrow showBreadcrumbs>
42+
<WindowPanel
43+
title="About Me"
44+
showBackArrow={true}
45+
showBreadcrumbs={true}
46+
>
4347
<Container className="mt-8 w-full flex-grow max-w-3xl mx-auto">
4448
<div className="mb-6">
4549
<Tooltip content="is this you? &amp;#x1f5b5;">

src/components/WindowPanel.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@ interface WindowPanelProps {
88
children: ReactNode;
99
title: string;
1010
showBackArrow?: boolean;
11+
showBreadcrumbs?: boolean; // Add this line
1112
}
1213

1314
const WindowPanel: React.FC<WindowPanelProps> = ({
1415
children,
1516
title,
1617
showBackArrow = false,
18+
showBreadcrumbs = false, // Add this line
1719
}) => {
1820
const router = useRouter();
1921
const [isMinimized, setIsMinimized] = useState(false);

0 commit comments

Comments
 (0)