From 79e5269977e761cc58bb1ddb656e56b9428f4960 Mon Sep 17 00:00:00 2001 From: Radian06 Date: Wed, 4 Feb 2026 19:02:41 +0900 Subject: [PATCH 1/4] =?UTF-8?q?feat:=20=EC=83=81=EB=8B=A8=EB=B0=94=20?= =?UTF-8?q?=EA=B5=AC=ED=98=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.tsx | 26 +++++++++++++++++++++----- src/components/Topbar.tsx | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+), 5 deletions(-) create mode 100644 src/components/Topbar.tsx diff --git a/src/App.tsx b/src/App.tsx index f5d6b50..01e18c7 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,11 +1,27 @@ -import { Routes, Route } from 'react-router-dom'; -import LoginPage from './pages/LoginPage'; +import Header from './components/Topbar'; function App() { return ( - - } /> - +
+ + {/* 왼쪽: 사이드바 대용 회색 상자 (너비 207px, 높이 500px 고정) */} +
+
+ Sidebar Placeholder (207px) +
+
+ + {/* 오른쪽: 탑바와 콘텐츠 영역 */} +
+ {/* 탑바 */} +
+ + +
+
); } diff --git a/src/components/Topbar.tsx b/src/components/Topbar.tsx new file mode 100644 index 0000000..a36f513 --- /dev/null +++ b/src/components/Topbar.tsx @@ -0,0 +1,37 @@ +import { useState } from 'react'; + +const Topbar: React.FC = () => { + const [activeTab, setActiveTab] = useState('학습 관리'); + + return ( +
+ {/* 탭 메뉴 */} + +
+ ); +}; + +export default Topbar; \ No newline at end of file From 82547e227e245b7668a84dcd286a3adc1002d0dc Mon Sep 17 00:00:00 2001 From: Radian06 Date: Wed, 4 Feb 2026 21:07:17 +0900 Subject: [PATCH 2/4] =?UTF-8?q?style:=20=EC=83=81=EB=8B=A8=EB=B0=94=20px?= =?UTF-8?q?=20->=20=EB=B7=B0=ED=8F=AC=ED=8A=B8=20=EB=8B=A8=EC=9C=84=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Topbar.tsx | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/components/Topbar.tsx b/src/components/Topbar.tsx index a36f513..062716e 100644 --- a/src/components/Topbar.tsx +++ b/src/components/Topbar.tsx @@ -4,24 +4,22 @@ const Topbar: React.FC = () => { const [activeTab, setActiveTab] = useState('학습 관리'); return ( -
+
{/* 탭 메뉴 */} -