add rag-view frontend
This commit is contained in:
15
rag-view/src/pages/RagPage/components/Sidebar.jsx
Normal file
15
rag-view/src/pages/RagPage/components/Sidebar.jsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import NewChatButton from "./NewChatButton";
|
||||
import ChatList from "./ChatList";
|
||||
import SettingsPanel from "./SettingsPanel";
|
||||
|
||||
const Sidebar = ({ chats }) => {
|
||||
return (
|
||||
<aside className="w-64 bg-slate-900/80 border-r border-slate-700/50 flex flex-col backdrop-blur-sm">
|
||||
<NewChatButton />
|
||||
<ChatList chats={chats} />
|
||||
<SettingsPanel />
|
||||
</aside>
|
||||
);
|
||||
};
|
||||
|
||||
export default Sidebar;
|
||||
Reference in New Issue
Block a user