Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
fixed logos
Browse files Browse the repository at this point in the history
  • Loading branch information
Yusuf Kaka committed Sep 15, 2023
1 parent 093682d commit 4250948
Show file tree
Hide file tree
Showing 6 changed files with 80 additions and 14 deletions.
Binary file added frontend/src/assets/Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 14 additions & 8 deletions frontend/src/assets/Remy.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 10 additions & 2 deletions frontend/src/pages/chat/Chat.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -65,18 +65,26 @@
.chatEmptyStateSubtitle {
font-size: 14px;
}
.chatIcon {
height: 200px;
width: 200px;
}
}

@media (max-width: 480px) {
/* Even smaller font size for screens with a maximum width of 480 pixels */
.chatEmptyStateSubtitle {
font-size: 12px;
}
.chatIcon {
height: 100px;
width: 100px;
}
}

.chatIcon {
height: 62px;
width: 62px;
height: 300px;
width: 300px;
}

.chatMessageStream {
Expand Down
49 changes: 46 additions & 3 deletions frontend/src/pages/chat/Chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import uuid from 'react-uuid';

import styles from "./Chat.module.css";
import Remy from "../../assets/Remy.svg";

import RemyLogo from "../../assets/Logo.png";
import {
ChatMessage,
ConversationRequest,
Expand Down Expand Up @@ -540,7 +540,7 @@ const Chat = () => {
{!messages || messages.length < 1 ? (
<Stack className={styles.chatEmptyState}>
<img
src={Remy}
src={RemyLogo}
className={styles.chatIcon}
aria-hidden="true"
/>
Expand Down Expand Up @@ -685,7 +685,50 @@ const Chat = () => {
)}
{(appStateContext?.state.isChatHistoryOpen && appStateContext?.state.isCosmosDBAvailable?.status !== CosmosDBStatus.NotConfigured) && <ChatHistoryPanel/>}
</Stack>
)}
)
}
<Stack horizontal className={styles.bottomNav}>
<Stack.Item className={styles.bottomNavButtonContainer}>
<IconButton
iconProps={{ iconName: 'Home' }}
className={styles.bottomNavButton}
aria-label="Home"
onClick={() => window.location.href = "/"}
/>
</Stack.Item>
<Stack.Item className={styles.bottomNavButtonContainer}>
<IconButton
iconProps={{ iconName: 'Food' }}
className={styles.bottomNavButton}
aria-label="Recipes"
onClick={() => window.location.href = "/recipes"}
/>
</Stack.Item>
<Stack.Item className={styles.bottomNavButtonContainer}>
<IconButton
iconProps={{ iconName: 'Calendar' }}
className={styles.bottomNavButton}
aria-label="Meal Plan"
onClick={() => window.location.href = "/mealplan"}
/>
</Stack.Item>
<Stack.Item className={styles.bottomNavButtonContainer}>
<IconButton
iconProps={{ iconName: 'ClipboardList' }}
className={styles.bottomNavButton}
aria-label="Inventory"
onClick={() => window.location.href = "/inventory"}
/>
</Stack.Item>
<Stack.Item className={styles.bottomNavButtonContainer}>
<IconButton
iconProps={{ iconName: 'Settings' }}
className={styles.bottomNavButton}
aria-label="Settings"
onClick={() => window.location.href = "/settings"}
/>
</Stack.Item>
</Stack>
</div>
);
};
Expand Down
1 change: 0 additions & 1 deletion frontend/src/pages/layout/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ const Layout = () => {
{(appStateContext?.state.isCosmosDBAvailable?.status !== CosmosDBStatus.NotConfigured) &&
<HistoryButton onClick={handleHistoryClick} text={appStateContext?.state?.isChatHistoryOpen ? "Hide chat history" : "Show chat history"}/>
}
<ShareButton onClick={handleShareClick} />
</Stack>

</Stack>
Expand Down
10 changes: 10 additions & 0 deletions frontend/test_prompt.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
I need your help with dinner tonight for Zarina and I. We're quite hungry and in the mood for something wholesome.

Inventory:
Kitchen: Tomatoes x 4, Onions x 2, Chedar cheese x 500g, Baked beans x 3 tins, White bread x 1 loaf
Spice rack: Salt, Pepper, Paprika
Freezer: Frozen mixed vegetables x 500g

Allergies:
Yusuf: Peanuts
Zarina: Lactose

0 comments on commit 4250948

Please sign in to comment.