- Add GraphQL dashboard operations, ApolloProvider, CardDescription, label/checkbox/alert - Fix case-sensitive UI imports, Crossplane VM metadata uid, VMList spec parsing - Extend next-auth session user (id, role); fairness filters as unknown; ESLint relax to warnings - Remove unused session destructure across pages; next.config without skip TS/ESLint api: GraphQL/WebSocket hardening, logger import in websocket service Made-with: Cursor
30 lines
752 B
TypeScript
30 lines
752 B
TypeScript
'use client'
|
|
|
|
import { useSession } from 'next-auth/react'
|
|
|
|
export default function MLPage() {
|
|
const { status } = useSession()
|
|
|
|
if (status === 'loading') {
|
|
return <div>Loading...</div>
|
|
}
|
|
|
|
if (status === 'unauthenticated') {
|
|
return <div>Please sign in</div>
|
|
}
|
|
|
|
return (
|
|
<div className="container mx-auto p-6">
|
|
<h1 className="text-3xl font-bold mb-6">AI Foundry</h1>
|
|
<p className="text-muted-foreground mb-4">
|
|
ML platform for model training, inference, and pipeline management
|
|
</p>
|
|
{/* ML platform UI will be implemented here */}
|
|
<div className="border rounded-lg p-4">
|
|
<p className="text-sm text-muted-foreground">ML platform interface coming soon</p>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|
|
|