import { useState } from "react"; import { useNavigate, useParams } from "react-router-dom"; import { Image } from "@/components"; import { getBackgroundImage, getStaticImage } from "@/lib/utils"; const starName = "luxun"; const cityMap: Record<1 | 2 | 3 | 4 | 5, string> = { 1: "luxun/reflection/scene1/绍兴", 2: "luxun/reflection/scene1/北京", 3: "luxun/reflection/scene1/厦门", 4: "luxun/reflection/scene1/广州", 5: "luxun/reflection/scene1/上海", }; const LuxunReflectionScene1 = () => { const navigate = useNavigate(); const { moduleName } = useParams<{ moduleName: string; }>(); return (