From 8bec5256113c5d686e6057a1e509eb485991c49e Mon Sep 17 00:00:00 2001 From: Son Daehyeon Date: Thu, 12 Sep 2024 11:53:03 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20tailwind=20arbitrary=20values=20?= =?UTF-8?q?=EC=A7=80=EC=96=91=20(#32)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * refactor(hook): useWinkApi를 api/hook에서 /hook으로 * refactor(tailwind): Arbitrary values 지양 --- src/api/hook/index.ts | 1 - src/api/index.ts | 1 - src/app/login/page.tsx | 19 +++++----- src/app/page.tsx | 12 +++---- src/app/project/page.tsx | 16 ++++----- src/app/signup/page.tsx | 28 ++++++++------- src/app/study/page.tsx | 26 +++++++------- src/components/Button.tsx | 2 +- src/components/Carousel.tsx | 6 ++-- src/components/Footer.tsx | 12 +++---- src/components/Header.tsx | 16 ++++----- src/components/Loading.tsx | 2 +- src/components/ProjectCard.tsx | 17 ++++----- src/components/StudyCard.tsx | 12 +++---- src/components/WebInKookmin.tsx | 36 +++++++++---------- src/components/form/TextField.tsx | 4 +-- .../useWinkApi.ts => hook/useWinkApi.tsx} | 2 +- tailwind.config.js | 29 +++++++++++++++ 18 files changed, 131 insertions(+), 110 deletions(-) delete mode 100644 src/api/hook/index.ts rename src/{api/hook/useWinkApi.ts => hook/useWinkApi.tsx} (83%) diff --git a/src/api/hook/index.ts b/src/api/hook/index.ts deleted file mode 100644 index 3cb4175..0000000 --- a/src/api/hook/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './useWinkApi'; diff --git a/src/api/index.ts b/src/api/index.ts index d29ff24..a1a08fa 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -2,5 +2,4 @@ export * from './WinkApi'; export * from './WinkApiApplication'; export * from './domain'; -export * from './hook'; export * from './request'; diff --git a/src/app/login/page.tsx b/src/app/login/page.tsx index fe5a85c..974ec60 100644 --- a/src/app/login/page.tsx +++ b/src/app/login/page.tsx @@ -54,17 +54,17 @@ export default function LoginPage() { return ( <> -
+
-

+

국민대학교 소프트웨어융합대학 유일무이 Web 동아리

-
-
+
+
-
+
diff --git a/src/app/signup/page.tsx b/src/app/signup/page.tsx index cfd3b5d..92a0f27 100644 --- a/src/app/signup/page.tsx +++ b/src/app/signup/page.tsx @@ -81,7 +81,7 @@ export default function SignUp() { disabled: !!values.verifyToken, button: ( diff --git a/src/components/Button.tsx b/src/components/Button.tsx index 5312228..cf68b4c 100644 --- a/src/components/Button.tsx +++ b/src/components/Button.tsx @@ -7,7 +7,7 @@ interface ButtonProps extends ButtonHTMLAttributes { export const Button: React.FC = ({ className, label, ...rest }) => { return (