diff --git a/apps/docs/components/docs-chat/DocsChat.tsx b/apps/docs/components/docs-chat/DocsChat.tsx index 17227f361c..8c53ab49a0 100644 --- a/apps/docs/components/docs-chat/DocsChat.tsx +++ b/apps/docs/components/docs-chat/DocsChat.tsx @@ -3,6 +3,7 @@ import { FC } from "react"; import { AssistantModal, + AssistantModalPrimitive, ChatModelAdapter, useLocalRuntime, } from "@assistant-ui/react"; @@ -11,6 +12,11 @@ import { makePrismAsyncSyntaxHighlighter } from "@assistant-ui/react-syntax-high import { coldarkDark } from "react-syntax-highlighter/dist/esm/styles/prism"; import remarkGfm from "remark-gfm"; import { Thread, type ThreadConfig } from "@assistant-ui/react"; +import entelligenceLogoLight from "./entelligence-light.png"; +import entelligenceLogoDark from "./entelligence-dark.png"; +import Image from "next/image"; +import Composer from "@assistant-ui/react/ui/composer"; +import ThreadWelcome from "@assistant-ui/react/ui/thread-welcome"; function asAsyncIterable(source: ReadableStream): AsyncIterable { return { @@ -80,7 +86,7 @@ export const DocsChat = () => { @@ -90,10 +96,58 @@ export const DocsChat = () => { const MyAssistantModal: FC = (config) => { return ( - + - + ); }; + +const MyAssistantModalTrigger: FC = () => { + return ( + + + + + + ); +}; + +const MyThread: FC = () => { + return ( + + + + + + + + + + + + + + In partnership with{" "} + Entelligence Logo + Entelligence Logo + + + ); +}; diff --git a/apps/docs/components/docs-chat/entelligence-dark.png b/apps/docs/components/docs-chat/entelligence-dark.png new file mode 100644 index 0000000000..855bdaf343 Binary files /dev/null and b/apps/docs/components/docs-chat/entelligence-dark.png differ diff --git a/apps/docs/components/docs-chat/entelligence-light.png b/apps/docs/components/docs-chat/entelligence-light.png new file mode 100644 index 0000000000..03078e0ef3 Binary files /dev/null and b/apps/docs/components/docs-chat/entelligence-light.png differ diff --git a/packages/react/src/ui/assistant-modal.tsx b/packages/react/src/ui/assistant-modal.tsx index fc27b0fa6a..b18658ccbd 100644 --- a/packages/react/src/ui/assistant-modal.tsx +++ b/packages/react/src/ui/assistant-modal.tsx @@ -130,6 +130,8 @@ const exports = { Root: AssistantModalRoot, Trigger: AssistantModalTrigger, Content: AssistantModalContent, + Button: AssistantModalButton, + Anchor: AssistantModalAnchor, }; export default Object.assign(AssistantModal, exports) as typeof AssistantModal &