import * as React from 'react'; import { motion } from 'motion/react'; import { cn } from '@/lib/utils'; import { FileTextIcon } from 'lucide-react'; import { useTranslations } from 'next-intl'; /** * 加载页面组件 * * 用于统一显示加载状态 * @example * ```tsx * * ``` * @param {string} text - 显示的文本内容,默认为"系统" * @param {string} badgeText - 显示的徽章文本,默认为"系统" * @returns {React.ReactNode} 加载页面组件 */ export function AppleSpinner({ className = 'size-8 text-muted-foreground', }: { className?: string; }) { const spokes = Array.from({ length: 12 }); return (