);
}
@@ -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 (
<>
-
>
);
}
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)',