Skip to content

Commit 519c854

Browse files
committed
fix css
1 parent 909ce8c commit 519c854

File tree

10 files changed

+29
-29
lines changed

10 files changed

+29
-29
lines changed

components/Chat/ChatMessage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,8 @@ export const ChatMessage: FC<Props> = memo(
261261
<div className="mx-2 flex w-full bg-white sm:mx-4 gap-6">
262262
{message.role === 'assistant' ? (
263263
<img
264-
style={{ width: '32px', height: '32px' }}
265-
src={'./icons/icon-bot.svg'}
264+
style={{ width: '28px', height: '28px', margin: '2px' }}
265+
src="https://www.gaianet.ai/images/footer-logo.png"
266266
alt=""
267267
/>
268268
) : (

components/Chat/SystemPrompt.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ export const SystemPrompt: FC<Props> = ({
212212
// onKeyDown={handleKeyDown}
213213
/>
214214
{error && (
215-
<div className="text-xs text-[#D43327] mt-1">
215+
<div className="text-xs text-[#1c1f23] mt-1">
216216
The prompt of this model cannot be empty!
217217
</div>
218218
)}
@@ -226,7 +226,7 @@ export const SystemPrompt: FC<Props> = ({
226226
default
227227
</div> */}
228228
<div
229-
className="inline-flex px-3 py-[6px] capitalize rounded border border-[#D43327] cursor-pointer fm-SpaceMono text-xs text-white bg-[#D43327] leading-5"
229+
className="inline-flex px-3 py-[6px] capitalize rounded border border-[#1c1f23] cursor-pointer fm-SpaceMono text-xs text-white bg-[#1c1f23] leading-5"
230230
onClick={() => handelSave()}
231231
>
232232
save

components/Chatbar/components/ChatbarSettings.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export const ChatbarSettings = () => {
8383
window.open('https://twitter.com/gaianet_ai', '_blank')
8484
}
8585
>
86-
<div className="flex items-center justify-center w-[36px] h-[36px] rounded-[18px] border border-[#322221] cursor-pointer bg-white group-hover:bg-[#D43327] transition-all ">
86+
<div className="flex items-center justify-center w-[36px] h-[36px] rounded-[18px] border border-[#322221] cursor-pointer bg-white group-hover:bg-[#1c1f23] transition-all ">
8787
<img
8888
style={{ width: '18px', height: '18px' }}
8989
src={'./icons/twitter.svg'}
@@ -102,7 +102,7 @@ export const ChatbarSettings = () => {
102102
className="group"
103103
onClick={() => window.open('https://github.com/GaiaNet-AI', '_blank')}
104104
>
105-
<div className="flex items-center justify-center w-[36px] h-[36px] rounded-[18px] border border-[#322221] cursor-pointer bg-white group-hover:bg-[#D43327] transition-all ">
105+
<div className="flex items-center justify-center w-[36px] h-[36px] rounded-[18px] border border-[#322221] cursor-pointer bg-white group-hover:bg-[#1c1f23] transition-all ">
106106
<img
107107
style={{ width: '18px', height: '18px' }}
108108
src={'./icons/github.svg'}
@@ -123,7 +123,7 @@ export const ChatbarSettings = () => {
123123
window.open('https://huggingface.co/gaianet', '_blank')
124124
}
125125
>
126-
<div className="flex items-center justify-center w-[36px] h-[36px] rounded-[18px] border border-[#322221] cursor-pointer bg-white group-hover:bg-[#D43327] transition-all ">
126+
<div className="flex items-center justify-center w-[36px] h-[36px] rounded-[18px] border border-[#322221] cursor-pointer bg-white group-hover:bg-[#1c1f23] transition-all ">
127127
<img
128128
style={{ width: '18px', height: '18px' }}
129129
src={'./icons/huggingface.svg'}

components/Loading/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const Loading = () => {
77
.gaianetLoader {
88
width: 36px;
99
height: 36px;
10-
border: 3px solid #d43327;
10+
border: 3px solid #1c1f23;
1111
border-bottom-color: transparent;
1212
border-radius: 50%;
1313
display: inline-block;

components/Settings/SettingDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ export const SettingDialog: FC<Props> = ({ open, onClose }) => {
119119

120120
<button
121121
type="button"
122-
className="w-full px-4 leading-5 text-sm py-2 mt-8 border border-[#D43327] rounded-lg bg-[#D43327] text-white outline-none transition-all hover:text-[#D43327] hover:bg-white hover:border-[#D43327]"
122+
className="w-full px-4 leading-5 text-sm py-2 mt-8 border border-[#1c1f23] rounded-lg bg-[#1c1f23] text-white outline-none transition-all hover:text-[#1c1f23] hover:bg-white hover:border-[#1c1f23]"
123123
onClick={() => {
124124
handleSave();
125125
onClose();

components/Sidebar/Sidebar.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ const Sidebar = <T,>({
6666
<div className="px-4 ">
6767
<a href="https://www.gaianet.ai/" target="_blank">
6868
<img
69-
className="w-40 h-10 mx-auto cursor-pointer"
70-
src={'./GaiaNet-black.svg'}
69+
className="w-40 mx-auto cursor-pointer"
70+
src="https://www.gaianet.ai/images/logo-dark.png"
7171
alt=""
7272
/>
7373
</a>
@@ -77,7 +77,7 @@ const Sidebar = <T,>({
7777
<button
7878
disabled={!canCreateChat}
7979
className={
80-
'flex w-[202px] h-[42px] flex-shrink-0 select-none items-center text-base justify-center gap-1 bg-[#F7F7F7] group-hover:bg-[#D43327] font-bold rounded text-[#D43327] group-hover:text-[#ffffff] transition-colors duration-200 uppercase fm-SpaceGrotesk ' +
80+
'flex w-[202px] h-[42px] flex-shrink-0 select-none items-center text-base justify-center gap-1 bg-[#F7F7F7] group-hover:bg-[#1c1f23] font-bold rounded text-[#1c1f23] group-hover:text-[#ffffff] transition-colors duration-200 uppercase fm-SpaceGrotesk ' +
8181
(canCreateChat ? 'cursor-pointer' : 'cursor-not-allowed')
8282
}
8383
onClick={() => {
@@ -87,7 +87,7 @@ const Sidebar = <T,>({
8787
>
8888
<IconPlus
8989
size={16}
90-
className="text-[#D43327] group-hover:text-[#ffffff]"
90+
className="text-[#1c1f23] group-hover:text-[#ffffff]"
9191
/>
9292
{addItemButtonTitle}
9393
</button>
@@ -97,7 +97,7 @@ const Sidebar = <T,>({
9797
<button
9898
disabled={!canCreateChat}
9999
className={
100-
'flex flex-shrink-0 items-center justify-center rounded w-[42px] h-[42px] transition-colors duration-200 bg-[#F5F5F5] group-hover:bg-[#D43327] ' +
100+
'flex flex-shrink-0 items-center justify-center rounded w-[42px] h-[42px] transition-colors duration-200 bg-[#F5F5F5] group-hover:bg-[#1c1f23] ' +
101101
(canCreateChat ? 'cursor-pointer' : 'cursor-not-allowed')
102102
}
103103
onClick={handleCreateFolder}

pages/api/home/home.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ const Home = ({
504504
name="viewport"
505505
content="height=device-height ,width=device-width, initial-scale=1, user-scalable=no"
506506
/>
507-
<link rel="icon" href="./favicon.png" />
507+
<link rel="icon" href="https://www.gaianet.ai/favicon.ico" />
508508
</Head>
509509
{selectedConversation && (
510510
<main

public/GaiaNet-black.svg

Lines changed: 6 additions & 6 deletions
Loading

public/GaiaNet-white.svg

Lines changed: 6 additions & 6 deletions
Loading

public/icons/huggingface-white.svg

Lines changed: 2 additions & 2 deletions
Loading

0 commit comments

Comments
 (0)