From 4884c45cf9db713a15fc78392b488b53f851a6ee Mon Sep 17 00:00:00 2001 From: gnezim Date: Mon, 6 Apr 2026 10:49:32 +0300 Subject: [PATCH] fix: update PageLayout structure to use two-row header/content layout - Restructure PageLayout to render header row (tabs + title) and content row separately - Update OnlineBoardStartPage and ScheduleStartPage to pass tabs as headerLeft - Update search and details pages to use new headerLeft/title props - Delete conflicting compiled JS files (page-layout.js, old index.tsx) --- .../src/app/components/page-layout/index.tsx | 27 ------------------- 1 file changed, 27 deletions(-) delete mode 100644 apps/react/src/app/components/page-layout/index.tsx diff --git a/apps/react/src/app/components/page-layout/index.tsx b/apps/react/src/app/components/page-layout/index.tsx deleted file mode 100644 index a70539a33..000000000 --- a/apps/react/src/app/components/page-layout/index.tsx +++ /dev/null @@ -1,27 +0,0 @@ -import React from 'react' - -interface PageLayoutProps { - children: React.ReactNode - contentLeft?: React.ReactNode - stickyContent?: React.ReactNode - className?: string - [key: string]: any -} - -export const PageLayout: React.FC = ({ - children, - contentLeft, - stickyContent, - className = '', - ...props -}) => { - return ( -
- {contentLeft && } -
- {stickyContent &&
{stickyContent}
} -
{children}
-
-
- ) -}