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:
3
src/components/ui/ai-edit-style.ts
Normal file
3
src/components/ui/ai-edit-style.ts
Normal 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 = ''
|
||||
22
src/components/ui/icons/AISparklesIcon.tsx
Normal file
22
src/components/ui/icons/AISparklesIcon.tsx
Normal 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>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user