Chaitu2112 commited on
Commit
27fdca0
·
verified ·
1 Parent(s): b06b234

Update src/App.jsx

Browse files
Files changed (1) hide show
  1. src/App.jsx +13 -6
src/App.jsx CHANGED
@@ -1,14 +1,21 @@
1
- import React from 'react';
2
- import ICFAIChatbot from './components/ICFAIChatbot';
 
 
 
3
 
4
- function App() {
5
  return (
6
- <div className="min-h-screen flex items-center justify-center bg-gradient-to-br from-indigo-500 to-purple-600 p-4">
7
- <div className="w-full max-w-md h-[650px] bg-white rounded-2xl shadow-2xl overflow-hidden flex flex-col">
 
 
8
  <ICFAIChatbot />
9
  </div>
10
  </div>
11
  );
12
  }
13
 
14
- export default App;
 
 
 
1
+ // App.jsx (or src/main page where chatbot mounts)
2
+ import React from "react";
3
+ import ReactDOM from "react-dom/client";
4
+ import ICFAIChatbot from "./components/ICFAIChatbot"; // adjust path if needed
5
+ import "./index.css"; // your global tailwind / css
6
 
7
+ export default function App() {
8
  return (
9
+ <div className="min-h-screen min-w-0">
10
+ {/* Force full-screen gradient background and horizontal layout */}
11
+ <div className="flex w-full min-h-screen">
12
+ {/* chatbot component should internally implement the 600px sidebar + chat flex */}
13
  <ICFAIChatbot />
14
  </div>
15
  </div>
16
  );
17
  }
18
 
19
+ // index render (main entry)
20
+ const root = ReactDOM.createRoot(document.getElementById("root"));
21
+ root.render(<App />);