feat: add asset library download button, fix env ports, update README, optimize semantics, support multi-image reading, and allow voiceover analysis for silent segments

This commit is contained in:
saturn
2026-03-13 17:37:52 +08:00
parent be1853534a
commit eec27fbabf
41 changed files with 977 additions and 187 deletions

View File

@@ -0,0 +1,3 @@
export const AI_EDIT_BUTTON_CLASS = 'bg-[var(--glass-bg-surface-strong)] border border-[var(--glass-stroke-base)] shadow-sm hover:bg-[var(--glass-bg-surface)]'
export const AI_EDIT_ICON_CLASS = ''

View File

@@ -0,0 +1,22 @@
import { Sparkles } from 'lucide-react'
import { useId } from 'react'
interface AISparklesIconProps {
className?: string
}
export default function AISparklesIcon({ className }: AISparklesIconProps) {
const gradientId = useId().replace(/:/g, '')
return (
<Sparkles className={className} stroke={`url(#${gradientId})`}>
<defs>
<linearGradient id={gradientId} x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" stopColor="#06b6d4" />
<stop offset="52%" stopColor="#3b82f6" />
<stop offset="100%" stopColor="#8b5cf6" />
</linearGradient>
</defs>
</Sparkles>
)
}