From 3b60146c171df3eb33661ce66ef2ecd3a7c96dee Mon Sep 17 00:00:00 2001 From: Drew Harris Date: Fri, 30 Aug 2024 14:14:58 -0500 Subject: [PATCH] feat: add chat and serach playground --- frontends/analytics/src/components/Sidebar.tsx | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/frontends/analytics/src/components/Sidebar.tsx b/frontends/analytics/src/components/Sidebar.tsx index 4e50673b72..72a05ac5e0 100644 --- a/frontends/analytics/src/components/Sidebar.tsx +++ b/frontends/analytics/src/components/Sidebar.tsx @@ -63,6 +63,16 @@ const domainNavbarRoutes = [ label: "API Docs", icon: AiOutlineApi, }, + { + href: "https://search.trieve.ai", + label: "Search Playground", + icon: HiOutlineMagnifyingGlass, + }, + { + href: "https://chat.trieve.ai", + label: "Chat Playground", + icon: IoChatboxOutline, + }, ]; export const Sidebar = (props: NavbarProps) => { @@ -168,7 +178,7 @@ export const Sidebar = (props: NavbarProps) => {
{ window.open(link.href); }} > - {link.icon({ size: "18px" })} + {link.icon({ size: "14px" })} {link.label}
);