-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
84 additions
and
18 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
frontend/app/chat/[chatId]/components/DataPanel/DataPanel.module.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
@use "@/styles/Spacings.module.scss"; | ||
|
||
.data_panel_wrapper { | ||
display: flex; | ||
flex-direction: column; | ||
row-gap: Spacings.$spacing05; | ||
} |
14 changes: 14 additions & 0 deletions
14
frontend/app/chat/[chatId]/components/DataPanel/DataPanel.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
"use client"; | ||
|
||
import styles from "./DataPanel.module.scss"; | ||
import RelatedBrains from "./components/RelatedBrains/RelatedBrains"; | ||
|
||
const DataPanel = (): JSX.Element => { | ||
return ( | ||
<div className={styles.data_panel_wrapper}> | ||
<RelatedBrains /> | ||
</div> | ||
); | ||
}; | ||
|
||
export default DataPanel; |
4 changes: 4 additions & 0 deletions
4
...app/chat/[chatId]/components/DataPanel/components/RelatedBrains/RelatedBrains.module.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.related_brains_wrapper { | ||
border-radius: 3px; | ||
border: 1px solid black; | ||
} |
9 changes: 9 additions & 0 deletions
9
frontend/app/chat/[chatId]/components/DataPanel/components/RelatedBrains/RelatedBrains.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
"use client"; | ||
|
||
import styles from "./RelatedBrains.module.scss"; | ||
|
||
const RelatedBrains = (): JSX.Element => { | ||
return <div className={styles.related_brains_wrapper}>hey</div>; | ||
}; | ||
|
||
export default RelatedBrains; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
@use "@/styles/Colors.module.scss"; | ||
@use "@/styles/Spacings.module.scss"; | ||
|
||
.chat_page_container { | ||
display: flex; | ||
flex: 1 1 0%; | ||
background-color: Colors.$ivory; | ||
padding: Spacings.$spacing06; | ||
display: flex; | ||
gap: Spacings.$spacing05; | ||
|
||
&.feeding { | ||
background-color: Colors.$chat-bg-gray; | ||
} | ||
|
||
.data_panel_wrapper { | ||
height: 100%; | ||
width: 25%; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ | |
color: Colors.$black; | ||
|
||
&.hovered { | ||
color: Colors.$accent; | ||
color: Colors.$primary; | ||
} | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,6 @@ | |
color: Colors.$black; | ||
|
||
&.hovered { | ||
color: Colors.$accent; | ||
color: Colors.$primary; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
$white: #FFFFFF; | ||
$black: #11243E; | ||
$primary: #6142D4; | ||
$secondary: #F3ECFF; | ||
$tertiary: #F6F4FF; | ||
$accent: #13ABBA; | ||
$highlight: #FAFAFA; | ||
$ivory: #FCFAF6, | ||
$white: #ffffff; | ||
$black: #11243e; | ||
$primary: #6142d4; | ||
$secondary: #f3ecff; | ||
$tertiary: #f6f4ff; | ||
$accent: #13abba; | ||
$highlight: #fafafa; | ||
$ivory: #fcfaf6; | ||
$chat-bg-gray: #d9d9d9; |