Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
JYC0413 committed Sep 4, 2024
1 parent 519c854 commit f6837c8
Show file tree
Hide file tree
Showing 33 changed files with 2,806 additions and 3,338 deletions.
1,164 changes: 559 additions & 605 deletions components/Chat/Chat.tsx

Large diffs are not rendered by default.

1,142 changes: 550 additions & 592 deletions components/Chat/ChatInput.tsx

Large diffs are not rendered by default.

42 changes: 21 additions & 21 deletions components/Chat/ChatLoader.tsx
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
/* eslint-disable @next/next/no-img-element */
import { IconRobot } from '@tabler/icons-react';
import { FC } from 'react';
import {FC} from 'react';

interface Props {}
interface Props {
}

export const ChatLoader: FC<Props> = () => {
return (
<div
className="group bg-white text-gray-800 "
style={{ overflowWrap: 'anywhere' }}
>
<div className="m-auto flex gap-4 p-4 text-base md:max-w-2xl md:gap-6 md:py-6 lg:max-w-2xl lg:px-0 xl:max-w-3xl">
<div className="mx-2 flex w-full bg-white sm:mx-4 gap-6">
<div className="min-w-[40px] items-end">
<img
style={{ width: '32px', height: '32px' }}
src={'./icons/icon-bot.svg'}
alt=""
/>
</div>
<span className="animate-pulse cursor-default mt-1"></span>
return (
<div
className="group bg-fontLight text-gray-800"
style={{overflowWrap: 'anywhere'}}
>
<div className="m-auto flex gap-4 p-4 text-base md:max-w-2xl md:gap-6 md:py-6 lg:max-w-5xl lg:px-0">
<div className="mx-2 flex w-full bg-fontLight sm:mx-4 gap-6">
<div className="min-w-[40px] items-end">
<img
style={{width: '32px', height: '32px', borderRadius: "50%"}}
src="https://www.gaianet.ai/icons/icon-bot.png"
alt="bot"
/>
</div>
<span className="animate-pulse cursor-default mt-1"></span>
</div>
</div>
</div>
</div>
</div>
);
);
};
Loading

0 comments on commit f6837c8

Please sign in to comment.