mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? Feat: Add agent page. #3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -1,3 +1,33 @@
|
||||
import { PageHeader } from '@/components/page-header';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { useNavigatePage } from '@/hooks/logic-hooks/navigate-hooks';
|
||||
import { Trash2 } from 'lucide-react';
|
||||
|
||||
export default function Agent() {
|
||||
return <div>Agent</div>;
|
||||
const { navigateToAgentList } = useNavigatePage();
|
||||
|
||||
return (
|
||||
<section>
|
||||
<PageHeader back={navigateToAgentList} title="Agent 01">
|
||||
<div className="flex items-center gap-2">
|
||||
<Button variant={'icon'} size={'icon'}>
|
||||
<Trash2 />
|
||||
</Button>
|
||||
<Button variant={'outline'} size={'sm'}>
|
||||
Save
|
||||
</Button>
|
||||
<Button variant={'outline'} size={'sm'}>
|
||||
API
|
||||
</Button>
|
||||
<Button variant={'outline'} size={'sm'}>
|
||||
Run app
|
||||
</Button>
|
||||
|
||||
<Button variant={'tertiary'} size={'sm'}>
|
||||
Publish
|
||||
</Button>
|
||||
</div>
|
||||
</PageHeader>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user