import type { ThemeProps } from "../../types"; import logo from "../../assets/icon.png"; import "./hologram.css"; export default function HologramTheme({ config, state }: ThemeProps) { const { step, progress, installPath } = state; const { texts } = config; const getStatusText = () => { for (let i = texts.progressFrames.length - 1; i >= 0; i--) { if (progress <= texts.progressFrames[i].limit) return texts.progressFrames[i].text; } return texts.progressFrames[texts.progressFrames.length - 1]?.text ?? ""; }; return (
{/* 3D 浮动全息投影仪容器 */}
{/* 全息扫描扫描线 */}
Logo PROJECTION: {config.appDisplayName}
{step === 1 && (

{texts.welcomeTitle}

{texts.welcomeSubtitle}

{installPath}
)} {step === 2 && (
{progress}%
_ {getStatusText()}
{/* 装饰性数据流 */}
{Array.from({ length: 5 }).map((_, i) => (
))}
)} {step === 3 && (

{texts.successTitle}

{texts.successSubtitle}

> LOADED_MODULES:

{texts.features.map(f => (
{f.label}
))}
)}
); }