mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-09 14:00:57 +08:00
feat(web): add Data page with embedded nofxos.ai dashboard
- Add Data navigation item before Market in header - Create DataPage component with iframe embedding - Publicly accessible without login required
This commit is contained in:
16
web/src/pages/DataPage.tsx
Normal file
16
web/src/pages/DataPage.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import { useLanguage } from '../contexts/LanguageContext'
|
||||
|
||||
export function DataPage() {
|
||||
const { language } = useLanguage()
|
||||
|
||||
return (
|
||||
<div className="w-full h-[calc(100vh-64px)]">
|
||||
<iframe
|
||||
src="https://nofxos.ai/dashboard"
|
||||
title={language === 'zh' ? '数据中心' : 'Data Center'}
|
||||
className="w-full h-full border-0"
|
||||
allow="fullscreen"
|
||||
/>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user