feat(tarot): 라우팅 4 페이지 + navLinks 추가 (T17)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -134,3 +134,12 @@ export const IconInsta = () =>
|
|||||||
<circle cx="17.5" cy="6.5" r="1" fill="currentColor" strokeWidth="0" />
|
<circle cx="17.5" cy="6.5" r="1" fill="currentColor" strokeWidth="0" />
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|
||||||
|
export const IconTarot = () =>
|
||||||
|
svg(
|
||||||
|
<>
|
||||||
|
<rect x="5" y="3" width="14" height="18" rx="2" />
|
||||||
|
<path d="M12 7v10M9 12h6" />
|
||||||
|
<circle cx="12" cy="12" r="3" />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ import {
|
|||||||
IconTodo,
|
IconTodo,
|
||||||
IconInsta,
|
IconInsta,
|
||||||
IconPortfolio,
|
IconPortfolio,
|
||||||
|
IconTarot,
|
||||||
} from './components/Icons';
|
} from './components/Icons';
|
||||||
|
|
||||||
const Home = lazy(() => import('./pages/home/Home'));
|
const Home = lazy(() => import('./pages/home/Home'));
|
||||||
@@ -29,6 +30,10 @@ const Todo = lazy(() => import('./pages/todo/Todo'));
|
|||||||
const MusicStudio = lazy(() => import('./pages/music/MusicStudio'));
|
const MusicStudio = lazy(() => import('./pages/music/MusicStudio'));
|
||||||
const InstaCards = lazy(() => import('./pages/insta/InstaCards'));
|
const InstaCards = lazy(() => import('./pages/insta/InstaCards'));
|
||||||
const Portfolio = lazy(() => import('./pages/portfolio/Portfolio'));
|
const Portfolio = lazy(() => import('./pages/portfolio/Portfolio'));
|
||||||
|
const Tarot = lazy(() => import('./pages/tarot/Tarot'));
|
||||||
|
const TarotTodayCard = lazy(() => import('./pages/tarot/TodayCard'));
|
||||||
|
const TarotReading = lazy(() => import('./pages/tarot/Reading'));
|
||||||
|
const TarotHistory = lazy(() => import('./pages/tarot/History'));
|
||||||
|
|
||||||
export const navLinks = [
|
export const navLinks = [
|
||||||
{
|
{
|
||||||
@@ -139,6 +144,15 @@ export const navLinks = [
|
|||||||
icon: <IconLab />,
|
icon: <IconLab />,
|
||||||
accent: '#fbbf24',
|
accent: '#fbbf24',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
id: 'tarot',
|
||||||
|
label: 'Tarot',
|
||||||
|
path: '/tarot',
|
||||||
|
subtitle: 'ARCANA',
|
||||||
|
description: '라이더-웨이트 카드로 오늘과 내일을 비추는 리딩 랩',
|
||||||
|
icon: <IconTarot />,
|
||||||
|
accent: '#a78bfa',
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
export const appRoutes = [
|
export const appRoutes = [
|
||||||
@@ -210,4 +224,20 @@ export const appRoutes = [
|
|||||||
path: 'agent-office',
|
path: 'agent-office',
|
||||||
lazy: () => import('./pages/agent-office/AgentOffice'),
|
lazy: () => import('./pages/agent-office/AgentOffice'),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: 'tarot',
|
||||||
|
element: <Tarot />,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'tarot/today',
|
||||||
|
element: <TarotTodayCard />,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'tarot/reading',
|
||||||
|
element: <TarotReading />,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'tarot/history',
|
||||||
|
element: <TarotHistory />,
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user