From 3616b7084ff01129ce513c67628eaeab97864d43 Mon Sep 17 00:00:00 2001 From: hyuna Date: Thu, 25 Apr 2024 15:19:59 +0900 Subject: [PATCH] =?UTF-8?q?fix=20:=20=ED=8F=B0=ED=8A=B8=20=EC=97=90?= =?UTF-8?q?=EB=9F=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/background/index.tsx | 2 +- src/components/header.tsx | 2 +- src/components/input/auto.tsx | 4 ++-- src/components/input/index.tsx | 6 +++--- src/components/modal/index.tsx | 4 ++-- src/components/tab/index.tsx | 4 ++-- src/style/global.css | 4 ---- 7 files changed, 11 insertions(+), 15 deletions(-) diff --git a/src/components/background/index.tsx b/src/components/background/index.tsx index b5803b2..c0d9843 100644 --- a/src/components/background/index.tsx +++ b/src/components/background/index.tsx @@ -28,7 +28,7 @@ const BackGround: React.FC = ({
-
+
{title}
{subTitle}
diff --git a/src/components/header.tsx b/src/components/header.tsx index 3fa06b3..f31981d 100644 --- a/src/components/header.tsx +++ b/src/components/header.tsx @@ -26,7 +26,7 @@ const Header: NextPage = ({}) => { -
+
{teacherName ? `${teacherName}선생님` : "선생님"}
diff --git a/src/components/input/auto.tsx b/src/components/input/auto.tsx index a2d755e..357aafb 100644 --- a/src/components/input/auto.tsx +++ b/src/components/input/auto.tsx @@ -42,7 +42,7 @@ const AutoInput: React.FC = ({ const [selectedValues, setSelectedValues] = useState([]); const { data: GetStudentMutate } = AllStudent(); - const containerClassName = `font-sans w-${width} h-auto border border-neutral-900 rounded flex justify-between items-center px-2 bg-neutral-900 hover:border-neutral-500 hover:bg-white active:border-secondary-500 caret-primary-500 focus:border-secondary-500`; + const containerClassName = ` w-${width} h-auto border border-neutral-900 rounded flex justify-between items-center px-2 bg-neutral-900 hover:border-neutral-500 hover:bg-white active:border-secondary-500 caret-primary-500 focus:border-secondary-500`; const [data, setData] = useState([]); @@ -64,7 +64,7 @@ const AutoInput: React.FC = ({ const [student, setStudent] = useState([]); const inputClassName = - "h-10 px-2 border-none bg-transparent placeholder-neutral-500 focus:outline-none rounded font-sans w-full"; + "h-10 px-2 border-none bg-transparent placeholder-neutral-500 focus:outline-none rounded w-full"; const handleInputChange = (inputText: string) => { const filtered = student?.filter((item) => diff --git a/src/components/input/index.tsx b/src/components/input/index.tsx index e3782ac..81dd969 100644 --- a/src/components/input/index.tsx +++ b/src/components/input/index.tsx @@ -39,7 +39,7 @@ const Input: React.FC = ({ }) => { const [showOpen, setShowOpen] = useState(false); - const containerClassName = ` font-sans w-${width} h-${height} border border-neutral-900 rounded flex justify-between items-center px-2 + const containerClassName = ` w-${width} h-${height} border border-neutral-900 rounded flex justify-between items-center px-2 ${ error ? "border-error-500 bg-error-900" @@ -50,12 +50,12 @@ const Input: React.FC = ({ `; const inputClassName = ` h-10 w-full px-2 border-none bg-transparent placeholder-neutral-500 - focus:outline-none rounded font-sans + focus:outline-none rounded `; return (
- +
= ({ {type === "button" || type === "error" ? (
-
+
{heading1 &&
{heading1}
} {heading2 &&
{heading2}
}
-
+
{buttonMessage}하기 선택하면 다시 변경할 수 없습니다.
{renderButtons()} diff --git a/src/components/tab/index.tsx b/src/components/tab/index.tsx index 4d819a1..44b1133 100644 --- a/src/components/tab/index.tsx +++ b/src/components/tab/index.tsx @@ -11,8 +11,8 @@ const Tab: React.FC = ({ firstText, SecondText, onClick }) => { const selectTabClass = (tab: boolean) => selectedTab === tab - ? "font-sans text-sub-title3-B w-full border-b-1 border-primary-500 py-3 flex items-center justify-center select-none" - : "font-sans text-sub-title3-B0 py-3 w-full flex items-center justify-center select-none"; + ? " text-sub-title3-B w-full border-b-1 border-primary-500 py-3 flex items-center justify-center select-none" + : " text-sub-title3-B0 py-3 w-full flex items-center justify-center select-none"; const handleTabClick = (tab: boolean) => { setSelectedTab(tab); diff --git a/src/style/global.css b/src/style/global.css index 88b1899..b5c61c9 100644 --- a/src/style/global.css +++ b/src/style/global.css @@ -1,7 +1,3 @@ @tailwind base; @tailwind components; @tailwind utilities; - -.font-sans { - font-family: "Noto Sans KR"; -}