diff options
Diffstat (limited to 'src/routes.ts')
| -rw-r--r-- | src/routes.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/routes.ts b/src/routes.ts index 92eced8..dc351e0 100644 --- a/src/routes.ts +++ b/src/routes.ts @@ -1,9 +1,9 @@ import { ClipboardTextIcon, HouseIcon, InfoIcon, SquaresFourIcon, UserIcon } from '@phosphor-icons/react' import type { Icon } from '@phosphor-icons/react' import type { RouteObject } from 'react-router' -import App from './App.tsx' -import About from './About.tsx' -import Me from './Me.tsx' +import App from './page-home.tsx' +import About from './page-about.tsx' +import Me from './page-about-me.tsx' export type PageRoute = RouteObject & { handle?: { title: string; icon: Icon } @@ -20,13 +20,13 @@ export const pageRoutes = [ { id: 'form', path: '/form', - lazy: async () => ({ Component: (await import('./FormExample.tsx')).default }), + lazy: async () => ({ Component: (await import('./page-form.tsx')).default }), handle: { title: '表单示例', icon: ClipboardTextIcon }, }, { id: 'ui-kit', path: '/ui-kit', - lazy: async () => ({ Component: (await import('./UiKit.tsx')).default }), + lazy: async () => ({ Component: (await import('./page-ui-kit.tsx')).default }), handle: { title: 'UI Kit', icon: SquaresFourIcon }, }, { |
