-
Notifications
You must be signed in to change notification settings - Fork 10
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
33 changed files
with
2,806 additions
and
3,338 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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,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> | ||
); | ||
); | ||
}; |
Oops, something went wrong.