diff --git a/app/frontend/index.html b/app/frontend/index.html
index a7aa7e9eff..a7b97445e2 100644
--- a/app/frontend/index.html
+++ b/app/frontend/index.html
@@ -3,8 +3,9 @@
onClick(value)}>
+
onClick(value)} style={{ backgroundColor: bgColor }}>
{text}
);
diff --git a/app/frontend/src/components/Example/ExampleList.tsx b/app/frontend/src/components/Example/ExampleList.tsx
index 49c35cbd2d..6f0654bade 100644
--- a/app/frontend/src/components/Example/ExampleList.tsx
+++ b/app/frontend/src/components/Example/ExampleList.tsx
@@ -20,11 +20,15 @@ interface Props {
}
export const ExampleList = ({ onExampleClicked, useGPT4V }: Props) => {
+ const backgroundColors = ["#4ec0ad", "#f36f4c", "#e3e0d1"];
+
return (
{(useGPT4V ? GPT4V_EXAMPLES : DEFAULT_EXAMPLES).map((question, i) => (
-
-
+
))}
diff --git a/app/frontend/src/components/QuestionInput/QuestionInput.module.css b/app/frontend/src/components/QuestionInput/QuestionInput.module.css
index 419523e453..d70ea91c1a 100644
--- a/app/frontend/src/components/QuestionInput/QuestionInput.module.css
+++ b/app/frontend/src/components/QuestionInput/QuestionInput.module.css
@@ -1,21 +1,91 @@
-.questionInputContainer {
- border-radius: 8px;
+/* .questionInputContainer {
+ border-radius: 0.5rem;
box-shadow:
- 0px 8px 16px rgba(0, 0, 0, 0.14),
- 0px 0px 2px rgba(0, 0, 0, 0.12);
- height: 90px;
+ 0px 0.5rem 1rem rgba(0, 0, 0, 0.14),
+ 0px 0px 0.125rem rgba(0, 0, 0, 0.12);
width: 100%;
- padding: 15px;
+ padding: 0.8rem;
background: white;
}
.questionInputTextArea {
width: 100%;
- line-height: 40px;
+ line-height: 2.5rem;
}
.questionInputButtonsContainer {
display: flex;
flex-direction: column;
justify-content: flex-end;
+} */
+
+@media (min-width: 992px) {
+ .questionInputContainer {
+ height: 5.625rem;
+ }
+}
+/* Container wrapping the entire input field */
+.questionInputContainer {
+ width: 63%;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ padding: 16px;
+ background-color: #f2f2f2; /* Light gray background */
+ position: fixed;
+ bottom: 0;
+
+}
+
+div > input{
+ background-color: #f2f2f2 !important;
+}
+
+/* Wrapper for input + send button */
+.inputWrapper {
+ width: 100%;
+ display: flex;
+ align-items: center;
+ background-color: #f2f2f2; /* Slightly darker than outer container */
+ border-radius: 30px; /* Rounded edges */
+ padding: 5px 15px;
+ box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
+}
+
+/* Input field */
+.questionInputTextArea {
+ flex-grow: 1;
+ background: #f2f2f2;
+ border: none;
+ font-size: 16px;
+ font-family: 'Poppins', sans-serif;
+ color: #333;
+ padding: 12px;
+ border-radius: 25px;
+}
+
+/* Hide Fluent UI default border */
+.questionInputTextArea:focus {
+ outline: none;
+}
+
+/* Send Button */
+.sendButton {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ padding: 10px;
+ border-radius: 50%;
+ cursor: pointer;
+ transition: background 0.2s ease-in-out;
+}
+
+.sendButton:hover {
+ background-color: #e0e0e0;
+}
+
+/* Send Icon */
+.sendIcon {
+ color: #3a3a3a; /* Dark gray */
+ font-size: 24px;
}
diff --git a/app/frontend/src/components/QuestionInput/QuestionInput.tsx b/app/frontend/src/components/QuestionInput/QuestionInput.tsx
index f0667e37f8..febe55b492 100644
--- a/app/frontend/src/components/QuestionInput/QuestionInput.tsx
+++ b/app/frontend/src/components/QuestionInput/QuestionInput.tsx
@@ -60,24 +60,45 @@ export const QuestionInput = ({ onSend, disabled, placeholder, clearOnSend, init
}
return (
+ //
+ //
+ //
+ //
+ // } disabled={sendQuestionDisabled} onClick={sendQuestion} />
+ //
+ //
+ // {showSpeechInput && }
+ //
+
+ {/* Styled Input Field */}
-
-
- } disabled={sendQuestionDisabled} onClick={sendQuestion} />
-
+ {/* Send Button */}
+
+
- {showSpeechInput &&
}
-
+
+
+
);
};
diff --git a/app/frontend/src/index.css b/app/frontend/src/index.css
index 44e9bf2eea..b2e86f52ca 100644
--- a/app/frontend/src/index.css
+++ b/app/frontend/src/index.css
@@ -1,5 +1,6 @@
* {
box-sizing: border-box;
+ font-family: 'Poppins', sans-serif;
}
html,
diff --git a/app/frontend/src/pages/chat/Chat.module.css b/app/frontend/src/pages/chat/Chat.module.css
index 4aaaa1ecb2..5719e6e7a8 100644
--- a/app/frontend/src/pages/chat/Chat.module.css
+++ b/app/frontend/src/pages/chat/Chat.module.css
@@ -29,10 +29,11 @@
}
.chatEmptyStateTitle {
- font-size: 4rem;
- font-weight: 600;
+ font-size: 40px;
+ font-weight: 300;
+ line-height: '45px';
margin-top: 0;
- margin-bottom: 30px;
+ margin-bottom: 1.875rem;
}
.chatEmptyStateSubtitle {
diff --git a/app/frontend/src/pages/chat/Chat.tsx b/app/frontend/src/pages/chat/Chat.tsx
index abd8725e04..1d30bef709 100644
--- a/app/frontend/src/pages/chat/Chat.tsx
+++ b/app/frontend/src/pages/chat/Chat.tsx
@@ -331,6 +331,10 @@ const Chat = () => {
return (
+
+
+
+
{showUserUpload &&
}
setIsConfigPanelOpen(!isConfigPanelOpen)} />
@@ -339,9 +343,9 @@ const Chat = () => {
{!lastQuestionRef.current ? (
-
-
Chat with your data
- Ask anything or try an example
+ {/* */}
+ What can i help you with?
+ {/* Ask anything or try an example
*/}
) : (
@@ -413,7 +417,7 @@ const Chat = () => {
makeApiRequest(question)}
showSpeechInput={showSpeechInput}
diff --git a/app/frontend/src/pages/layout/Layout.module.css b/app/frontend/src/pages/layout/Layout.module.css
index ebb860e216..2e29a40bfd 100644
--- a/app/frontend/src/pages/layout/Layout.module.css
+++ b/app/frontend/src/pages/layout/Layout.module.css
@@ -1,7 +1,7 @@
.layout {
display: flex;
- flex-direction: column;
- height: 100%;
+ /* flex-direction: column; */
+ height: 100vh;
}
.header {
@@ -76,3 +76,83 @@
.githubLogo {
height: 20px;
}
+/* Sidebar */
+.sidebar {
+ width: 200px;
+ background-color: #ffffff;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: flex-start;
+ position: fixed;
+ height: 100%;
+ padding-top: 20px;
+ border-right: 1px solid #e0e0e0;
+}
+
+/* Logo Container */
+.logoContainer {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ width: 100%;
+ padding-bottom: 10px;
+}
+
+.logo {
+ width: 80%;
+ height: auto;
+}
+
+
+/* Powered By Text */
+.poweredBy {
+ font-size: 12px;
+ color: #888;
+ margin-top: 10px;
+ margin-left: 10px;
+}
+
+.poweredBy a {
+ text-decoration: none !important; /* Removes underline for any linked text */
+ color: inherit; /* Keeps default color */
+}
+
+
+/* Main Content */
+.mainContent {
+ margin-left: 200px; /* Offset for sidebar */
+ flex-grow: 1;
+ display: flex;
+ flex-direction: column;
+}
+
+/* Header */
+.header {
+ background-color: #ffffff;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ padding: 15px 20px;
+ border-bottom: 1px solid #e0e0e0;
+}
+
+.headerTitle {
+ font-size: 20px;
+ font-weight: bold;
+ color: #1abc9c;
+}
+
+/* Info Icon */
+.infoIcon {
+ font-size: 24px;
+ color: #1abc9c;
+ cursor: pointer;
+}
+
+/* Page Content */
+.pageContent {
+ flex-grow: 1;
+ padding: 20px;
+ overflow-y: auto;
+}
\ No newline at end of file
diff --git a/app/frontend/src/pages/layout/Layout.tsx b/app/frontend/src/pages/layout/Layout.tsx
index 157a6ffd3a..13bbdcd7eb 100644
--- a/app/frontend/src/pages/layout/Layout.tsx
+++ b/app/frontend/src/pages/layout/Layout.tsx
@@ -1,53 +1,40 @@
-import { Outlet, NavLink, Link } from "react-router-dom";
-
+import { Outlet, Link } from "react-router-dom";
import github from "../../assets/github.svg";
-
import styles from "./Layout.module.css";
-
import { useLogin } from "../../authConfig";
-
import { LoginButton } from "../../components/LoginButton";
+import { Info24Regular } from "@fluentui/react-icons"; // Fluent UI info icon
const Layout = () => {
return (