Major updates and improvements to BZZZ system

- Updated configuration and deployment files
- Improved system architecture and components
- Enhanced documentation and testing
- Fixed various issues and added new features

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
anthonyrawlins
2025-09-17 18:06:57 +10:00
parent 4e6140de03
commit f5f96ba505
71 changed files with 664 additions and 3823 deletions

View File

@@ -0,0 +1,43 @@
'use client'
import { useEffect, useState } from 'react'
interface VersionInfo {
version: string
full_version: string
timestamp: number
}
export default function VersionDisplay() {
const [versionInfo, setVersionInfo] = useState<VersionInfo | null>(null)
useEffect(() => {
const fetchVersion = async () => {
try {
const response = await fetch('/api/version')
if (response.ok) {
const data = await response.json()
setVersionInfo(data)
}
} catch (error) {
console.warn('Failed to fetch version:', error)
}
}
fetchVersion()
}, [])
if (!versionInfo) {
return (
<div className="text-xs text-gray-500">
BZZZ
</div>
)
}
return (
<div className="text-xs text-gray-500">
BZZZ {versionInfo.full_version}
</div>
)
}