Skip to content

Commit

Permalink
Merge pull request #36 from fahad-ali1/Fahad_branch
Browse files Browse the repository at this point in the history
Adds macewan logo to chatbot
  • Loading branch information
fahad-ali1 authored Jan 9, 2025
2 parents 09de852 + e1b307a commit 10d8a24
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
10 changes: 9 additions & 1 deletion front-end/src/components/ChatHeader.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import ChatbotIcon from '../images/ChatbotMacewanIcon.png';

/**
* ChatHeader Component
* Displays the chat header with a title and a button to clear the chat.
Expand All @@ -7,7 +9,13 @@
*/
const ChatHeader = ({ clearChat }) => (
<header>
<h3>MacEwan Assistant</h3>
<h3>
<img
src={ChatbotIcon}
alt="MacEwan Logo"
style={{ width: "125px", marginRight: "8px" }}
/>
</h3>
<button onClick={clearChat} id="clear-btn" title="Clear chat">
🗑️
</button>
Expand Down
Binary file added front-end/src/images/ChatbotMacewanIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 8 additions & 1 deletion front-end/src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ body {

.chatbot-container textarea {
flex-grow: 1;
height: 2.5rem;
max-height: 2.5rem;
border: 1px solid #ccc;
outline: none;
font-size: 1rem;
Expand Down Expand Up @@ -235,4 +235,11 @@ body {
bottom: 5%;
right: 5%;
}

#app-container {
background-image: url("./images/ExampleMacewanHomepagePhone.jpeg");
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}
}

0 comments on commit 10d8a24

Please sign in to comment.