Remove standalone services (ai-compliance-sdk root, developer-portal, dsms-gateway, dsms-node, night-scheduler) and legacy compliance/dsgvo pages. Add new SDK pipeline modules (academy, document-crawler, dsb-portal, incidents, whistleblower, reporting, sso, multi-tenant, industry-templates). Add drafting engine, legal corpus files (AT/CH/DE), pitch-deck, blog and Förderantrag pages. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
24 lines
588 B
TypeScript
24 lines
588 B
TypeScript
'use client'
|
|
|
|
import { motion } from 'framer-motion'
|
|
|
|
interface ProgressBarProps {
|
|
current: number
|
|
total: number
|
|
}
|
|
|
|
export default function ProgressBar({ current, total }: ProgressBarProps) {
|
|
const progress = ((current + 1) / total) * 100
|
|
|
|
return (
|
|
<div className="fixed top-0 left-0 right-0 z-50 h-1 bg-white/5">
|
|
<motion.div
|
|
className="h-full bg-gradient-to-r from-indigo-500 via-purple-500 to-blue-500"
|
|
initial={{ width: 0 }}
|
|
animate={{ width: `${progress}%` }}
|
|
transition={{ duration: 0.4, ease: 'easeOut' }}
|
|
/>
|
|
</div>
|
|
)
|
|
}
|