From 80f1acb7288c9edaa5e369359b411ab496e22e5d Mon Sep 17 00:00:00 2001 From: oikkoikk Date: Fri, 6 Oct 2023 14:09:58 +0900 Subject: [PATCH] [SWM-339] Fix : main page font size --- .../courseMaterial/CourseMaterialIntro.tsx | 2 +- .../main/enrollment/EnrollmentIntro.tsx | 2 +- .../main/scheduling/SchedulingIntro.tsx | 2 +- src/components/main/ui/TextLoopIntro.tsx | 30 ++++--------------- 4 files changed, 8 insertions(+), 28 deletions(-) diff --git a/src/components/main/courseMaterial/CourseMaterialIntro.tsx b/src/components/main/courseMaterial/CourseMaterialIntro.tsx index a7686f2..9fcf641 100644 --- a/src/components/main/courseMaterial/CourseMaterialIntro.tsx +++ b/src/components/main/courseMaterial/CourseMaterialIntro.tsx @@ -4,7 +4,7 @@ export default function CourseMaterialIntro({}) { return ( <>
-

+

퀴즈 강의노트

diff --git a/src/components/main/enrollment/EnrollmentIntro.tsx b/src/components/main/enrollment/EnrollmentIntro.tsx index f0c270e..4b97e43 100644 --- a/src/components/main/enrollment/EnrollmentIntro.tsx +++ b/src/components/main/enrollment/EnrollmentIntro.tsx @@ -4,7 +4,7 @@ export default function EnrollmentIntro({}) { return (
-

+

유튜브 강의 등록

diff --git a/src/components/main/scheduling/SchedulingIntro.tsx b/src/components/main/scheduling/SchedulingIntro.tsx index 13bc20c..5da1be3 100644 --- a/src/components/main/scheduling/SchedulingIntro.tsx +++ b/src/components/main/scheduling/SchedulingIntro.tsx @@ -4,7 +4,7 @@ export default function SchedulingIntro({}) { return ( <>
-

강의 일정 관리

+

강의 일정 관리

diff --git a/src/components/main/ui/TextLoopIntro.tsx b/src/components/main/ui/TextLoopIntro.tsx index 2d1c19f..8aaff00 100644 --- a/src/components/main/ui/TextLoopIntro.tsx +++ b/src/components/main/ui/TextLoopIntro.tsx @@ -34,7 +34,7 @@ const TextLoop = ({ repeatDelay: repeatDelay, delay: type === 'back-up' ? delay : 0 }} - className={`${className} pl-[100%] absolute flex h-full min-w-full gap-3 whitespace-nowrap text-[3px] leading-3 sm:text-sm md:text-lg lg:text-xl xl:text-2xl opacity-90`} + className={`${className} pl-[100%] absolute flex h-full min-w-full gap-3 whitespace-nowrap leading-3 text-xs sm:text-sm md:text-lg lg:text-xl xl:text-2xl opacity-90`} > {children} @@ -44,42 +44,22 @@ const TextLoop = ({ export default function TextLoopIntro({}) { return (
- + {MOTIVATION_GENERAL.map((item, index) => (

{item}

))}
- + {MOTIVATION_GENERAL.map((item, index) => (

{item}

))}
- + {MOTIVATION_SPECIFIC.map((item, index) => (

{item}

))}
- + {MOTIVATION_SPECIFIC.map((item, index) => (

{item}

))}