From 4973b1e2768ed8193407c8cb96445844e3dec2d4 Mon Sep 17 00:00:00 2001 From: Oracionspace Date: Sat, 24 Feb 2024 14:54:52 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=ED=81=AC=EB=A0=88=EB=94=A7=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/popup/Popup.tsx | 2 ++ src/pages/popup/components/Credit.tsx | 29 +++++++++++++++++++++++++ src/pages/popup/components/FuncList.tsx | 3 --- src/pages/popup/index.css | 13 +++++++++++ 4 files changed, 44 insertions(+), 3 deletions(-) create mode 100644 src/pages/popup/components/Credit.tsx diff --git a/src/pages/popup/Popup.tsx b/src/pages/popup/Popup.tsx index e2478b4..ecd56dd 100644 --- a/src/pages/popup/Popup.tsx +++ b/src/pages/popup/Popup.tsx @@ -4,6 +4,7 @@ import withSuspense from '@src/shared/hoc/withSuspense'; import withErrorBoundary from '@src/shared/hoc/withErrorBoundary'; import FuncList from './components/FuncList'; import FunctionDetailSetting from './components/FunctionDetailSetting'; +import Credit from './components/Credit'; const Popup = () => { const [selectedTab, setSelectedTab] = useState(0); @@ -27,6 +28,7 @@ const Popup = () => { {selectedTab === 0 && } {selectedTab === 1 && } + {selectedTab === 2 && } ); }; diff --git a/src/pages/popup/components/Credit.tsx b/src/pages/popup/components/Credit.tsx new file mode 100644 index 0000000..64f2127 --- /dev/null +++ b/src/pages/popup/components/Credit.tsx @@ -0,0 +1,29 @@ +const Credit = () => { + return ( +
+

크레딧

+ +
+ ); +}; + +export default Credit; diff --git a/src/pages/popup/components/FuncList.tsx b/src/pages/popup/components/FuncList.tsx index 0ac33c4..7d5642c 100644 --- a/src/pages/popup/components/FuncList.tsx +++ b/src/pages/popup/components/FuncList.tsx @@ -41,9 +41,6 @@ const FuncList = () => {
- - -
); diff --git a/src/pages/popup/index.css b/src/pages/popup/index.css index 3ecba06..5eaa61c 100644 --- a/src/pages/popup/index.css +++ b/src/pages/popup/index.css @@ -27,3 +27,16 @@ button { display: inline-flex; justify-content: space-between; } +/* Credit Component */ + +.credit { + display: flex; + flex-direction: column; + align-items: center; + gap: 3px; +} + +.credit > div { + display: flex; + gap: 3px; +}