mirror of https://github.com/kortix-ai/suna.git
chore(dev): configuarble agents
This commit is contained in:
parent
6be69decdb
commit
f5c12674fa
|
@ -26,9 +26,9 @@ import { config } from '@/lib/config';
|
||||||
import { useInitiateAgentWithInvalidation } from '@/hooks/react-query/dashboard/use-initiate-agent';
|
import { useInitiateAgentWithInvalidation } from '@/hooks/react-query/dashboard/use-initiate-agent';
|
||||||
import { ModalProviders } from '@/providers/modal-providers';
|
import { ModalProviders } from '@/providers/modal-providers';
|
||||||
import { AgentSelector } from '@/components/dashboard/agent-selector';
|
import { AgentSelector } from '@/components/dashboard/agent-selector';
|
||||||
|
import { cn } from '@/lib/utils';
|
||||||
import { useModal } from '@/hooks/use-modal-store';
|
import { useModal } from '@/hooks/use-modal-store';
|
||||||
import { Examples } from './_components/suggestions/examples';
|
import { Examples } from './_components/suggestions/examples';
|
||||||
import { cn } from '@/lib/utils';
|
|
||||||
|
|
||||||
const PENDING_PROMPT_KEY = 'pendingAgentPrompt';
|
const PENDING_PROMPT_KEY = 'pendingAgentPrompt';
|
||||||
|
|
||||||
|
@ -160,29 +160,20 @@ function DashboardContent() {
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<div className={cn(
|
<div className="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 w-[650px] max-w-[90%]">
|
||||||
"flex-1 flex flex-col items-center justify-center px-4",
|
<div className="flex flex-col items-center text-center w-full">
|
||||||
"lg:justify-center",
|
<div className="flex items-center gap-1">
|
||||||
"sm:justify-center sm:px-6"
|
<h1 className="tracking-tight text-4xl text-muted-foreground leading-tight">
|
||||||
)}>
|
Hey, I am
|
||||||
<div className={cn(
|
</h1>
|
||||||
"flex flex-col items-center text-center w-full",
|
<AgentSelector
|
||||||
"max-w-full",
|
selectedAgentId={selectedAgentId}
|
||||||
"sm:max-w-3xl"
|
onAgentSelect={setSelectedAgentId}
|
||||||
)}>
|
variant="heading"
|
||||||
<h1 className={cn(
|
/>
|
||||||
'tracking-tight font-semibold leading-tight',
|
</div>
|
||||||
'text-3xl',
|
<p className="tracking-tight text-3xl font-normal text-muted-foreground/80 mt-2">
|
||||||
'sm:text-4xl'
|
What would you like to do today?
|
||||||
)}>
|
|
||||||
Hey
|
|
||||||
</h1>
|
|
||||||
<p className={cn(
|
|
||||||
"tracking-tight font-normal text-muted-foreground/80 mt-2 flex items-center gap-2",
|
|
||||||
"text-2xl",
|
|
||||||
"sm:text-3xl sm:mt-3 sm:px-4"
|
|
||||||
)}>
|
|
||||||
What would you like Suna to do today?
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue