diff --git a/packages/admin/public/casper/khaki.svg b/packages/admin/public/casper/khaki.svg deleted file mode 100644 index ce16a837..00000000 --- a/packages/admin/public/casper/khaki.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/packages/admin/public/casper/khaki.webp b/packages/admin/public/casper/khaki.webp new file mode 100644 index 00000000..d791c63d Binary files /dev/null and b/packages/admin/public/casper/khaki.webp differ diff --git a/packages/admin/public/casper/orange.svg b/packages/admin/public/casper/orange.svg deleted file mode 100644 index 281ba4d3..00000000 --- a/packages/admin/public/casper/orange.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/packages/admin/public/casper/orange.webp b/packages/admin/public/casper/orange.webp new file mode 100644 index 00000000..800f0463 Binary files /dev/null and b/packages/admin/public/casper/orange.webp differ diff --git a/packages/admin/public/casper/white.svg b/packages/admin/public/casper/white.svg deleted file mode 100644 index e92bbcfd..00000000 --- a/packages/admin/public/casper/white.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/packages/admin/public/casper/white.webp b/packages/admin/public/casper/white.webp new file mode 100644 index 00000000..8c9362a6 Binary files /dev/null and b/packages/admin/public/casper/white.webp differ diff --git a/packages/admin/public/casper/yellow.svg b/packages/admin/public/casper/yellow.svg deleted file mode 100644 index 062cbdfb..00000000 --- a/packages/admin/public/casper/yellow.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/packages/admin/public/casper/yellow.webp b/packages/admin/public/casper/yellow.webp new file mode 100644 index 00000000..01923305 Binary files /dev/null and b/packages/admin/public/casper/yellow.webp differ diff --git a/packages/common/public/casper/khaki.svg b/packages/common/public/casper/khaki.svg deleted file mode 100644 index ce16a837..00000000 --- a/packages/common/public/casper/khaki.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/packages/common/public/casper/khaki.webp b/packages/common/public/casper/khaki.webp new file mode 100644 index 00000000..d791c63d Binary files /dev/null and b/packages/common/public/casper/khaki.webp differ diff --git a/packages/common/public/casper/orange.svg b/packages/common/public/casper/orange.svg deleted file mode 100644 index 281ba4d3..00000000 --- a/packages/common/public/casper/orange.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/packages/common/public/casper/orange.webp b/packages/common/public/casper/orange.webp new file mode 100644 index 00000000..800f0463 Binary files /dev/null and b/packages/common/public/casper/orange.webp differ diff --git a/packages/common/public/casper/white.svg b/packages/common/public/casper/white.svg deleted file mode 100644 index e92bbcfd..00000000 --- a/packages/common/public/casper/white.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/packages/common/public/casper/white.webp b/packages/common/public/casper/white.webp new file mode 100644 index 00000000..8c9362a6 Binary files /dev/null and b/packages/common/public/casper/white.webp differ diff --git a/packages/common/public/casper/yellow.svg b/packages/common/public/casper/yellow.svg deleted file mode 100644 index 062cbdfb..00000000 --- a/packages/common/public/casper/yellow.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/packages/common/public/casper/yellow.webp b/packages/common/public/casper/yellow.webp new file mode 100644 index 00000000..01923305 Binary files /dev/null and b/packages/common/public/casper/yellow.webp differ diff --git a/packages/common/src/components/chat/Message.tsx b/packages/common/src/components/chat/Message.tsx index 8208b305..720cda61 100644 --- a/packages/common/src/components/chat/Message.tsx +++ b/packages/common/src/components/chat/Message.tsx @@ -8,11 +8,11 @@ interface MessageProps extends Pick { } const TYPES: Record = { - default: { casper: '/casper/white.svg', textColor: 'text-skyblue-500' }, - p: { casper: '/casper/yellow.svg', textColor: 'text-cream-600' }, - l: { casper: '/casper/khaki.svg', textColor: 'text-khaki-400' }, - t: { casper: '/casper/orange.svg', textColor: 'text-orange-500' }, - s: { casper: '/casper/white.svg', textColor: 'text-gray-300' }, + default: { casper: '/casper/white.webp', textColor: 'text-skyblue-500' }, + p: { casper: '/casper/yellow.webp', textColor: 'text-cream-600' }, + l: { casper: '/casper/khaki.webp', textColor: 'text-khaki-400' }, + t: { casper: '/casper/orange.webp', textColor: 'text-orange-500' }, + s: { casper: '/casper/white.webp', textColor: 'text-gray-300' }, }; export default function Message({ @@ -21,7 +21,7 @@ export default function Message({ isMyMessage = false, children, }: PropsWithChildren) { - const category = ['p', 't', 'l', 's'].includes(team) + const category = ['p', 't', 'l', 's'].includes(team?.toLowerCase()) ? (team.toLowerCase() as SocketCategory) : 'default'; const { casper, textColor } = TYPES[category]; diff --git a/packages/user/public/casper/khaki.svg b/packages/user/public/casper/khaki.svg deleted file mode 100644 index ce16a837..00000000 --- a/packages/user/public/casper/khaki.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/packages/user/public/casper/khaki.webp b/packages/user/public/casper/khaki.webp new file mode 100644 index 00000000..d791c63d Binary files /dev/null and b/packages/user/public/casper/khaki.webp differ diff --git a/packages/user/public/casper/orange.svg b/packages/user/public/casper/orange.svg deleted file mode 100644 index 281ba4d3..00000000 --- a/packages/user/public/casper/orange.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/packages/user/public/casper/orange.webp b/packages/user/public/casper/orange.webp new file mode 100644 index 00000000..800f0463 Binary files /dev/null and b/packages/user/public/casper/orange.webp differ diff --git a/packages/user/public/casper/white.svg b/packages/user/public/casper/white.svg deleted file mode 100644 index e92bbcfd..00000000 --- a/packages/user/public/casper/white.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/packages/user/public/casper/white.webp b/packages/user/public/casper/white.webp new file mode 100644 index 00000000..8c9362a6 Binary files /dev/null and b/packages/user/public/casper/white.webp differ diff --git a/packages/user/public/casper/yellow.svg b/packages/user/public/casper/yellow.svg deleted file mode 100644 index 062cbdfb..00000000 --- a/packages/user/public/casper/yellow.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/packages/user/public/casper/yellow.webp b/packages/user/public/casper/yellow.webp new file mode 100644 index 00000000..01923305 Binary files /dev/null and b/packages/user/public/casper/yellow.webp differ diff --git a/packages/user/public/images/hero/casper/cream-bubble.webp b/packages/user/public/images/hero/casper/cream-bubble.webp new file mode 100644 index 00000000..e33d4b04 Binary files /dev/null and b/packages/user/public/images/hero/casper/cream-bubble.webp differ diff --git a/packages/user/public/images/hero/casper/cream.webp b/packages/user/public/images/hero/casper/cream.webp new file mode 100644 index 00000000..7207a50e Binary files /dev/null and b/packages/user/public/images/hero/casper/cream.webp differ diff --git a/packages/user/public/images/hero/casper/khaki.webp b/packages/user/public/images/hero/casper/khaki.webp new file mode 100644 index 00000000..698daff4 Binary files /dev/null and b/packages/user/public/images/hero/casper/khaki.webp differ diff --git a/packages/user/public/images/hero/casper/lighting.webp b/packages/user/public/images/hero/casper/lighting.webp new file mode 100644 index 00000000..ac834d4e Binary files /dev/null and b/packages/user/public/images/hero/casper/lighting.webp differ diff --git a/packages/user/public/images/hero/casper/orange-bubble.webp b/packages/user/public/images/hero/casper/orange-bubble.webp new file mode 100644 index 00000000..d2c9d29f Binary files /dev/null and b/packages/user/public/images/hero/casper/orange-bubble.webp differ diff --git a/packages/user/public/images/hero/casper/orange.webp b/packages/user/public/images/hero/casper/orange.webp new file mode 100644 index 00000000..c9d960c6 Binary files /dev/null and b/packages/user/public/images/hero/casper/orange.webp differ diff --git a/packages/user/public/images/hero/casper/white.webp b/packages/user/public/images/hero/casper/white.webp new file mode 100644 index 00000000..726513c6 Binary files /dev/null and b/packages/user/public/images/hero/casper/white.webp differ diff --git a/packages/user/public/images/hero/effects/light-1.webp b/packages/user/public/images/hero/effects/light-1.webp new file mode 100644 index 00000000..9ba914f7 Binary files /dev/null and b/packages/user/public/images/hero/effects/light-1.webp differ diff --git a/packages/user/public/images/hero/effects/light-2.webp b/packages/user/public/images/hero/effects/light-2.webp new file mode 100644 index 00000000..6acb378b Binary files /dev/null and b/packages/user/public/images/hero/effects/light-2.webp differ diff --git a/packages/user/public/images/hero/effects/light-3.webp b/packages/user/public/images/hero/effects/light-3.webp new file mode 100644 index 00000000..c7360a6c Binary files /dev/null and b/packages/user/public/images/hero/effects/light-3.webp differ diff --git a/packages/user/public/images/hero/effects/light-4.webp b/packages/user/public/images/hero/effects/light-4.webp new file mode 100644 index 00000000..092b64bc Binary files /dev/null and b/packages/user/public/images/hero/effects/light-4.webp differ diff --git a/packages/user/public/images/hero/effects/light-5.webp b/packages/user/public/images/hero/effects/light-5.webp new file mode 100644 index 00000000..e8c79e98 Binary files /dev/null and b/packages/user/public/images/hero/effects/light-5.webp differ diff --git a/packages/user/public/images/hero/effects/light-6.webp b/packages/user/public/images/hero/effects/light-6.webp new file mode 100644 index 00000000..324ce975 Binary files /dev/null and b/packages/user/public/images/hero/effects/light-6.webp differ diff --git a/packages/user/public/images/hero/effects/light-7.webp b/packages/user/public/images/hero/effects/light-7.webp new file mode 100644 index 00000000..ed3c3d38 Binary files /dev/null and b/packages/user/public/images/hero/effects/light-7.webp differ diff --git a/packages/user/public/images/hero/effects/light-8.webp b/packages/user/public/images/hero/effects/light-8.webp new file mode 100644 index 00000000..8f6c4708 Binary files /dev/null and b/packages/user/public/images/hero/effects/light-8.webp differ diff --git a/packages/user/public/images/hero/effects/sparkle.webp b/packages/user/public/images/hero/effects/sparkle.webp new file mode 100644 index 00000000..98b64719 Binary files /dev/null and b/packages/user/public/images/hero/effects/sparkle.webp differ diff --git a/packages/user/public/images/quiz/quiz-hint-casper.webp b/packages/user/public/images/quiz/quiz-hint-casper.webp new file mode 100644 index 00000000..52c947a5 Binary files /dev/null and b/packages/user/public/images/quiz/quiz-hint-casper.webp differ diff --git a/packages/user/src/assets/icons/casper-white.svg b/packages/user/src/assets/icons/casper-white.svg deleted file mode 100644 index 60c83a87..00000000 --- a/packages/user/src/assets/icons/casper-white.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/packages/user/src/assets/icons/event-tab-tag.svg b/packages/user/src/assets/icons/event-tab-tag.svg deleted file mode 100644 index 3c2a178f..00000000 --- a/packages/user/src/assets/icons/event-tab-tag.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/packages/user/src/assets/icons/lighting.svg b/packages/user/src/assets/icons/lighting.svg deleted file mode 100644 index 146aa3fc..00000000 --- a/packages/user/src/assets/icons/lighting.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/packages/user/src/assets/icons/quiz-hint-casper.svg b/packages/user/src/assets/icons/quiz-hint-casper.svg deleted file mode 100644 index 95ba0ad7..00000000 --- a/packages/user/src/assets/icons/quiz-hint-casper.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/packages/user/src/assets/landing-racing/casper/cream-bubble.svg b/packages/user/src/assets/landing-racing/casper/cream-bubble.svg deleted file mode 100644 index 5ad3dfaa..00000000 --- a/packages/user/src/assets/landing-racing/casper/cream-bubble.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/packages/user/src/assets/landing-racing/casper/cream.svg b/packages/user/src/assets/landing-racing/casper/cream.svg deleted file mode 100644 index a25644d2..00000000 --- a/packages/user/src/assets/landing-racing/casper/cream.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/packages/user/src/assets/landing-racing/casper/khaki.svg b/packages/user/src/assets/landing-racing/casper/khaki.svg deleted file mode 100644 index 5e627ae7..00000000 --- a/packages/user/src/assets/landing-racing/casper/khaki.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/packages/user/src/assets/landing-racing/casper/lighting-1.svg b/packages/user/src/assets/landing-racing/casper/lighting-1.svg deleted file mode 100644 index 3f24f6ed..00000000 --- a/packages/user/src/assets/landing-racing/casper/lighting-1.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/packages/user/src/assets/landing-racing/casper/lighting-2.svg b/packages/user/src/assets/landing-racing/casper/lighting-2.svg deleted file mode 100644 index 7472abe4..00000000 --- a/packages/user/src/assets/landing-racing/casper/lighting-2.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/packages/user/src/assets/landing-racing/casper/orange-bubble.svg b/packages/user/src/assets/landing-racing/casper/orange-bubble.svg deleted file mode 100644 index 631b6c1d..00000000 --- a/packages/user/src/assets/landing-racing/casper/orange-bubble.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/packages/user/src/assets/landing-racing/casper/orange.svg b/packages/user/src/assets/landing-racing/casper/orange.svg deleted file mode 100644 index 3db61ace..00000000 --- a/packages/user/src/assets/landing-racing/casper/orange.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/packages/user/src/assets/landing-racing/casper/white.svg b/packages/user/src/assets/landing-racing/casper/white.svg deleted file mode 100644 index 53910596..00000000 --- a/packages/user/src/assets/landing-racing/casper/white.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/packages/user/src/assets/landing-racing/effects/light-1.svg b/packages/user/src/assets/landing-racing/effects/light-1.svg deleted file mode 100644 index 92ac9d3c..00000000 --- a/packages/user/src/assets/landing-racing/effects/light-1.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/packages/user/src/assets/landing-racing/effects/light-2.svg b/packages/user/src/assets/landing-racing/effects/light-2.svg deleted file mode 100644 index 578cff0a..00000000 --- a/packages/user/src/assets/landing-racing/effects/light-2.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/packages/user/src/assets/landing-racing/effects/light-3.svg b/packages/user/src/assets/landing-racing/effects/light-3.svg deleted file mode 100644 index 05c40a9d..00000000 --- a/packages/user/src/assets/landing-racing/effects/light-3.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/packages/user/src/assets/landing-racing/effects/light-4.svg b/packages/user/src/assets/landing-racing/effects/light-4.svg deleted file mode 100644 index 55be2e31..00000000 --- a/packages/user/src/assets/landing-racing/effects/light-4.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/packages/user/src/assets/landing-racing/effects/light-5.svg b/packages/user/src/assets/landing-racing/effects/light-5.svg deleted file mode 100644 index 56cddabd..00000000 --- a/packages/user/src/assets/landing-racing/effects/light-5.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/packages/user/src/assets/landing-racing/effects/light-6.svg b/packages/user/src/assets/landing-racing/effects/light-6.svg deleted file mode 100644 index ffe0cf0e..00000000 --- a/packages/user/src/assets/landing-racing/effects/light-6.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/packages/user/src/assets/landing-racing/effects/light-7.svg b/packages/user/src/assets/landing-racing/effects/light-7.svg deleted file mode 100644 index d0192e8f..00000000 --- a/packages/user/src/assets/landing-racing/effects/light-7.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/packages/user/src/assets/landing-racing/effects/light-8.svg b/packages/user/src/assets/landing-racing/effects/light-8.svg deleted file mode 100644 index 4d89ec9b..00000000 --- a/packages/user/src/assets/landing-racing/effects/light-8.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/packages/user/src/assets/landing-racing/effects/sparkle-1.svg b/packages/user/src/assets/landing-racing/effects/sparkle-1.svg deleted file mode 100644 index be07a76f..00000000 --- a/packages/user/src/assets/landing-racing/effects/sparkle-1.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/packages/user/src/assets/landing-racing/effects/sparkle-2.svg b/packages/user/src/assets/landing-racing/effects/sparkle-2.svg deleted file mode 100644 index 7057a8c7..00000000 --- a/packages/user/src/assets/landing-racing/effects/sparkle-2.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/packages/user/src/components/common/PendingContainer.tsx b/packages/user/src/components/common/PendingContainer.tsx index 88723eff..f4c81096 100644 --- a/packages/user/src/components/common/PendingContainer.tsx +++ b/packages/user/src/components/common/PendingContainer.tsx @@ -2,9 +2,9 @@ export default function PendingContainer({ message }: { message: string }) { return (
- 로딩 중 이미지 + 로딩 중 이미지

{message}

잠시만 기다려주세요...

diff --git a/packages/user/src/components/event/racing/controls/Gauge.tsx b/packages/user/src/components/event/racing/controls/Gauge.tsx index c91a0233..1cea7f53 100644 --- a/packages/user/src/components/event/racing/controls/Gauge.tsx +++ b/packages/user/src/components/event/racing/controls/Gauge.tsx @@ -1,6 +1,5 @@ /* eslint-disable react/no-unused-prop-types */ import { memo, useCallback, useEffect, useMemo, useRef, useState } from 'react'; -import Lightning from 'src/assets/icons/lighting.svg?react'; interface GaugeProps { percentage: number; @@ -19,7 +18,7 @@ const Gauge = memo((props: GaugeProps) => { return (
- + 번개
@@ -20,34 +11,34 @@ export default function Caspers() { function OrangeCasper() { return ( -
+

"거침없이 누구보다 빠르게"

- - + 여행 팀 캐스퍼 말풍선 + 여행 팀 캐스퍼 캐릭터
); } function CreamCasper() { return ( -
+

"캐스퍼의 주인공은 누구?"

- - - - + 펫 팀 캐스퍼 말풍선 + 펫 팀 캐스퍼 캐릭터 + 펫 팀 캐릭터 옆 큰 번개 + 펫 팀 캐릭터 옆 작은 번개
); } function WhiteCasper() { return ( -
- +
+ 공간 팀 캐스퍼 캐릭터
); } @@ -55,7 +46,7 @@ function WhiteCasper() { function KhakiCasper() { return (
- + 레저 팀 캐스퍼 캐릭터
); } diff --git a/packages/user/src/components/home/eventHero/racing/Effects.tsx b/packages/user/src/components/home/eventHero/racing/Effects.tsx index ddc4f2a9..fad1449e 100644 --- a/packages/user/src/components/home/eventHero/racing/Effects.tsx +++ b/packages/user/src/components/home/eventHero/racing/Effects.tsx @@ -1,27 +1,16 @@ -import Light1 from 'src/assets/landing-racing/effects/light-1.svg?react'; -import Light2 from 'src/assets/landing-racing/effects/light-2.svg?react'; -import Light3 from 'src/assets/landing-racing/effects/light-3.svg?react'; -import Light4 from 'src/assets/landing-racing/effects/light-4.svg?react'; -import Light5 from 'src/assets/landing-racing/effects/light-5.svg?react'; -import Light6 from 'src/assets/landing-racing/effects/light-6.svg?react'; -import Light7 from 'src/assets/landing-racing/effects/light-7.svg?react'; -import Light8 from 'src/assets/landing-racing/effects/light-8.svg?react'; -import Sparkle1 from 'src/assets/landing-racing/effects/sparkle-1.svg?react'; -import Sparkle2 from 'src/assets/landing-racing/effects/sparkle-2.svg?react'; - export default function Effects() { return ( <> - - - - - - - - - - + 깜박이는 효과 1 + 깜박이는 효과 2 + 깜박이는 효과 3 + 깜박이는 효과 4 + 깜박이는 효과 5 + 깜박이는 효과 6 + 깜박이는 효과 7 + 깜박이는 효과 8 + 반짝이는 효과 1 + 반짝이는 효과 2 ); } diff --git a/packages/user/src/components/home/quizHint/HintCards.tsx b/packages/user/src/components/home/quizHint/HintCards.tsx index 8f5c605c..c37b7702 100644 --- a/packages/user/src/components/home/quizHint/HintCards.tsx +++ b/packages/user/src/components/home/quizHint/HintCards.tsx @@ -1,5 +1,4 @@ import { ReactElement } from 'react'; -import TalkingOrangeCasper from 'src/assets/icons/quiz-hint-casper.svg?react'; import HintCard from './HintCard.tsx'; import InfoBox from './InfoBox.tsx'; import InfoTitle from './infoTitle.tsx'; @@ -33,7 +32,7 @@ const HINT_CARDS = [ export default function HintCards() { return (
- + 내용을 읽고 스피드 퀴즈를 준비해보세요! {HINT_CARDS.map((hint, index) => { const [left, right] = determinePositions(getHintElements)(hint, index); return ; diff --git a/packages/user/src/components/layout/header/Logo.tsx b/packages/user/src/components/layout/header/Logo.tsx index dca0093c..4ee067ec 100644 --- a/packages/user/src/components/layout/header/Logo.tsx +++ b/packages/user/src/components/layout/header/Logo.tsx @@ -1,5 +1,4 @@ import { useNavigate } from 'react-router-dom'; -import LogoIcon from 'src/assets/icons/casper-white.svg?react'; import RoutePaths from 'src/constants/routePath.ts'; export default function Logo() { @@ -8,7 +7,7 @@ export default function Logo() { return ( ); diff --git a/packages/user/src/components/layout/header/tab/index.tsx b/packages/user/src/components/layout/header/tab/index.tsx index 54740bdc..604fcef6 100644 --- a/packages/user/src/components/layout/header/tab/index.tsx +++ b/packages/user/src/components/layout/header/tab/index.tsx @@ -1,6 +1,5 @@ import { useEffect, useState } from 'react'; import { useLocation, useNavigate } from 'react-router-dom'; -import EventTag from 'src/assets/icons/event-tab-tag.svg?react'; import RoutePaths from 'src/constants/routePath.ts'; import NavigateTab from './NavigateTab.tsx'; import SelectedTabIndicator from './SelectedTabIndicator.tsx'; @@ -35,7 +34,7 @@ export default function NavigateTabs() { isSelected={selectedTab === tab} onSelect={() => handleTabClick(tab)} > - {tab === 'Event' && } + {tab === 'Event' &&

event

} {label} ))} diff --git a/packages/user/src/styles/index.css b/packages/user/src/styles/index.css index 3f59b33a..63e9e233 100644 --- a/packages/user/src/styles/index.css +++ b/packages/user/src/styles/index.css @@ -10,6 +10,7 @@ format('woff2'); font-weight: 800; font-style: normal; + font-display: swap; } @font-face { @@ -17,6 +18,7 @@ src: url('/fonts/HyundaiSansHeadKRBold.woff2') format('woff2'); font-weight: 700; font-style: normal; + font-display: swap; } @font-face { @@ -24,6 +26,7 @@ src: url('/fonts/HyundaiSansHeadKRMedium.woff2') format('woff2'); font-weight: 500; font-style: normal; + font-display: swap; } @font-face { @@ -31,6 +34,7 @@ src: url('/fonts/HyundaiSansHeadKR.woff2') format('woff2'); font-weight: 400; font-style: normal; + font-display: swap; } /** default typography */ diff --git a/packages/user/src/styles/theme/animations.ts b/packages/user/src/styles/theme/animations.ts index 94c00a6b..a1ce0b25 100644 --- a/packages/user/src/styles/theme/animations.ts +++ b/packages/user/src/styles/theme/animations.ts @@ -84,9 +84,9 @@ const animation = { 'sparkle-reverse': 'sparkle-reverse 1.8s ease-in-out infinite', sparkle2: 'sparkle 2s ease-in-out infinite', rotate: 'rotate 0.3s ease-in-out', - rotate1: 'rotate1 1s ease-in-out 5 forwards', - rotate2: 'rotate2 1s ease-in-out 5 forwards', - rotate3: 'rotate3 1s ease-in-out 5 forwards', + rotate1: 'rotate1 1s ease-in-out infinite forwards', + rotate2: 'rotate2 1s ease-in-out infinite forwards', + rotate3: 'rotate3 1s ease-in-out infinite forwards', fold: 'fold 0.6s cubic-bezier(0.455, 0.03, 0.515, 0.955) forwards', unfold: 'unfold 0.6s cubic-bezier(0.455, 0.03, 0.515, 0.955) forwards', 'special-my-casper': 'special-my-casper 2s infinite cubic-bezier(0.4, 0.0, 0.2, 1)',