Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] 로티 절대경로로 변경 #181

Merged
merged 1 commit into from
Jan 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/components/card/lookCard/LookCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const LookCard = ({ name }: LookCardProps) => {
<dotlottie-player
key="look"
className={styles.lottieStyle}
src="src/assets/lotties/home.lottie"
src="/lotties/home.lottie"
autoplay
loop
/>
Expand Down
2 changes: 1 addition & 1 deletion src/components/common/empty/filterEmpty/FilterEmpty.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const FilterEmpty = () => {
<p className={styles.textStyle}>{'해당되는 템플스테이를\n찾지 못했어요'}</p>
<dotlottie-player
key="filter"
src="src/assets/lotties/moktak_sad.lottie"
src="/lotties/moktak_sad.lottie"
autoplay
loop
style={{ width: '15rem', height: '10.3rem' }}
Expand Down
2 changes: 1 addition & 1 deletion src/components/common/empty/searchEmpty/SearchEmpty.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const SearchEmpty = ({ text }: SearchEmptyProps) => {
</p>
<dotlottie-player
key="search"
src="src/assets/lotties/moktak_sad.lottie"
src="/lotties/moktak_sad.lottie"
autoplay
loop
style={{ width: '15rem', height: '10.3rem' }}
Expand Down
4 changes: 2 additions & 2 deletions src/constants/exceptInfos.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
const EXCEPT_INFOS = {
loading: {
title: '',
lottie: 'src/assets/lotties/moktak_hit.lottie',
lottie: '/lotties/moktak_hit.lottie',
subtitle: '연결 중...',
},
networkError: {
title: '잠시 연결이 불안정해요',
lottie: 'src/assets/lotties/tree_fall.lottie',
lottie: '/lotties/tree_fall.lottie',
subtitle: '새로고침 버튼을 눌러주세요!',
},
};
Expand Down
4 changes: 2 additions & 2 deletions src/constants/loginInfos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ const LOGIN_INFOS = {
my: {
title: '마이페이지',
text: '로그인 하고 절로가를\n200% 즐겨볼까요?',
lottie: 'src/assets/lotties/yellow_light_smile.lottie',
lottie: '/lotties/yellow_light_smile.lottie',
},
wish: {
title: '위시리스트',
text: '로그인 하고\n나만의 위시리스트를\n만들어볼까요?',
lottie: 'src/assets/lotties/pink_light_smile.lottie',
lottie: '/lotties/pink_light_smile.lottie',
},
};

Expand Down
7 changes: 1 addition & 6 deletions src/pages/welcomePage/WelcomePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,7 @@ const WelcomePage = () => {
<div className={styles.container}>
<h1 className={styles.titleStyle}>{`${userName}${WELCOME_TEXT}`}</h1>
<div className={styles.lottieStyle}>
<dotlottie-player
key="onboarding"
src="src/assets/lotties/onboarding.lottie"
autoplay
loop
/>
<dotlottie-player key="onboarding" src="/lotties/onboarding.lottie" autoplay loop />
</div>
<PageBottomBtn btnText="절로가 시작하기" size="large" onClick={handleStart} />
</div>
Expand Down
Loading