feat: update residence learning flows

Commit non-media application and asset changes while leaving audio, video, and environment files out of version control.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
zhongyidianandClaude Opus 4.7 committed 2026-05-13 10:15:26 +08:00
1 parent 68ba22a33f
commit 6d40e19346
184 files changed
+7663 -2203

No files matched your search

+16 -6
View File
@@ -4,6 +4,8 @@ import Home from '@/pages/Home'
import NotFound from '@/pages/NotFound'
import Menu from '@/pages/Menu'
import Entrance from '@/pages/entrance'
import LearningMap from '@/pages/learning-map'
import SpotlightMap from '@/pages/learning-map/spotlight'
//各个故居路由
import {
@@ -14,8 +16,8 @@ import {
LuxunRoutes,
ZhanglepingRoutes,
NieerRoutes,
RongdeshengRoutes,
} from './modules'
import { RongdeshengRoutes } from './modules/rongdesheng'
const baseRoutes: RouteObject[] = [
{
@@ -26,6 +28,18 @@ const baseRoutes: RouteObject[] = [
path: '/home',
element: <Home />,
},
{
path: '/menu',
element: <Menu />,
},
{
path: '/learning-map',
element: <LearningMap />,
},
{
path: '/map/spotlight/:residence',
element: <SpotlightMap />,
},
/**
* 沪上故居-分为四个类型-8个故居
* 类型:1:革命先驱、文化名人、艺术名家、经济巨擘
@@ -36,11 +50,7 @@ const baseRoutes: RouteObject[] = [
* 经济巨擘:荣德生、陈云
*/
{
path: '/menu',
element: <Menu />,
},
{
path: '/entrance/:moduleName',
path: '/:moduleName',
element: <Entrance />,
},
]
-3
View File
@@ -81,9 +81,6 @@ export const SunzhongshanRoutes: RouteObject[] = [
{
path: 'internalization',
element: <SunzhongshanInternalization />,
handle: {
videoSrc: 'video/sunzhongshan/internalization.mp4',
},
},
],
},