Spaces:
Sleeping
Sleeping
| // App.jsx (or src/main page where chatbot mounts) | |
| import React from "react"; | |
| import ReactDOM from "react-dom/client"; | |
| import ICFAIChatbot from "./components/ICFAIChatbot"; // adjust path if needed | |
| import "./index.css"; // your global tailwind / css | |
| export default function App() { | |
| return ( | |
| <div className="min-h-screen min-w-0"> | |
| {/* Force full-screen gradient background and horizontal layout */} | |
| <div className="flex w-full min-h-screen"> | |
| {/* chatbot component should internally implement the 600px sidebar + chat flex */} | |
| <ICFAIChatbot /> | |
| </div> | |
| </div> | |
| ); | |
| } | |
| // index render (main entry) | |
| const root = ReactDOM.createRoot(document.getElementById("root")); | |
| root.render(<App />); | |