Skip to content
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
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
"react-toastify": "^11.0.3",
"styled-components": "^6.1.14",
"styled-normalize": "^8.1.1",
"swiper": "^11.2.6",
"zod": "^3.24.1",
"zustand": "^5.0.3"
},
Expand All @@ -63,7 +62,6 @@
"@types/node": "^22.10.7",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@types/swiper": "^6.0.0",
"@typescript-eslint/eslint-plugin": "5.59.9",
"@typescript-eslint/parser": "5.59.9",
"@vite-pwa/assets-generator": "^0.2.6",
Expand Down
9 changes: 0 additions & 9 deletions src/app/Router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@ const LazyHome = lazy(() =>
const LazyLogin = lazy(() =>
import('@/pages/login').then(({ LoginPage }) => ({ default: LoginPage }))
);
const LazyOnboarding = lazy(() =>
import('@/pages/onboarding').then(({ OnboardingPage }) => ({
default: OnboardingPage,
}))
);
const LazyMyLinks = lazy(() =>
import('@/pages/myLinks').then(({ MyLinksPage }) => ({
default: MyLinksPage,
Expand Down Expand Up @@ -86,10 +81,6 @@ function AppRouter() {
loader: checkAuth,
element: <Outlet />,
children: [
{
path: ROUTE.onboarding,
element: <LazyOnboarding />,
},
{
path: ROUTE.home,
element: <LazyHome />,
Expand Down
2 changes: 1 addition & 1 deletion src/pages/login/LoginPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function LoginPage() {
} else if (!token) {
getGuestToken();
} else {
navigate(ROUTE.onboarding);
navigate(ROUTE.home);
}
};

Expand Down
102 changes: 0 additions & 102 deletions src/pages/onboarding/OnboardingPage.style.ts

This file was deleted.

137 changes: 0 additions & 137 deletions src/pages/onboarding/OnboardingPage.tsx

This file was deleted.

1 change: 0 additions & 1 deletion src/pages/onboarding/index.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/shared/assets/lottie/Onboarding_1.json

This file was deleted.

1 change: 0 additions & 1 deletion src/shared/assets/lottie/Onboarding_2.json

This file was deleted.

1 change: 0 additions & 1 deletion src/shared/assets/lottie/Onboarding_3.json

This file was deleted.

1 change: 0 additions & 1 deletion src/shared/assets/lottie/Onboarding_4.json

This file was deleted.

Binary file removed src/shared/assets/pngs/Onboarding1.png
Binary file not shown.
1 change: 0 additions & 1 deletion src/shared/config/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ export const BASE_URL = 'https://www.moddo.kr';

export const ROUTE = {
login: '/login',
onboarding: '/onboarding',
home: '/',
myLinks: '/my-links',
my: '/my',
Expand Down
15 changes: 0 additions & 15 deletions src/shared/ui/Lottie/index.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,3 @@ export const Wrapper = styled.div`
position: absolute;
top: 0;
`;

export const ExtendedWrapper = styled(Wrapper)`
width: 100%;
max-width: 100%;
top: -70%;
`;

export const OnboardingWrapper = styled.div`
position: absolute;
width: 90%;
top: 70%;
// 중앙 정렬 코드
left: 50%;
transform: translate(-50%, -50%);
`;
36 changes: 0 additions & 36 deletions src/shared/ui/Lottie/index.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
import Lottie from 'lottie-react';
import coin from '@/shared/assets/lottie/coin.json';
import Onboarding1 from '@/shared/assets/lottie/Onboarding_1.json';
import Onboarding2 from '@/shared/assets/lottie/Onboarding_2.json';
import Onboarding3 from '@/shared/assets/lottie/Onboarding_3.json';
import Onboarding4 from '@/shared/assets/lottie/Onboarding_4.json';
import * as S from './index.styles';

export function CoinLottie() {
Expand All @@ -13,35 +9,3 @@ export function CoinLottie() {
</S.Wrapper>
);
}

export function OnboardingStep1Lottie() {
return (
<S.ExtendedWrapper>
<Lottie animationData={Onboarding1} />
</S.ExtendedWrapper>
);
}

export function OnboardingStep2Lottie() {
return (
<S.OnboardingWrapper>
<Lottie animationData={Onboarding2} />
</S.OnboardingWrapper>
);
}

export function OnboardingStep3Lottie() {
return (
<S.OnboardingWrapper>
<Lottie animationData={Onboarding3} />
</S.OnboardingWrapper>
);
}

export function OnboardingStep4Lottie() {
return (
<S.OnboardingWrapper>
<Lottie animationData={Onboarding4} />
</S.OnboardingWrapper>
);
}
3 changes: 0 additions & 3 deletions src/vite-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
/// <reference types="vite/client" />
declare module 'swiper/css';
declare module 'swiper/css/navigation';
declare module 'swiper/css/pagination';
12 changes: 0 additions & 12 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2420,13 +2420,6 @@
resolved "https://registry.yarnpkg.com/@types/stylis/-/stylis-4.2.5.tgz#1daa6456f40959d06157698a653a9ab0a70281df"
integrity sha512-1Xve+NMN7FWjY14vLoY5tL3BVEQ/n42YLwaqJIPYhotZ9uBHt87VceMwWQpzmdEt2TNXIorIFG+YeCUUW7RInw==

"@types/swiper@^6.0.0":
version "6.0.0"
resolved "https://registry.yarnpkg.com/@types/swiper/-/swiper-6.0.0.tgz#9934ecd569611b660a2a9bf200f25ce5ba4b4d63"
integrity sha512-QPZRgxZ+ivXXtzV43B3LxpXUIC7FE/EoKM+rtxngmgt2M7eeUYypZhyqZD8UxJtlBcUDw/ATGoVeSNpvBBrz2w==
dependencies:
swiper "*"

"@types/tough-cookie@^4.0.5":
version "4.0.5"
resolved "https://registry.yarnpkg.com/@types/tough-cookie/-/tough-cookie-4.0.5.tgz#cb6e2a691b70cb177c6e3ae9c1d2e8b2ea8cd304"
Expand Down Expand Up @@ -6678,11 +6671,6 @@ svg-parser@^2.0.4:
resolved "https://registry.yarnpkg.com/svg-parser/-/svg-parser-2.0.4.tgz#fdc2e29e13951736140b76cb122c8ee6630eb6b5"
integrity sha512-e4hG1hRwoOdRb37cIMSgzNsxyzKfayW6VOflrwvR+/bzrkyxY/31WkbgnQpgtrNp1SdpJvpUAGTa/ZoiPNDuRQ==

swiper@*, swiper@^11.2.6:
version "11.2.6"
resolved "https://registry.yarnpkg.com/swiper/-/swiper-11.2.6.tgz#826943bf87158518ca0b1f57d387272b12a07c52"
integrity sha512-8aXpYKtjy3DjcbzZfz+/OX/GhcU5h+looA6PbAzHMZT6ESSycSp9nAjPCenczgJyslV+rUGse64LMGpWE3PX9Q==

synckit@^0.9.1:
version "0.9.2"
resolved "https://registry.yarnpkg.com/synckit/-/synckit-0.9.2.tgz#a3a935eca7922d48b9e7d6c61822ee6c3ae4ec62"
Expand Down