From 70ec87b4a4a06fc3b5ea9eadb9812e3e9f5b77bf Mon Sep 17 00:00:00 2001 From: Frontend Developer Date: Tue, 10 Mar 2026 09:41:55 +0000 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF:=20=E6=B7=BB=E5=8A=A0Layout?= =?UTF-8?q?=E5=B8=83=E5=B1=80=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/renderer/components/Layout.jsx | 22 +++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 frontend/src/renderer/components/Layout.jsx diff --git a/frontend/src/renderer/components/Layout.jsx b/frontend/src/renderer/components/Layout.jsx new file mode 100644 index 0000000..75651b8 --- /dev/null +++ b/frontend/src/renderer/components/Layout.jsx @@ -0,0 +1,22 @@ +import React from 'react'; +import { Layout as AntLayout } from 'antd'; +import Header from './Header'; +import Sidebar from './Sidebar'; + +const { Content } = AntLayout; + +function AppLayout({ children }) { + return ( + +
+ + + + {children} + + + + ); +} + +export default AppLayout;